vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   make users browsing non vb pages show up as "online" (https://vborg.vbsupport.ru/showthread.php?t=169754)

tomotron 02-06-2008 12:19 AM

make users browsing non vb pages show up as "online"
 
i have a site where users can log in and use their vbulletin login info to do things like post movie reviews and comment on our non vbulletin news system, but these users don't show up in the who's online section.

basically i include global.php in the files so i can read their username and userid.

what do i have to do to make them show up as online users when browsing the rest of the site? i'm guessing i somehow need to initiate a session, or have that session follow them from the forums to the rest of the site :confused:

any help is greatly appreciated!!!

--------------- Added [DATE]1202267311[/DATE] at [TIME]1202267311[/TIME] ---------------

i should also add that i'm not concerned with showing WHERE they are online, more so just that they appear in the online users list.

--------------- Added [DATE]1202331003[/DATE] at [TIME]1202331003[/TIME] ---------------

so far here is where i'm at...

i include the global.php file and i'm able to check usernames and id's and all that, using them to associate comments in our news and user submitted movie reviews with their vbulletin accounts.

the problem is the user while browsing non vb pages is not included in the "who's online list". i tried for the heck of it including misc.php at the bottom of the page and bam, there it is.

i tried going through the file and figuring out what exactly misc.php is doing that makes the user appear active but i just can't figure it out. i feel like it's something simple and i'm just looking right over it...

STUMPED!

tomotron 02-10-2008 06:05 PM

bump, anyone? :D

Amit86 02-10-2008 06:27 PM

check this out:
https://vborg.vbsupport.ru/showthread.php?t=169451

Opserty 02-10-2008 06:38 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=82882&highlight=Custom+WOL" target="_blank">https://vborg.vbsupport.ru/showt...ght=Custom+WOL</a>

tomotron 02-10-2008 07:52 PM

thanks for both of those.. maybe i'm missing something though....

i really don't care right now if they show up in the who's online list as "unknown", i just want them to show up period. i thought including global.php would do that but it doesn't.

i also have too many pages with too many variables to hard code all of them, i'd just like them to show up and i can change the unknown phrase to say "Main Page" or something generic like that.

tomotron 06-16-2008 08:18 PM

bump from the dead, still looking for a solution :confused:

here's the site if anyone's interested,
http://www.bloody-disgusting.com

don't worry, it's just a horror movie news/reviews site nothing gross :D

you can see that i'm using vbulletin all around the site, allowing users to post comments under the news, post user reviews, etc. that all works fine, but... when they're not on an actual vbulletin page they don't show up as an active user.

somone can sign in, post comments in the news for weeks and it'll show their last activity as the day they logged in.

i'm including global.php on all pages where i need to extend vbulletin functionality, but that doesn't seem to do the trick.

basically i just want them to show up online, right now i don't care what it says on the who's online page, i just want them to show up there period.

any help is GREATLY appreciated!

Dismounted 06-17-2008 07:45 AM

You need to include global.php and make sure the cookie domain and path are set correctly.

tomotron 06-17-2008 02:19 PM

thanks for the reply,

i am including global.php and my cookie settings are as follows..

path = /
domain = .bloody-disgusting.com

my forums are under the /forums directory and the rest of the site is under the root directory, do i need to change my cookie settings to something different? maybe the domain should be blank?

i have login forms on non-vb pages where users can login, and post comments under their vb username, and never have a problem with them appearing not logged in.

Dismounted 06-18-2008 07:31 AM

They SHOULD show as online. May be something I've forgotten though.

tomotron 06-18-2008 03:59 PM

Quote:

Originally Posted by Dismounted (Post 1552381)
They SHOULD show as online. May be something I've forgotten though.

that's exactly how i feel :D
thanks for the help though


All times are GMT. The time now is 02:42 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.01219 seconds
  • Memory Usage 1,732KB
  • 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