vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Fake User vb36x (https://vborg.vbsupport.ru/showthread.php?t=139402)

SuperTaz 09-09-2007 04:44 AM

Installed. But can you make the hack also for CMPS 3.0RC1? It only shows the fake stats in the forum and not the CMPS page.

Nickbe 09-09-2007 07:11 AM

POSSIBLE SOLUTION UNTESTED!

If you use this hack along with the other fake suer hack available on this forum it could work.

The other hack allows you to select how many extra members are online so you select 20 extra members. The limitation of that hack is that if you want to display these members you need to enter random name and even though they show up when clicked it takes you to a blank page.

This hack allows you to sue current members so you can click on their names and reach their profiles but it does not add them to the users online: list.

Using the two together should work....

JohnBee 09-11-2007 01:27 AM

Quote:

Originally Posted by Nickbe (Post 1335252)
POSSIBLE SOLUTION UNTESTED!

If you use this hack along with the other fake suer hack available on this forum it could work.

The other hack allows you to select how many extra members are online so you select 20 extra members. The limitation of that hack is that if you want to display these members you need to enter random name and even though they show up when clicked it takes you to a blank page.

This hack allows you to sue current members so you can click on their names and reach their profiles but it does not add them to the users online: list.

Using the two together should work....

Sounds interesting. Couple of questions though, what is sue(fake suer) and what hack are you referring to when you say "this hack" along with ...

Alibass 09-11-2007 01:46 AM

Quote:

Originally Posted by Nickbe (Post 1335252)
POSSIBLE SOLUTION UNTESTED!

If you use this hack along with the other fake suer hack available on this forum it could work.

The other hack allows you to select how many extra members are online so you select 20 extra members. The limitation of that hack is that if you want to display these members you need to enter random name and even though they show up when clicked it takes you to a blank page.

This hack allows you to sue current members so you can click on their names and reach their profiles but it does not add them to the users online: list.

Using the two together should work....

I can confirm that I use both hacks on 3.6.8 and it works great. :)

bashy 09-11-2007 04:26 AM

sue was supposed to be use (i think, thats the way i read it) must be using the same keyboard as me:D

Quote:

Originally Posted by JohnBee (Post 1336672)
Sounds interesting. Couple of questions though, what is sue(fake suer) and what hack are you referring to when you say "this hack" along with ...


Nickbe 09-13-2007 04:58 AM

It was meant to say user and I can confirm now that it actually works!

apiasto 10-06-2007 07:10 PM

is it possible to add fake posts n threads to it, comes on handy after pruning the board

ShawneyJ 11-13-2007 09:11 AM

this hack just suddenly stopped working.

Vman 12-23-2007 12:24 AM

TO have it where your guest will always be a random number? Like I have it set to 137 right now, but it will be that all the time unless I go back into AdminCP and change it...

Random would be good.....

Now, the other question is... the members what it is using, everytime a person returns to the site, are those members still on or are they random?????

And again..if not, could or how would you make it so??????

Thanks. Love it so far....:up:

wolfe 01-16-2008 11:50 PM

problem the guests are not showing up on the whos online

and to get your members using there group colours do the following

in plugin FAKE USERS

Find:

PHP Code:

$loggedin[musername] = $loggedin[username]; 

and replace with

PHP Code:

$loggedin[musername] = fetch_musername($loggedin); 

:P

ZomgStuff 01-19-2008 01:02 PM

This is great, the only idea I have is to make the number change depending on the time of day, could I modify your code to do that?

TheInsaneManiac 02-03-2008 05:58 AM

Interesting this would explain how websites that are no where near popular get so many online every day...

ringleader 02-10-2008 04:17 AM

To get it working in CMPS I put the plugin code below into ./modules/online.php and it showed up. I did it like this because I have no idea how vbadvanced works, so just use it or don't.

Code:

if ($vbulletin->options['xfakeonoff']) {
$numbervisible2 = 0;
if ($vbulletin->options['xfakemn']>0)
{
$xsayi1 = $vbulletin->options['xfakemn'];
$forumusers = $db->query("SELECT * FROM " . TABLE_PREFIX . "user WHERE usergroupid = '2' ORDER BY RAND() LIMIT $xsayi1");
while ($loggedin = $db->fetch_array($forumusers))
{
$numbervisible2++;
$loggedin[musername] = fetch_musername($loggedin);
eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
}
}
$totalonline = $totalonline + $numbervisible2;
$numberguest = $numberguest + $vbulletin->options['xfakemv'];
$numberregistered = $numberregistered + $numbervisible2;
unset($forumusers, $loggedin, $numbervisible2, $xsayi1);
$db->free_result($forumusers);
}


ringleader 02-10-2008 07:28 PM

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.

haytham 02-12-2008 07:32 PM

Unfortuantely after installing I found 2 things. First the members I added don't show in the "who's online page" thus it's obvious they aren't in the forum. The second is that I have colored usergroups for all members and the added users come up with no colors..thus also a problem. I might install it if these issues can be fixed.

Alibass 02-12-2008 08:15 PM

Here is an example for putting 3 users up and put it in logged in user list box.

Code:

<a href="http://www.yourwebsite.com/forums/members/user1.html"><span style="color:red;"><b>user1</b></a></span>, <a href="http://www.yourwebsite.com/forums/members/user2.html"><span style="color:green;"><b>user2</b></a></span>, <a href="http://www.yourwebsite.com/forums/members/user3"><span style="color:orange;"><b>user3</b></a></span>

blkatt 02-21-2008 01:50 PM

Quote:

Originally Posted by ringleader (Post 1439817)
To get it working in CMPS I put the plugin code below into ./modules/online.php and it showed up. I did it like this because I have no idea how vbadvanced works, so just use it or don't.

