prawn
01-21-2006, 10:00 PM
Counter in Memberlist
version 1.0
This little plug-in adds a new column to your memberlist showing which position the members have, no matter by what column the list is sorted. For example you want to see which position user XYZ has when sorting by renommee points, registration date and so on. Just take a look at the screenshots at the bottom. It's nothing really special, maybe I'll enhance that one later on.
Installation (1 plug-in, 2 template edits)
Go to your admin control panel ? plug-in system ? upload new plug-in and use the attached plug-in xml file.
Go to your style manager and fire up the memberlist template:
find:
<td class="thead" align="$stylevar[left]" nowrap="nowrap"><a href="$sorturl&order=ASC&sort=username&pp=$perpage$userg rouplink">$vbphrase[username]</a> $sortarrow[username]</td>
add above:
<td class="thead" align="$stylevar[center]">#</td>
Open up the memberlist_resultsbit template and do the following:
find:
<tr align="center">
add under:
<td class="alt1Active" align="$stylevar[center]">$mcounter</td>
You're done. :)
Demo:
http://www.kornworld.de/board/?langid=13 (around 2500 members)
Feel free to post new ideas etc. to this hack. My first one here. :)
Greets
Jake
version 1.0
This little plug-in adds a new column to your memberlist showing which position the members have, no matter by what column the list is sorted. For example you want to see which position user XYZ has when sorting by renommee points, registration date and so on. Just take a look at the screenshots at the bottom. It's nothing really special, maybe I'll enhance that one later on.
Installation (1 plug-in, 2 template edits)
Go to your admin control panel ? plug-in system ? upload new plug-in and use the attached plug-in xml file.
Go to your style manager and fire up the memberlist template:
find:
<td class="thead" align="$stylevar[left]" nowrap="nowrap"><a href="$sorturl&order=ASC&sort=username&pp=$perpage$userg rouplink">$vbphrase[username]</a> $sortarrow[username]</td>
add above:
<td class="thead" align="$stylevar[center]">#</td>
Open up the memberlist_resultsbit template and do the following:
find:
<tr align="center">
add under:
<td class="alt1Active" align="$stylevar[center]">$mcounter</td>
You're done. :)
Demo:
http://www.kornworld.de/board/?langid=13 (around 2500 members)
Feel free to post new ideas etc. to this hack. My first one here. :)
Greets
Jake