vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Add to "Who's online" (https://vborg.vbsupport.ru/showthread.php?t=104071)

kenni 12-30-2005 10:17 PM

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!

Rich 12-31-2005 12:09 AM

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.

kenni 01-01-2006 06:39 PM

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?

Rich 01-01-2006 07:00 PM

Hello,

WOL = Whos Online

Heres the link for you: https://vborg.vbsupport.ru/showthread.php?t=82882

Snoop-It 01-01-2006 08:34 PM

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??

Rich 01-01-2006 10:10 PM

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.

akanevsky 01-02-2006 01:36 AM

>> 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.

vinzphua 03-09-2006 07:45 AM

Download and see my plugin from here. It'll give you an idea how to make your own.

Wongod 03-13-2006 07:56 AM

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.

kenni 03-22-2006 08:04 PM

Anyone found a solution for this yet?


All times are GMT. The time now is 12:03 AM.

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.01033 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete