Oh, and if you want a random number of users online and guests online, just modify the code to pick a random number of online and guests from the number you specify in the vbulletin options
To randomise the number of online members to show between zero and the number you input in the vbulletin options -> Fake Users
Go to AdminCP -> Plugin Manager -> Fake Users (forumhome_complete) -> Edit
For number of online members:
FIND
Code:
$xsayi1 = $vbulletin->options['xfakemn'];
REPLACE WITH
Code:
$xsayi1 = rand(0, $vbulletin->options['xfakemn']);
For number of online guests:
FIND
Code:
$numberguest = $numberguest + $vbulletin->options['xfakemv'];
REPLACE WITH
Code:
$numberguest = $numberguest + rand(0, $vbulletin->options['xfakemv']);
Remember to choose a range of numbers that will look realistic.
A random number of users between 30 and 40 is more realistic than two members online one minute and a full hundred the next
Thanks for this mod, btw!
My site is just starting off, and it's the best way for it not to look dead all the time.