Code:

if ($vbulletin->options['xfakeonoff']) {
$numbervisible2 = 0;
if ($vbulletin->options['xfakemn']>0)
{
$xsayi1 = $vbulletin->options['xfakemn'];
$forumusers = $db->query("SELECT * FROM " . TABLE_PREFIX . "user WHERE usergroupid = '2' ORDER BY RAND() LIMIT $xsayi1");
while ($loggedin = $db->fetch_array($forumusers))
{
$numbervisible2++;
$loggedin[musername] = fetch_musername($loggedin);
eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
}
}
$totalonline = $totalonline + $numbervisible2;
$numberguest = $numberguest + $vbulletin->options['xfakemv'];
$numberregistered = $numberregistered + $numbervisible2;
unset($forumusers, $loggedin, $numbervisible2, $xsayi1);
$db->free_result($forumusers);
}


./modules/online.php You meant onlineusers.php - right?

Does it matter where you place this code. I couldn't get it to work for CMPS. Works fine with the forum.

ringleader 02-22-2008 07:17 AM

Quote:

Originally Posted by blkatt (Post 1448125)
./modules/online.php You meant onlineusers.php - right?

Does it matter where you place this code. I couldn't get it to work for CMPS. Works fine with the forum.

I meant where your php files are stored that are used for CMPS templates to display.

Actually, the file changed between v2.2.x and v3.0 so I've no idea how it should work in 3.0
Technically you should just be able to paste that code I wrote above somewhere in the middle of the file (you'd need to know a little bit about the brackets in code to make sure you're placing it in a good place).

blkatt 04-30-2008 04:00 PM

Does this work with 3.7??

RYoBiOS 05-18-2008 09:17 AM

Quote:

Originally Posted by blkatt (Post 1503547)
Does this work with 3.7??

UP:up:

unicorn2433 07-09-2008 05:53 PM

Great this works with 3.7

But my question is why is 3.7 version of this in graveyard and not this version?

Merjawy 07-11-2008 11:06 AM

funny mode I like it.. I don't think I will be installing it but maybe for the laugh

what about picking users from the ban list? (I am sure we all have a ban list), this way noone will be seen online when they shouldn't be or find them selves online as they come on. or see last time on etc. etc.

Twisted Shifter 10-26-2008 08:52 PM

Quote:

Originally Posted by Merjawy (Post 1572708)
funny mode I like it.. I don't think I will be installing it but maybe for the laugh

what about picking users from the ban list? (I am sure we all have a ban list), this way noone will be seen online when they shouldn't be or find them selves online as they come on. or see last time on etc. etc.

The ban list idea will generate a flood of emails ....... "I thought "JoeCool" was banned, he was online today"

Arrogant-One 11-01-2008 01:52 AM

Quote:

Originally Posted by emilios (Post 1188753)
I think that the usergroup ID idea would be good as then you could create your own accounts and only have them show up and thus not having issues with De Ja Vu and people seeing themselves.

please please please add this :(

I agree, this is necessary. If my members start seeing themselves logged in when they are not they would think they're account was hacked or something and it would create more problems than it would solve.

Quote:

Originally Posted by JohnBee (Post 1194479)
It's very nice, I wish this hack could show usergroup colors though.

A few things I would also like to see is:

3. Enter a time(range) for username redistribution (ex: 5 - 45 Mins) for shuffle. (see no.2)
4. Make compatible with usergroup colors.

I agree, but the fake accounts don't show up in the ' Total members that have visited the forum today' legend, and when people click the Currently Active Users - the fake accounts don't show up. In other words, the jig is up.

Otherwise, great idea for a hack.

Arrogant-One 11-01-2008 01:55 AM

Quote:

Originally Posted by haytham (Post 1441708)
Unfortuantely after installing I found 2 things. First the members I added don't show in the "who's online page" thus it's obvious they aren't in the forum. The second is that I have colored usergroups for all members and the added users come up with no colors..thus also a problem. I might install it if these issues can be fixed.

Ha, missed your post but that's exactly what my 2 complaints with it were - but also I'd like to restrict its application to a certain specific usergroup as well.

MAD-DOG 03-13-2009 12:17 AM

Quote:

Originally Posted by Sychev_S (Post 1182390)
Will that work with vbAdvanced?

where is it???????????

rose123 08-03-2009 06:45 PM

I am using VB 3.8.3, It is working fine.
But only problem is if I set up
users online 10
guests 11
In real I have 1 user and 1 guest, it will show up
current active users 2 (11 users and 12 guest)
Thansk in advance for your time.

rose123 08-04-2009 07:06 PM

Please, I need your help.

Gersfan 10-22-2009 01:06 PM

Wrong Mod!

Tize. 12-13-2009 08:47 PM

Thank you very much.

aissa 08-24-2010 11:01 PM

merciiiii

webmastersitesi 10-08-2010 02:55 AM

Doet it work with 4.X?

0verl0rd 10-22-2010 11:41 AM

Quote:

Originally Posted by webmastersitesi (Post 2107963)
Doet it work with 4.X?

Same question.. :(

PokerVillain 01-30-2011 02:33 AM

I have it working on vB 3.8.4 @ the Modern Warfare 3 forum, but the users online lists now shows two commas (, ,) as opposed to one. How do I reduce this back down to one?

TheInsaneManiac 06-03-2013 02:06 AM

Can you please make for vB 4.2???

john7911 06-04-2014 07:33 PM

Quote:

Originally Posted by webmastersitesi (Post 2107963)
Doet it work with 4.X?

Same question.. :(


All times are GMT. The time now is 01:30 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01473 seconds
  • Memory Usage 1,829KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (2)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete