Welcome to Geeklog Thursday, January 27 2022 @ 12:59 pm EST

Geeklog Forums

In the forum "Rank Levels" do not show for users in forum


Status: offline

LeeG

Forum User
Junior
Registered: 26/03/07
Posts: 25
Location:Acton Maine
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
Lee Goldsmith Lee's Fishing Page Acton, Maine
 Quote

Status: offline

LeeG

Forum User
Junior
Registered: 26/03/07
Posts: 25
Location:Acton Maine
Here is the fix for this problem. Click Here
Lee Goldsmith Lee's Fishing Page Acton, Maine
 Quote

Newbie

Anonymous
nerdy
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?
 Quote

Status: offline

LeeG

Forum User
Junior
Registered: 26/03/07
Posts: 25
Location:Acton Maine
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
Lee Goldsmith Lee's Fishing Page Acton, Maine
 Quote

newbie

Anonymous

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?
 Quote

Status: offline

LeeG

Forum User
Junior
Registered: 26/03/07
Posts: 25
Location:Acton Maine
curious
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
Lee Goldsmith Lee's Fishing Page Acton, Maine
 Quote

newbie

Anonymous
confused
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'Wink;
$topictemplate->set_file (array ('topictemplate'=>'topic.thtml'Wink);
$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?
 Quote

All times are EST. The time is now 12:59 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content