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

daniel.hunt’s picture

Assigned: Unassigned » daniel.hunt

This 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!

frerin’s picture

The 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') );
}
}

daniel.hunt’s picture

Status: Active » Fixed

This was implemented a long time ago :)

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.