Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 02-06-2008, 12:19 AM
tomotron tomotron is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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

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!
Reply With Quote
  #2  
Old 02-10-2008, 06:05 PM
tomotron tomotron is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump, anyone?
Reply With Quote
  #3  
Old 02-10-2008, 06:27 PM
Amit86 Amit86 is offline
 
Join Date: Feb 2008
Location: Israel
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

check this out:
https://vborg.vbsupport.ru/showthread.php?t=169451
Reply With Quote
  #4  
Old 02-10-2008, 06:38 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=82882&highlight=Custom+WOL" target="_blank">https://vborg.vbsupport.ru/showt...ght=Custom+WOL</a>
Reply With Quote
  #5  
Old 02-10-2008, 07:52 PM
tomotron tomotron is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 06-16-2008, 08:18 PM
tomotron tomotron is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump from the dead, still looking for a solution

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

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!
Reply With Quote
  #7  
Old 06-17-2008, 07:45 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to include global.php and make sure the cookie domain and path are set correctly.
Reply With Quote
  #8  
Old 06-17-2008, 02:19 PM
tomotron tomotron is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 06-18-2008, 07:31 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They SHOULD show as online. May be something I've forgotten though.
Reply With Quote
  #10  
Old 06-18-2008, 03:59 PM
tomotron tomotron is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
They SHOULD show as online. May be something I've forgotten though.
that's exactly how i feel
thanks for the help though
Reply With Quote
Reply

Thread Tools
Display Modes

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:01 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.44847 seconds
  • Memory Usage 2,247KB
  • Queries Executed 13 (?)
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_postinfo_query
  • fetch_postinfo
  • 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