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 - Who's Online faker: (https://vborg.vbsupport.ru/showthread.php?t=145428)

PcFreak 04-20-2007 10:00 PM

Who's Online faker:
 
Who's Online faker:

Who's Online faker shows viewers of the Who's online list user-pre-defined locations for pre-defined users. You can give your fantasy full scope for this locations.
  • No real location will be shown for the pre-defined user(s).
  • The Who's online list will no longer display e.g. that you're writing a PM, instead of that it will be displayed that you're phoning with Mr. G. W. Bush.
  • Whatever your real location is, no user can see your real location onto Who's online list.
  • Be creative.
  • This mod will surely be a pleasure for you.


Installation.

* Before you import the product, open file who_is_online_fake.txt in Notepad or any other text editor.
* Expand the containing text with your own ideas. Use a new line for every new text.
* When you have finished, upload who_is_online_fake.txt onto your webspace (root of your forum).
* The text file can be edited at every time. Even HTML code can be used.


Open file product_who_is_online_faker.xml and search for entry:
PHP Code:

case 'PcFreak'

Change this to:
PHP Code:

case 'your_username'

Save the file and import as product.


That's all.

Have fun with this small but usefull mod.
Be happy with reactions of your users ;)

Best regards
PcFreak

PS: New Version online.

akulion 04-21-2007 03:50 PM

lol looks likea cool mod

:D thanks

1st install

wengi 04-21-2007 04:00 PM

LoL nice mod ... installed :D

jagari 04-21-2007 05:00 PM

Currently Active Users Viewing This Thread: 11 (10 members and 1 guests)
jagari, alqloob alsahya, Sychev_S, vBB-vietnam, Lili-Cat, Pathor, subzero06, puertoblack2003, Jupp, zappsan

Haha.

Anyway, well done, nice mod.

BANDiT600 04-21-2007 05:02 PM

F**k, I mean FAKE!!! Nice!!! :D

[high]* BANDiT600 installed...[/high]

jagari 04-21-2007 05:06 PM

this is confusing..

BANDiT600 04-21-2007 05:22 PM

Why it nice mod?? Fisrt it's a joke, second - users can't see where you are right now!

projectego 04-21-2007 06:15 PM

Nice idea, PcFreak. ;)

harmor19 04-21-2007 06:23 PM

I like to see this improved.

Maybe in the the next release you can use the array method.
PHP Code:

$locations = array("What's your name?" => 1426"count to 1000" => 3576); 

The array key is the thread's title and the other is the thread ID.
With this you can create a link <a href="mysite.com/forum/showthread.php?t=1426">What's your name?</a>

iogames 04-21-2007 06:28 PM

Hehe... just one user or multiple?

Hellraider 04-21-2007 07:35 PM

You can use this for all the users you like.

Just create a new online_bit_complete plugin for every user. Plugins must have unique names.

The code is still the same:

Code:

// check to make sure VB_AREA is defined
if (defined('VB_AREA'))
    {
    $onlinefake = file ('who_is_online_fake.txt'); 
    switch($userinfo['username'])
    {
        case 'USER_A':
            srand ((float)microtime()*1000000);
            shuffle ($onlinefake);
            $userinfo['action'] = $onlinefake[0];       
            $userinfo['where'] = '';
            break; 
                 
    }
}


$onlinefake is the variable to the mentioned txt-file. You can also use different txt-files.

johnrizz 04-22-2007 01:01 AM

haha! nice

rjmjr69 04-22-2007 02:59 AM

HAHAHAHAHAHA this is awesome. Would not use it myself due to I wouldnt know where people really are.....lol But I love the idea. Great work

HAHAHAHA I'm a loser it only apply's to ONE person.... Sorry

AzH 04-22-2007 06:38 AM

IS it possible to do this to affect all people, or a list of usernames for example? Like all staff or whatever?

Hellraider 04-22-2007 08:41 AM

Quote:

Originally Posted by AzH (Post 1233183)
IS it possible to do this to affect all people, or a list of usernames for example? Like all staff or whatever?

Please refer to post #11.

PinkDaisy 04-22-2007 10:58 AM

Hahahah.. LOVE it! I've actually wanted this for a LONG time!! Thanks.. :D

Will there be an option for users to set this themselves (like mods and up) maybe as an option in their user CP stuff??

Thanks!! *clicks install*

Hellraider 04-22-2007 11:27 AM

Quote:

Originally Posted by PinkDaisy (Post 1233287)
Hahahah.. LOVE it! I've actually wanted this for a LONG time!! Thanks.. :D

Will there be an option for users to set this themselves (like mods and up) maybe as an option in their user CP stuff??

Thanks!! *clicks install*

I don't think so, but time will tell :)

deezelpope 04-22-2007 11:43 AM

I agree w/ PinkDaisy...it'd be sweet if we could control it more...https://vborg.vbsupport.ru/external/2007/04/2.gif

