MyBB Hacks

Full Version: Memberlist mod
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
zinga- I'm wondering if you could write something so that the mybb memberlist can be sorted like vbulletin.

basically, I like being able to click on username, posts, reputation, etc. and being able to sort it by most posts, least posts, etc....can you whip up some code to do this?

here's a vbulletin board so you can check 1 out:
http://forum.pafoa.org/memberlist.html
You mean by first letter of username?
Pretty sure MyBB 1.6 will do that for you.
(04-17-2010 09:50 AM)ZiNgA BuRgA Wrote: [ -> ]You mean by first letter of username?
Pretty sure MyBB 1.6 will do that for you.

well..it does that and it also filters by say.....most posts/least posts...most reputation/least reputation, first joined/most recently joined, etc..
(04-17-2010 09:53 AM)Shemo Wrote: [ -> ]well..it does that and it also filters by say.....most posts/least posts...most reputation/least reputation, first joined/most recently joined, etc..
Sorting will have mostly a similar effect I think.
But I personally think the memberlist offers enough sorting capabilities, so I probably won't be doing this.  Sorry.
=(  ok..I just like to be able to click the titles and sort it.
(04-17-2010 09:56 AM)Shemo Wrote: [ -> ]=(  ok..I just like to be able to click the titles and sort it.

I think you can use sorting url like this in your memberlist template:

(Example sorting url for most posts)

HTML Code
<a href="memberlist.php?sort=postnum&amp;order=desc&amp;perpage={$mybb->input['perpage']}">{$lang->posts}</a>

(04-19-2010 07:20 AM)Rateu Wrote: [ -> ]
(04-17-2010 09:56 AM)Shemo Wrote: [ -> ]=(  ok..I just like to be able to click the titles and sort it.

I think you can use sorting url like this in your memberlist template:

(Example sorting url for most posts)

HTML Code
<a href="memberlist.php?sort=postnum&amp;order=desc&amp;perpage={$mybb->input['perpage']}">{$lang->posts}</a>


mind explaining what exactly I need to change in the memberlist template?  I'm no mybb guru.  =(
Edit the memberlist template, find {$lang->posts} and replace with the above.
(05-05-2010 04:52 PM)ZiNgA BuRgA Wrote: [ -> ]Edit the memberlist template, find {$lang->posts} and replace with the above.

thank you..now how would I make it so you reset it back?
Huh?
Pages: 1 2
Reference URL's