Posted on: 03/27/07 03:07pm
By: LeeG
I just installed the latest and greatest forum 2.6 and it installed correctly. But the Rank levels do not show for users in the forum. Is there a setting I am missing or what??
Thanks for the help
Lee
Re: In the forum "Rank Levels" do not show for users in forum
Posted on: 03/28/07 09:45am
By: LeeG
Re: In the forum "Rank Levels" do not show for users in forum
Posted on: 03/28/07 10:38am
By: Anonymous (Newbie)
Im using forum version 2.6 rc4 and i cant get the rank levels to show either. Ive got them set in the forum but no rank name or anything shows below the user names when they post. After reviewing the fix mentioned below and changing the code ( its a different line in 2.6 117 i think) I still dont get forum ranks for users any ideas?
Re: In the forum "Rank Levels" do not show for users in forum
Posted on: 03/28/07 12:39pm
By: LeeG
System Admin :doh: here needs to make this change as well. My posts don't show a rank. Go to the link I have in second post and see where to fix this.
Lee
Re: In the forum "Rank Levels" do not show for users in forum
Posted on: 03/28/07 02:36pm
By: Anonymous (newbie)
I changed the file like the second link said my code change was actually at line 116 but still i dont get any ranking on users below 10 posts. Also i notice even those with over 10 posts dont have the rank name below thier avatars. Any other ideas?
Re: In the forum "Rank Levels" do not show for users in forum
Posted on: 03/28/07 03:03pm
By: LeeG
Quote by: newbie
I changed the file like the second link said my code change was actually at line 116 but still i dont get any ranking on users below 10 posts. Also i notice even those with over 10 posts dont have the rank name below thier avatars. Any other ideas?
Are you sure you made the correction in the correct spot. You need to change the 1 to a 2 and thats it.
Lee
Re: In the forum "Rank Levels" do not show for users in forum
Posted on: 03/28/07 03:21pm
By: Anonymous (newbie)
Heres the file reads starting with line 98
$posts = DB_numRows($postcount);
$showtopic['subject'] = stripslashes($showtopic['subject']);
$showtopic['comment'] = stripslashes($showtopic['comment']);
$topictemplate = new Template($_CONF['path_layout'] . 'forum/layout'
;
$topictemplate->set_file (array ('topictemplate'=>'topic.thtml'
);
$avatar_begin = "<!--";
$avatar_end = "-->";
if($showtopic['uid'] > 1) {
if ( DB_count($_TABLES['users'],"uid",$showtopic['uid']) > 0 ) {
$uservalid = true;
$userlink = '<A HREF="' .$_CONF['site_url']. '/users.php?mode=profile&uid=' .$showtopic['uid']. '" class="authorname' .$onetwo. '"><b>' .$showtopic['name']. '</b></A>';
} else {
$uservalid = false;
$userlink = '<b>' .$showtopic['name']. '</b>';
}
// STARS CODE
if ($posts < $level2) {
the last line is the closest i had to what you mention in the link, and ive made no code changes elsewhere in the file, am i missing something?