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)

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


All times are GMT. The time now is 01:56 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.01087 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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