News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Member list by registration

Started by Leaf, November 30, 2005, 10:49:44 PM

Previous topic - Next topic

Leaf

Link to Mod

Written By: Xiaoqing Zhou (Leaf)
Contact Info: [email protected]
SMF Board: http://www.anetcity.com/bbs/index.php?board=125.0

This mod changes the default sort field of member list to registration date.

Leaf

Sorry, this is the first time I submit mod and put wrong information there. :(
Changed as you suggested.

jacksony

thank you for contributing so much to the smf! :)

daygo140

Nice Mod...

But it sorts the newest member at the top.  How can you make it list the oldest members first?

Also I noticed with or without the mod, when you click A,B,C,D,E,F, etc it doesn't do anything at all....

winrules

Quote from: daygo140 on May 05, 2006, 03:32:48 PM
Nice Mod...

But it sorts the newest member at the top.  How can you make it list the oldest members first?

Also I noticed with or without the mod, when you click A,B,C,D,E,F, etc it doesn't do anything at all....
If you have enough members it will start with members whose names begin with the certain letter. But if you don't have enough members to fill up more than one page it won't matter.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


daygo140

Quote from: winrules on May 05, 2006, 05:01:45 PM
Quote from: daygo140 on May 05, 2006, 03:32:48 PM
Nice Mod...

But it sorts the newest member at the top.  How can you make it list the oldest members first?

Also I noticed with or without the mod, when you click A,B,C,D,E,F, etc it doesn't do anything at all....
If you have enough members it will start with members whose names begin with the certain letter. But if you don't have enough members to fill up more than one page it won't matter.

Ok cool...

Any word on making the mod have the oldest members at the top instead of the bottom?

winrules

Quote from: daygo140 on May 05, 2006, 05:08:22 PM
Quote from: winrules on May 05, 2006, 05:01:45 PM
Quote from: daygo140 on May 05, 2006, 03:32:48 PM
Nice Mod...

But it sorts the newest member at the top.  How can you make it list the oldest members first?

Also I noticed with or without the mod, when you click A,B,C,D,E,F, etc it doesn't do anything at all....
If you have enough members it will start with members whose names begin with the certain letter. But if you don't have enough members to fill up more than one page it won't matter.

Ok cool...

Any word on making the mod have the oldest members at the top instead of the bottom?
In Memberlist.php, find:

$context['sort_direction'] = !isset($_REQUEST['desc']) ? 'up' : 'down';

and replace with:

$context['sort_direction'] = !isset($_REQUEST['desc']) ? 'down' : 'up';


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


daygo140

Quote from: winrules on May 05, 2006, 05:11:57 PM
Quote from: daygo140 on May 05, 2006, 05:08:22 PM
Quote from: winrules on May 05, 2006, 05:01:45 PM
Quote from: daygo140 on May 05, 2006, 03:32:48 PM
Nice Mod...

But it sorts the newest member at the top.  How can you make it list the oldest members first?

Also I noticed with or without the mod, when you click A,B,C,D,E,F, etc it doesn't do anything at all....
If you have enough members it will start with members whose names begin with the certain letter. But if you don't have enough members to fill up more than one page it won't matter.

Ok cool...

Any word on making the mod have the oldest members at the top instead of the bottom?
In Memberlist.php, find:

$context['sort_direction'] = !isset($_REQUEST['desc']) ? 'up' : 'down';

and replace with:

$context['sort_direction'] = !isset($_REQUEST['desc']) ? 'down' : 'up';


YOU DAH MAN!!! WORKS NICE>>>>

I don't get why that isn't the default sort...

genois

sorry.. i dunno how to install this mod..
where should i put the files into?

Leaf

Quote from: genois on July 22, 2006, 11:47:28 AM
sorry.. i dunno how to install this mod..
where should i put the files into?
Upload the files to Packages folder and then use the Package Manager in Admin Panel to install it.

Darcy

Anyone tested it on 1.1 Final ? I'm really curious as I think it's a great Mod
My avatar has copyright © Maija

Leaf

I tested it on smf 1.1 & 1.1.1. It works fine.

Advertisement: