6.01 & 6.02: Rate option still appears for unreg. - 07/13/2002 9:10 PM
about line 303 in your showflat.php & showtraded.php there is a line
// Figure out what we need to display
put this:
right before "if (!$myrating) {"
and
close this with:
right before
$ratinghtml = "{$ubbt_lang['YOURATED']} $myrating.";
}
This will make the Rating option on showflat & showthreaded disappear if you are not login.
* Do that also for showprofile.php (about line 97)
// Figure out what we need to display
put this:
code:
if ($Username) {
right before "if (!$myrating) {"
and
close this with:
code:
}
right before
$ratinghtml = "{$ubbt_lang['YOURATED']} $myrating.";
}
This will make the Rating option on showflat & showthreaded disappear if you are not login.
* Do that also for showprofile.php (about line 97)