Rickie3 04-22-2007 12:10 PM

love it thanx works well on 3.5 *installed*

Spookysalem 04-27-2007 08:34 AM

Quote:

Originally Posted by Hellraider (Post 1232853)
You can use this for all the users you like.

Just create a new online_bit_complete plugin for every user. Plugins must have unique names.

The code is still the same:

Code:

// check to make sure VB_AREA is defined
if (defined('VB_AREA'))
    {
    $onlinefake = file ('who_is_online_fake.txt'); 
    switch($userinfo['username'])
    {
        case 'USER_A':
            srand ((float)microtime()*1000000);
            shuffle ($onlinefake);
            $userinfo['action'] = $onlinefake[0];       
            $userinfo['where'] = '';
            break; 
                 
    }
}


$onlinefake is the variable to the mentioned txt-file. You can also use different txt-files.

Hi just a quick question do you just add this bit of code to the original file..??

I am going to install this for sure been waiting for some thing like this for ever..:D

Hellraider 04-27-2007 03:36 PM

Please refer to post #11:


Example for a second user:

ACP = Plugin Manager => Add plugin

* Product: Who is online Faker
* (Hook) = online_bit_complete
* Titel = e.g. Onlinefake user X
* Execution oder = 5
* PHP-Code for plugins =

Code:

// who_is_online_fake_xyz.txt is the .txt file
// that is used for this user
// USER_XYZ is the name of this user
if (defined('VB_AREA')) {
$onlinefake = file ('who_is_online_fake_xyz.txt'); 
switch($userinfo['username']) {
case 'USER_XYZ':
srand ((float)microtime()*1000000);
shuffle ($onlinefake);
$userinfo['action'] = $onlinefake[0]; 
$userinfo['where'] = '';
break;   
}}

That can be done for as many users you want.

Brew 04-29-2007 11:32 PM

I love this little ditty! Great mod dude!

I'm having a ball with this thing.

Here's just a few of the nice little sayings I'm using at politicalforums.net.

Most of the words actually mean something too :)

------------------------------------------------------------------
Working on web site discomfubilator settings.
Fumbling within the database.
Working on web site transmortation whistletips.
Programming <YOURWEBSITE> grandeosisms.
Transmorgraphying radiodescenceisms within the web site.
Reprogramming <YOURWEBSITE> fuel injection systems.
Searching for all references to Bush cause he needs to pee.
Wondering why Clinton is not spelled with a K.
Wondering why Republicans and Democrats don't admit they're one and the same.
Transmorgraphying diallamous syntaxtickers within the Admin interface.
Discomboobulating SQL database against foreign transmissions from aliens.
Wondering why we still aren't flying our cars.
Working on a new system to circumvent historical anachronisms through plain english.
In the Admin interface wondering what the heck to do now.
Thinking in grandiloquent terms till going into an abderian fit.
Extending his dactylion digit to the world.
In the Admin Control Panel admiring <YOURWEBSITE>'s daedalian design.
Deciding whether to take his meds for decidophobia.
Contemplating using defenestrating techniques on his computer.
Wondering why demitoilet has nothing to do with using the commode.
Wondering if a Republican can get dextrophobia.
Rearranging the diplasiasmus to prevent rectalgia.
Contemplating resistentialism.
Contemplating which is worse - aichmorhabdophobia or alopeciaphobia.
Creating amphigorical anachronisms to ensure he stays an anonymuncle.
Contemplating why computer screens are anopisthographic.
His keyboard has started astereognosis in his psyche causing borborygmus through xertzing.
Realizing that "rhadamanthine judicial system" would be an oxymoron.
------------------------------------------------------------------

Of course you'll need to change the <YOURWEBSITE> parts with the name of your web site.

Enjoy!

If you want more let me know. I'll come up with something.

PennylessZ28 04-30-2007 08:58 PM

This is fun, I have created some interesting ones and already got some people going, WTF.

Hellraider 04-30-2007 09:52 PM

You're welcome :D :D :D

yeku 05-01-2007 11:15 AM

Then I make the modification in xml, upload with the ACP xml.

Later I want to see in http://www.miforo.com/online.php, and it does not work, white screen

Some solution?

Thanks

Hellraider 05-01-2007 04:38 PM

What vB version are you running? I can't reach your URL at the moment (server could not be found)

Please try to download and install the mod without any changes and check if there are any problems.

If there are no problems: You made a mistake whilst changing the xml, if there are still problems: Please report.

yeku 05-06-2007 04:42 PM

Thanks, already installed and functioning perfectly.

Greetings

putergirl 05-06-2007 11:40 PM

Thank you, it works like a charm.. having lots of fun!

putergirl 05-07-2007 12:56 AM

Quote:

Originally Posted by Hellraider (Post 1236493)

Code:

