Arranging Member list by "posts" by default?

This forum is now closed as part of retiring phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
trevelyn1015
Registered User
Posts: 22
Joined: Sun May 23, 2004 11:12 pm

Arranging Member list by "posts" by default?

Post by trevelyn1015 » Tue Jun 01, 2004 12:58 am

Arranging Member list by "posts" by default?

i have searched and can't find anything about this...

any help is greatly appreciated.

my forum is the bbtech style and the newest phpbb.

-christian

trevelyn1015
Registered User
Posts: 22
Joined: Sun May 23, 2004 11:12 pm

Post by trevelyn1015 » Tue Jun 01, 2004 3:21 am

bump^

i just want it to be arranged by posts instead of date joined...

User avatar
warmweer
Registered User
Posts: 2346
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Post by warmweer » Tue Jun 01, 2004 4:27 pm

trevelyn1015 wrote: i just want it to be arranged by posts instead of date joined...


Have a look at memberlist.php
find

Code: Select all

if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
{
	$mode = ( isset($HTTP_POST_VARS['mode']) ) ? htmlspecialchars($HTTP_POST_VARS['mode']) : htmlspecialchars($HTTP_GET_VARS['mode']); 
}
else
{
	$mode = 'joined';
}
and change 'joined' into whatever you want sorting option you want.
My board's not broken, it just went peculiar

trevelyn1015
Registered User
Posts: 22
Joined: Sun May 23, 2004 11:12 pm

Post by trevelyn1015 » Tue Jun 01, 2004 6:08 pm

ok.. i changed "joined" to "posts" but now i need it in descending order...

how do i do that?


edit: nevermind. i found the ASC and DESC parts...

btw, this is my first site, and that was the first thing i have ever done with code.. :)

User avatar
warmweer
Registered User
Posts: 2346
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Post by warmweer » Tue Jun 01, 2004 6:46 pm

trevelyn1015 wrote: btw, this is my first site, and that was the first thing i have ever done with code.. :)

and now that you've acquired the taste ... who knows... you might be a future mod author ;)
My board's not broken, it just went peculiar

trevelyn1015
Registered User
Posts: 22
Joined: Sun May 23, 2004 11:12 pm

Post by trevelyn1015 » Tue Jun 01, 2004 8:42 pm

hahaha

yeah right...

:)

thanks alot, though...

Post Reply

Return to “[2.0.x] MOD Requests”