vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Very Unique Hack Request (https://vborg.vbsupport.ru/showthread.php?t=48109)

Guidster 01-25-2003 02:23 AM

Very Unique Hack Request
 
I would like to memorialize a fallen friend on my board by making it appear that he is online with us 27/7 and users can select his name from the online list to learn a little about who is was.....Basically a user account that always gives the impression that its online.

Is this a possibility? This would be a GREAT trubute to my friend.

Thanks

Logician 01-25-2003 08:21 AM

Edit index.php, find

PHP Code:

  $numberinvisible=$numberregistered-$numbervisible

After that add:

PHP Code:

// User Always ONline Hack
// User's user name:
$special_users_username='MyUser';
// User's thread:
$special_users_threadid=1000;
 
$activeusers="<a href=\"showthread.php?".$session[sessionhash]."&threadid=$special_users_threadid\"><b>$special_users_username</b></a>, ".$activeusers;
 
$totalonline++;
 
$numberregistered++;
// User Always ONline Hack 

(Edit username and threadid above).

This hack adds the username to who is online list in the main page ( but not to online.php) taking the first position in that list and listed as BOLD too. If someone clicks that name, he is taken to a thread you entered its id above.

Enjoy..

Guidster 01-25-2003 10:01 PM

Thank you SO much for this! This means a tremendous amount to me and the users of my board! I am going to go and put it up right now!

Logician 01-25-2003 11:23 PM

Quote:

Originally posted by Guidster
Thank you SO much for this! This means a tremendous amount to me and the users of my board! I am going to go and put it up right now!
yw.. I noticed that you applied it and it works ok in your board.. However don't forget to edit threadid in hack code and point to a thread related to your friend, because threadid is broken in your board. ;)

Guidster 01-26-2003 03:30 PM

Quote:

Originally posted by Logician

yw.. I noticed that you applied it and it works ok in your board.. However don't forget to edit threadid in hack code and point to a thread related to your friend, because threadid is broken in your board. ;)

I am working on an appropriate thread today. In the meantime, as you witnessed, it just states that the requested thread is invalid.

Thanks again, his father was in tears when he saw this tribute to his son!

Automated 02-13-2003 09:36 AM

Would it be possiable to get this to show up on the online.php page and also to make the user's status "Online!" in the postbit?

Thanks
Matthew

Automated 02-13-2003 09:45 PM

please?

Webdork 02-14-2003 11:41 PM

Nice gesture!

Automated 02-15-2003 10:14 PM

Quote:

Originally posted by Automated
Would it be possiable to get this to show up on the online.php page and also to make the user's status "Online!" in the postbit?

Thanks
Matthew

Anyone ?

Automated 02-17-2003 10:13 PM

Quote:

Originally posted by Automated
Would it be possiable to get this to show up on the online.php page and also to make the user's status "Online!" in the postbit?

Thanks
Matthew

Please :chinese:


All times are GMT. The time now is 01:45 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.01791 seconds
  • Memory Usage 1,737KB
  • 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_php_printable
  • (4)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
  • (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