|
vS-IP - Sort by Vote Number/Score
This modification is in the archives.
This hack requires a working installation of Psionic Vision's Interactive Profiles Script, that can be found here:
http://www.vbulletin.org/forum/showthread.php?threadid=150028 Here is instructions on how to make your memberlist to be sorted by users with highest score/number of votes. You can see example here: http://www.tdotzone.com/forums/memberlist.php /////////////////////Here we go////////////////////////// Requires: - 1 file edit - 1 template edit /////////////////////////////////////////////////////////// Open your memberlist.php and FIND: PHP Code:
case 'username':
PHP Code:
case 'popular':
In template memberlist ADD (anywhere you wish I have it right after $navbar): HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt2" align="center"> <a rel="nofollow" href="$vboptions[bburl]/memberlist.php?sort=vote&order=desc">Top Members</a> | <a rel="nofollow" href="$vboptions[bburl]/memberlist.php?sort=popular&order=desc">Popular Members</a> </td> </tr> </table> <br/> Done. This adds a nice bar where your members can sort users by their rating/number of votes. Download No files for download. |
|||||||||