MyBB Community Forums

Full Version: Fake users online?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Okay so how do i fake users online?

I know there is a free plugin for this but it is not showing after installed in settings!

Can anyone help me?

This is the plugin that doesnt show up in ACP! Can anyone test it?
mods.mybb.com/view/fake-who-s-online

Thanks Smile
I didn't test it, but you probably didn't upload the files correctly. Within the Upload folder you should upload fakewhoisonline.php to ./inc/plugins/ and fakewhoisonline.lang.php to ./inc/languages/english/. Do that and re-install the plugin.
Still nothing.. Sad
Could you please test it?

Thanks!
Have you installed it ?

AdminCP > Configuration > and search for "Fake Who Is Online"
Yup still nothing.

I really need someone to test this thing! Sad
I just tried it and it's not working either. It's not running the install process for some reason.
Hmm...

Is there a free alternative to get fake users in the whos online box?
Uninstall the plugin.

Then Open plugin file and find;
function fakewhoisonline_is_installed(){
	global $db,$tb;	
	$query = $db->simple_select('settinggroups', '*', 'name="'.$tb.'"', 1);
	$r = $db->num_rows($query);
	if($r==1) return false;
	return true;		
}

Replace it with the following;
function fakewhoisonline_is_installed(){
	global $db;
	$query = $db->simple_select("settinggroups", "COUNT(*) as rows", "name='fakewhoisonline'");
	$rows = $db->fetch_field($query, "rows");
	if($rows > 0)
	{
		return TRUE;
	}
	
	return FALSE;
}

Re-install it again.
Thanks bro! Reps for Yaldaram and Fabio for helping Big Grin
Alright, I've added the fix to the reviews page aswell: http://mods.mybb.com/reviews/fake-who-s-online
Pages: 1 2