Sinisterly
Member List Sort by Reputation - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: General (https://sinister.li/Forum-General)
+--- Forum: Announcements (https://sinister.li/Forum-Announcements)
+---- Forum: Suggestions (https://sinister.li/Forum-Suggestions)
+----- Forum: Old Suggestions (https://sinister.li/Forum-Old-Suggestions)
+----- Thread: Member List Sort by Reputation (/Thread-Member-List-Sort-by-Reputation)

Pages: 1 2


Member List Sort by Reputation - BreShiE - 01-04-2014

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. Smile

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.

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>



RE: Member List Sort by Reputation - Eclipse - 01-05-2014

Hmm, seems like a neat idea! Nice suggestion.


RE: Member List Sort by Reputation - Cressi - 01-05-2014

Nice idea, now that you're on the list and all Wink


RE: Member List Sort by Reputation - BreShiE - 01-10-2014

No response from Oni? What a ponce, what a nonce. You thought he'd reply at least once.


RE: Member List Sort by Reputation - cr33pyguy - 01-10-2014

(01-10-2014, 12:08 PM)BreShiE Wrote: No response from Oni? What a ponce, what a nonce. You thought he'd reply at least once.

Don't worry, he will.

plus, I like the idea...


RE: Member List Sort by Reputation - Sirius - 01-10-2014

Nice sharing the tutorial, although this would've been kinda pointless.
Instead of members sort by reputation there are a toplist.


RE: Member List Sort by Reputation - Oni - 01-10-2014

Maybe I will add it tonight.


RE: Member List Sort by Reputation - BreShiE - 01-10-2014

(01-10-2014, 06:01 PM)Oni Wrote: Maybe I will add it tonight.

You should. It's a good feature. One few features I like on HF.


RE: Member List Sort by Reputation - Oni - 01-13-2014

Planning to add this a bit later.


RE: Member List Sort by Reputation - BreShiE - 01-13-2014

(01-13-2014, 04:07 PM)Oni Wrote: Planning to add this a bit later.

Please do. I want to see the outcome and who has what rep. Tongue