Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Leaf on November 30, 2005, 10:49:44 PM

Title: Member list by registration
Post by: Leaf on November 30, 2005, 10:49:44 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=227)

Written By: Xiaoqing Zhou (Leaf)
Contact Info: leaf88@gmail.com
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.
Title: Re: Member list by registration
Post by: Leaf on December 01, 2005, 10:21:04 AM
Sorry, this is the first time I submit mod and put wrong information there. :(
Changed as you suggested.
Title: Re: Member list by registration
Post by: jacksony on December 30, 2005, 02:51:45 PM
thank you for contributing so much to the smf! :)
Title: Re: Member list by registration
Post by: 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....
Title: Re: Member list by registration
Post by: 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.
Title: Re: Member list by registration
Post by: 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?
Title: Re: Member list by registration
Post by: 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';
Title: Re: Member list by registration
Post by: daygo140 on May 05, 2006, 05:27:55 PM
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...
Title: Re: Member list by registration
Post by: genois on July 22, 2006, 11:47:28 AM
sorry.. i dunno how to install this mod..
where should i put the files into?
Title: Re: Member list by registration
Post by: Leaf on August 27, 2006, 01:26:37 AM
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.
Title: Re: Member list by registration
Post by: Darcy on December 10, 2006, 05:28:22 PM
Anyone tested it on 1.1 Final ? I'm really curious as I think it's a great Mod
Title: Re: Member list by registration
Post by: Leaf on December 27, 2006, 01:15:34 AM
I tested it on smf 1.1 & 1.1.1. It works fine.