Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-30-2005, 10:17 PM
kenni kenni is offline
 
Join Date: Dec 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Add to "Who's online"

I'm after a code that i can add to my non-vb pages and i want it to automatically add onto the "who's online" page. I believe it already exists but I cannot find it.

For example, i have "page.php" and once a guest visits it, i want the "who's online" box to automatically update saying "Guest viewing page.php".

I've already installed the "VB-Login on non-vb page" mod but that doesn't seem to do the trick.

Any help is appreciated!
Reply With Quote
  #2  
Old 12-31-2005, 12:09 AM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can use the modification that allows you to add custom pages to the whos online or you should check out the Tutorials forum and read how to add to the whos online in there.
Reply With Quote
  #3  
Old 01-01-2006, 06:39 PM
kenni kenni is offline
 
Join Date: Dec 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iguanairs
you can use the modification that allows you to add custom pages to the whos online or you should check out the Tutorials forum and read how to add to the whos online in there.
Thanks for the tip but i cant find anything in the tutorials section :disappointed: .

Is there anything else i can do?
Reply With Quote
  #4  
Old 01-01-2006, 07:00 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

WOL = Whos Online

Heres the link for you: https://vborg.vbsupport.ru/showthread.php?t=82882
Reply With Quote
  #5  
Old 01-01-2006, 08:34 PM
Snoop-It's Avatar
Snoop-It Snoop-It is offline
 
Join Date: Jun 2005
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Na that dont work. iv tried it and it dont work on a file that is outside the forum folder. i mean i know you gotta add global.php or whatever in the external php but it still don't pick it up. what needs to be added in the external php to act with that hook to show guests or members viewing the page??
Reply With Quote
  #6  
Old 01-01-2006, 10:10 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Run a search for "gallery". There is a modification plugin that displays the location of users in the WOL if they are viewing the gallery. The gallery is in its own folder, so if you use that as a guide, you should be able to change the info to your file names.
Reply With Quote
  #7  
Old 01-02-2006, 01:36 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

>> Thanks for the tip but i cant find anything in the tutorials section .
Use Tutorial Index, which is sticky?
See my API Basics tutorial, it has info on how to add custom WOL pages.
Reply With Quote
  #8  
Old 03-09-2006, 07:45 AM
vinzphua vinzphua is offline
 
Join Date: Feb 2005
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Download and see my plugin from here. It'll give you an idea how to make your own.
Reply With Quote
  #9  
Old 03-13-2006, 07:56 AM
Wongod Wongod is offline
 
Join Date: Jan 2006
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to make it so when a guest views my main index.php page (which is sitting outside of the vbulletin folder) the "Current Active Users" guest count will increase. I've included global.php in the main index.php page. When I look at the "Current Active Users" bit, it doens't even recognize that there is a guest there (in that, in the who's online section, it doesn't even show a guest in an "unknown" section). Since the main index.php is in the ../ folder, I can't strpos the folder name as in the example plugin. But more importantly, I just want the guest count to actually increase. I'd be happy if it actually showed the guest in an unknown section. Any ideas? Thanks in advance.
Reply With Quote
  #10  
Old 03-22-2006, 08:04 PM
kenni kenni is offline
 
Join Date: Dec 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone found a solution for this yet?
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 02:39 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.04596 seconds
  • Memory Usage 2,244KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete