PDA

View Full Version : "Display logged in users on home page" options


robcg
07-10-2002, 09:05 PM
is there a way to turn this feature to "no" but only the have the administrator see it?

i am getting a lot of visitors to my site but hardly anyone is registering and posting. if they scroll to the bottom of the page and they see that only 1 or 2 other people are at the web site at that moment, i'm thinking it doesn't look good and maybe deters them from registering and posting. however, i would like to be able to see how many people are at the site.

any suggestions?

robcg

Logician
07-10-2002, 09:42 PM
edit index.php, find:


if ($displayloggedin) {


Replace it as:

if ($displayloggedin AND $bbuserinfo[usergroupid]==6) {


Enjoy. :)

robcg
07-10-2002, 11:45 PM
couldn't get this to work.

you are talking about index.php at root level, right?

robcg

Logician
07-11-2002, 06:04 AM
yes it is yourboard/index.php..

Dont forget to enable the setting after modification (ie turn it on in Admin CP)