Quote:
Originally posted by Webmasta XT
there is a bug in urs.. I had 3 Active users, and those were my 3 members and it showed a Guest in the online.. even after my 3 members that were online!
|
you had zero guests but the list showed one? that means
' ' is less than 0 ??? try changing
$guestcount = ' '; to
$guestcount = 0; ... unless 0 is less than 0 in php
please let me know if that works. i will test it as soon as i get a chance. if it doesn't work i can fix it by adding an if statement to check for
$numberguest==0, but that's just more code to process.
Quote:
Originally posted by xware
The click 'Guest' should be linked to the register page.
|
the links for 'Guest' are the same as on the online.php page. i did this on purpose. you can change this by creating a new template called
forumhome_loggedinguest with the same contents as
forumhome_loggedinuser except you change the link to go to the register page. then in your index.php file...
change:
eval("\$activeguests .= \", ".gettemplate('forumhome_loggedinuser')."\";") ;
to:
eval("\$activeguests .= \", ".gettemplate('forumhome_loggedinguest')."\";" );
that should work