Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-25-2003, 02:23 AM
Guidster Guidster is offline
 
Join Date: Dec 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 01-25-2003, 08:21 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #3  
Old 01-25-2003, 10:01 PM
Guidster Guidster is offline
 
Join Date: Dec 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #4  
Old 01-25-2003, 11:23 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 01-26-2003, 03:30 PM
Guidster Guidster is offline
 
Join Date: Dec 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #6  
Old 02-13-2003, 09:36 AM
Automated Automated is offline
 
Join Date: Sep 2002
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 02-13-2003, 09:45 PM
Automated Automated is offline
 
Join Date: Sep 2002
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please?
Reply With Quote
  #8  
Old 02-14-2003, 11:41 PM
Webdork Webdork is offline
 
Join Date: Dec 2001
Location: Melbourne, Australia
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice gesture!
Reply With Quote
  #9  
Old 02-15-2003, 10:14 PM
Automated Automated is offline
 
Join Date: Sep 2002
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #10  
Old 02-17-2003, 10:13 PM
Automated Automated is offline
 
Join Date: Sep 2002
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07180 seconds
  • Memory Usage 2,270KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete