vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   WOL on non forum page (https://vborg.vbsupport.ru/showthread.php?t=97236)

BahBah 09-30-2005 04:30 PM

WOL on non forum page
 
Hi,

I already have the rest of my site hooked up with vb (by using global.php) however I want to display whose online on my nonforum pages also.

How can I achieve this please ?

Thanks

BahBah 10-02-2005 01:20 PM

Quote:

Originally Posted by BahBah
Hi,

I already have the rest of my site hooked up with vb (by using global.php) however I want to display whose online on my nonforum pages also.

How can I achieve this please ?

Thanks

Nevermind - done this myself

chanzero 10-02-2005 02:41 PM

how'd you do it bahbah? please share for us noobs :)

pmkb 10-22-2005 03:20 AM

I am wanting to make vB aware of a non-forum script on my site so that visitors browsing the non-forum script will show up in who's online when I check it. Is adding an include to global.php in the non-forum script all that is require to make vB aware of members and guests browsing in the script?

I realize it will show unknown location unless I do further work, but I'm just looking to get started here.

Zachariah 10-22-2005 05:13 AM

Vs. tons of file edits all the time. I use this.
https://vborg.vbsupport.ru/showthread.php?t=83247

pmkb 10-22-2005 02:06 PM

Unfortunately, that only works for unique files and they must be located in the vB forum's root directory.

BTW, I did some experiementing and confirmed that the following code works fine for making vB aware of visitors/members browsing around in non-integrated scripts:
Code:

//****************************************************
chdir('/home/user/public_html/vbforumpath/');
require_once('./global.php');
chdir('/home/user/public_html/nonforumscriptpath/');
//****************************************************

That code should be inserted at the top of the non-forum script.


All times are GMT. The time now is 04:53 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,720KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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