Closed (fixed)
Project:
UIE Forum
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Sep 2007 at 16:30 UTC
Updated:
27 Feb 2008 at 17:21 UTC
It would be very nice to be able to change the amount of postings for ranks. E.g. third rank not 500 posts, but only 150 necessary to move a user into the third rank.
Regards
Comments
Comment #1
daniel.hunt commentedThis has been brought up before, but I can't think of an easy-to-use admin interface for it. If you have any suggestions, I'm all ears!
Comment #2
frerin commentedThe easiest way of doing it is changing the code itself and enter the preferred amount of posts.
The information can be found in file: functions.inc.php
function uieforum_user_rank($posts = NULL)
{
global $user;
if ($posts == NULL || !isset($user->uid)) { return NULL; }
switch ($posts) {
case $posts <= 10: return t( variable_get('forum_rank_first', 'n00b') );
case $posts <= 100: return t( variable_get('forum_rank_second', 'Killing Spree') );
case $posts <= 500: return t( variable_get('forum_rank_third', 'Rampage') );
case $posts <= 1000: return t( variable_get('forum_rank_fourth', 'Dominating') );
case $posts <= 4000: return t( variable_get('forum_rank_fifth', 'Unstoppable') );
case $posts <= 5000: return t( variable_get('forum_rank_sixth', 'Godlike') );
case $posts < 7000: return t( variable_get('forum_rank_seventh', 'Wicked Sick') );
case $posts >= 7000: return t( variable_get('forum_rank_eighth', 'Oh Emm Gee') );
}
}
Comment #3
daniel.hunt commentedThis was implemented a long time ago :)
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.