PDA

View Full Version : Memberlist Sort order keep search properties


mtha
07-10-2004, 10:00 PM
This bug (mod) was marked fixed in vBulletin.com bug list.
http://www.vbulletin.com/forum/bugs.php?do=view&bugid=3163

If you have version later than 3.0.3, you dont need to install this one.

When you use Member Seach or Advanced Members Search, with some criteria, you will get a result members list.

If you want to resort the list, the new result will discard all searching criteria.

This fix is to re-order the list only within resulted search



in memberlist.php

search for:
$sorturl = "memberlist.php?$session[sessionurl]$usergrouplink";

replace by

$sorturl = "memberlist.php?$session[sessionurl]" . "postslower=$postslower&postsupper=$postsupper&ause rname=" . urlencode($ausername) . "&homepage=" . urlencode($homepage) . "&icq=" . urlencode($icq) . "&aim=" . urlencode($aim) . "&yahoo=" . urlencode($yahoo) . "&msn=" . urlencode($msn) . "&joindateafter=" . urlencode($joindateafter) . "&joindatebefore=" . urlencode($joindatebefore) . "&lastpostafter=" . urlencode($lastpostafter) . "&lastpostbefore=" . urlencode($lastpostbefore) . iif($usergroupid, "&usergroupid=$usergroupid") . iif(isset($urladd), $urladd);

Merjawy
07-11-2004, 11:09 AM
nice ... specialy for someone lazy like me :)

thnx

nexialys
07-11-2004, 12:16 PM
this looks like a debug, would be good to provide this correction to vBulletin.com ...

Boofo
07-11-2004, 02:31 PM
this looks like a debug, would be good to provide this correction to vBulletin.com ...
He already did in the bug report. ;)

mtha
07-12-2004, 04:26 AM
just think that it'd be helpful for alot of people, so I post the fix AND report to vBulletin.com

It'd be long till next release (if fixed) :D

Natch
07-12-2004, 04:37 AM
Nice job!