// who_is_online_fake_xyz.txt is the .txt file
// that is used for this user
// USER_XYZ is the name of this user
if (defined('VB_AREA')) {
$onlinefake = file ('who_is_online_fake_xyz.txt'); 
switch($userinfo['username']) {
case 'USER_XYZ':
srand ((float)microtime()*1000000);
shuffle ($onlinefake);
$userinfo['action'] = $onlinefake[0]; 
$userinfo['where'] = '';
break;   
}}

That can be done for as many users you want.

Hi there, do I only change the name that is in red?

4x4 Mecca 05-07-2007 01:44 AM

yes

sinaluna 05-18-2007 12:19 AM

Quote:

Originally Posted by Brew (Post 1237901)
I love this little ditty! Great mod dude!

I'm having a ball with this thing.

Here's just a few of the nice little sayings I'm using at politicalforums.net.

Most of the words actually mean something too :)

------------------------------------------------------------------
Working on web site discomfubilator settings.
Fumbling within the database.
Working on web site transmortation whistletips.
Programming <YOURWEBSITE> grandeosisms.
Transmorgraphying radiodescenceisms within the web site.
Reprogramming <YOURWEBSITE> fuel injection systems.
Searching for all references to Bush cause he needs to pee.
Wondering why Clinton is not spelled with a K.
Wondering why Republicans and Democrats don't admit they're one and the same.
Transmorgraphying diallamous syntaxtickers within the Admin interface.
Discomboobulating SQL database against foreign transmissions from aliens.
Wondering why we still aren't flying our cars.
Working on a new system to circumvent historical anachronisms through plain english.
In the Admin interface wondering what the heck to do now.
Thinking in grandiloquent terms till going into an abderian fit.
Extending his dactylion digit to the world.
In the Admin Control Panel admiring <YOURWEBSITE>'s daedalian design.
Deciding whether to take his meds for decidophobia.
Contemplating using defenestrating techniques on his computer.
Wondering why demitoilet has nothing to do with using the commode.
Wondering if a Republican can get dextrophobia.
Rearranging the diplasiasmus to prevent rectalgia.
Contemplating resistentialism.
Contemplating which is worse - aichmorhabdophobia or alopeciaphobia.
Creating amphigorical anachronisms to ensure he stays an anonymuncle.
Contemplating why computer screens are anopisthographic.
His keyboard has started astereognosis in his psyche causing borborygmus through xertzing.
Realizing that "rhadamanthine judicial system" would be an oxymoron.
------------------------------------------------------------------

Of course you'll need to change the <YOURWEBSITE> parts with the name of your web site.

Enjoy!

If you want more let me know. I'll come up with something.

Those are hysterical!! :up:

Boofo 05-18-2007 02:03 AM

Excellent little mod! I had my name not show in the Who's online. This is better. Thank you, sir. ;)

I'm using it on 3.5.4 with no problems. ;)

vectorfc 05-27-2007 09:49 PM

Cool mod - confused all my members hilariously when I first installed it with "borking database" and other imaginary functions ;)

Any way to have certain activities exempt from this? My ham-fisted attempts haven't worked. I'm trying an excluding loop along the lines of:

Code:

...
switch($userinfo['username'])
    {
        case 'pcFreak':
while ($filename != 'thispage.php')
{
            srand ((float)microtime()*1000000);
            shuffle ($onlinefake);
... etc...

but I'm not really experienced enough in vbulletin or php to get this working properly. This code just runs the plugin normally and ignores me being on thispage.php, so obviously I'm missing something, but I'm not sure how to fix it. Can anyone give me any pointers?

Thanks!

cclaerhout 05-28-2007 01:34 AM

Really funny ! Thanks.

Boofo 05-28-2007 03:46 AM

Quote:

Originally Posted by vectorfc (Post 1255781)
Cool mod - confused all my members hilariously when I first installed it with "borking database" and other imaginary functions ;)


What other good ones did you come up with? ;)

SCRIPT3R 05-28-2007 05:40 AM

Quote:

Originally Posted by Boofo (Post 1255939)
What other good ones did you come up with? ;)

Riding the ponies outside WalMart. Be back when I run out of quarters.

vectorfc 05-28-2007 02:15 PM

Quote:

Originally Posted by Boofo (Post 1255939)
What other good ones did you come up with? ;)

"Having A Meltdown"

If only those members knew how often that's really true :rolleyes:

haytham 06-10-2007 09:29 AM

Thanks. Great. Installed. I am looking for something like this only it makes member count fake in the last 24 hours. Anyone seen it?

sinaluna 07-04-2007 01:57 PM

Doing the Google dance
Looking for Waldo
Partying with the mods
Wondering if that new user really is Brad Pitt
Out buying more duct tape
Battling the forces of evil
Mastering the techniques of SU-FI
Playing tug of war with my keyboard and the dog.

F&A 11-09-2007 07:44 PM

Very nice.
Thanks to PCFreak.


All times are GMT. The time now is 05:49 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.01272 seconds
  • Memory Usage 1,839KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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