Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Guests show up as 'Guest' in the forumhome whois online list Details »»
Guests show up as 'Guest' in the forumhome whois online list
Version: 1.00, by Jakeman Jakeman is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-13-2002 Last Update: Never Installs: 17
 
No support by the author.

Guests show up as 'Guest' in the forumhome whois online list - vBulletin 2.2.6 - Jake's third hack. wOOp!

About: This hack will list all guests as 'Guest' on your forumhome whois online list.

Indications: forums needing the appearance of more traffic.

Directions: one small file mod and one small template mod. see attached file.

Demo: my site @ http://www.macsubculture.com/

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-14-2002, 06:39 AM
Dade's Avatar
Dade Dade is offline
 
Join Date: Jan 2002
Location: California
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice.
Reply With Quote
  #3  
Old 05-14-2002, 09:57 AM
Webmasta XT's Avatar
Webmasta XT Webmasta XT is offline
 
Join Date: Mar 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice hack I was about to realse mine, but oh well..
Reply With Quote
  #4  
Old 05-14-2002, 10:01 AM
Webmasta XT's Avatar
Webmasta XT Webmasta XT is offline
 
Join Date: Mar 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is a bug in urs.. I had 3 Active users, and those were my 3 members and it showed a Guest in the online.. even after my 3 members that were online!

I think I should realse the one I was gonna realse.. :cheeky:
Reply With Quote
  #5  
Old 05-14-2002, 03:26 PM
xware's Avatar
xware xware is offline
 
Join Date: Nov 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The click 'Guest' should be linked to the register page.
Reply With Quote
  #6  
Old 05-14-2002, 05:50 PM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Webmasta XT
there is a bug in urs.. I had 3 Active users, and those were my 3 members and it showed a Guest in the online.. even after my 3 members that were online!
you had zero guests but the list showed one? that means ' ' is less than 0 ??? try changing $guestcount = ' '; to $guestcount = 0; ... unless 0 is less than 0 in php

please let me know if that works. i will test it as soon as i get a chance. if it doesn't work i can fix it by adding an if statement to check for $numberguest==0, but that's just more code to process.

Quote:
Originally posted by xware
The click 'Guest' should be linked to the register page.
the links for 'Guest' are the same as on the online.php page. i did this on purpose. you can change this by creating a new template called forumhome_loggedinguest with the same contents as forumhome_loggedinuser except you change the link to go to the register page. then in your index.php file...

change:
eval("\$activeguests .= \", ".gettemplate('forumhome_loggedinuser')."\";") ;

to:
eval("\$activeguests .= \", ".gettemplate('forumhome_loggedinguest')."\";" );

that should work
Reply With Quote
  #7  
Old 05-14-2002, 06:30 PM
Webmasta XT's Avatar
Webmasta XT Webmasta XT is offline
 
Join Date: Mar 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just for your sake I won't realse my version, its kinda smililar but urs have one bitty problem.. and if you want me to I can realse it in this same thread, with that problem fixed!
Reply With Quote
  #8  
Old 05-14-2002, 07:26 PM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for my sake? you can release yours if you want, that's fine. that bug is fixed though.
Reply With Quote
  #9  
Old 05-14-2002, 08:02 PM
Robouk5 Robouk5 is offline
 
Join Date: Nov 2001
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack. I doubt i'll use it though since it clogs up whos online hehe but nethertheless, good hack =)
Reply With Quote
  #10  
Old 05-14-2002, 08:33 PM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i found and corrected another oversight. when there are only guests on the forums the whois online list starts with a comma. i have fixed this and updated the download file in the first post. the change is in the additional code in forum/index.php
Reply With Quote
Reply

Thread Tools

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 02:39 AM.


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.03206 seconds
  • Memory Usage 2,285KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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