Member List Sort by Reputation 01-04-2014, 11:48 PM
#1
This is one feature I've always used and liked, and would like to see on this forum. It's very useful to see who has what reputations. 
Here's a tut I found on MyBB Community by Labrocca on how to do it:

Here's a tut I found on MyBB Community by Labrocca on how to do it:
Spoiler:
Open inc/languages/english/memberlist.lang.php
Add this code somewhere in the middle. Doesn't matter where really.
Now for template edits.
Edit "memberlist" template.
Find
Change to
Find
Afterwards Add
Find
Afterwards Add
Edit "memberlist_user" template
Find
Afterwards add
Add this code somewhere in the middle. Doesn't matter where really.
Code:
$l['sort_by_reputation'] = "Sort by: Reputation";
$l['reputation'] = "Reputation";Now for template edits.
Edit "memberlist" template.
Find
Code:
colspan="5"Change to
Code:
colspan="6"Find
Code:
<option value="postnum"{$sort_selected['postnum']}>{$lang->sort_by_posts}</option>Afterwards Add
Code:
<option value="reputation"{$sort_selected['reputation']}>{$lang->sort_by_reputation}</option>Find
Code:
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->lastvisit}</strong></span></td>Afterwards Add
Code:
<td class="tcat" width="10%" align="center"><span class="smalltext"><strong>{$lang->reputation}</strong></span></td>Edit "memberlist_user" template
Find
Code:
<td class="{$alt_bg}" align="center">{$user['lastvisit']}</td>Afterwards add
Code:
<td class="{$alt_bg}" align="center">{$user['reputation']}</td>














![[Image: F4Z9Dqw.png]](https://i.imgur.com/F4Z9Dqw.png)
![[+]](https://sinister.li/images/modern/collapse_collapsed.png)









![[Image: R5aCcWV.png]](http://i.imgur.com/R5aCcWV.png)




![[Image: TeusoI9.png]](http://i.imgur.com/TeusoI9.png)








![[Image: 7ajmN5P.jpg]](https://i.imgur.com/7ajmN5P.jpg)