Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 11:01 am EST
Geeklog Forums
In the forum "Rank Levels" do not show for users in forum
Status: offline
LeeG
Forum User
Junior
Registered: 03/26/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
Thanks for the help
Lee
Lee Goldsmith
Lee's Fishing Page
Acton, Maine
27
11
Quote
Newbie
Anonymous
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?
11
10
Quote
Status: offline
LeeG
Forum User
Junior
Registered: 03/26/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
Lee
Lee Goldsmith
Lee's Fishing Page
Acton, Maine
10
10
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?
10
11
Quote
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
13
11
Quote
newbie
Anonymous
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?
$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?
12
12
Quote
All times are EST. The time is now 11:01 am.
- 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