connorconway
|
Top 10 pointers.....Is there a way to make a portal just like the top 10 posters but instead i would like it to be called top 10 pointers... and could it be possible for that to go by the field could "points" which i made instead of "posts"
Thanks
|
admin(Nick_NR)
|
Seems to be possible from a view point, next comes the coding, which I'm sure will be the harder task, will have a bash at it tho.
|
connorconway
|
cool! Thank you Nick. Just take as long as you want and i'll keep an eye on this topic
Thanks
|
admin(Nick_NR)
|
Right, looking like it will work for individual users, just gonna test the water on all members.
|
Danaldinho
|
Its showing me on all 10 lists of the users with 325 points
|
admin(Nick_NR)
|
I know, it looks like there's no way to filter the users in order, so unfortunately this will only be useful for pointing out how many points the logged in user has.
|
connorconway
|
wait a second i'm confused, lol. Where are you'll lookinG? I don't even see any code posted for this
|
admin(Nick_NR)
|
Was in testing with the memberlist to see if it would work there, but no luck, it will only show a single user their points.
Created a profile field called POINTS, with the following settings:
Then created a new portal with the following settings:
Then just open the cms_points.tpl file delete all that's currently in there and put this in it's place:
| Code: | <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!-- BEGIN switch_points_title -->
<tr>
<th colspan="2" class="thTop" nowrap="nowrap">{POINTS_TITLE}</th>
</tr>
<!-- END switch_points_title -->
<!-- BEGIN points -->
<tr>
<td class="row2"><span class="topictitle"><a href="{U_VIEWPROFILE}" class="gen">{USERNAME}</a></span></td>
<td class="row2"><span class="topictitle">{POINTS}</a></span></td>
</tr>
<!-- END points -->
</table> |
|
admin(Nick_NR)
|
Unfortunately this is something that can only run the way you request if admin were to code a points system, it would also have to feature on the memberlist with a sort function.
|
connorconway
|
oh well then Thank you nonetheless
Hopefully Admin will make a points thingy soon enough
|
admin(Nick_NR)
|
well, the blog system is currently being worked on along with the on going tweaks to the servers for a better speed, so this may well be done the list.
|
|
|