vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Who's Online Help (https://vborg.vbsupport.ru/showthread.php?t=176201)

dfc005 04-15-2008 09:32 AM

Who's Online Help
 
We have our vbulletin running on a few different domains which show different content but run off the one vbulletin database.

So we have a few custom pages that I'd like to have working in the Who's Online? page.

For instance we have http://www.site1.com/custompage.php and http://www.site2.com/custompage.php

Now these two pages actually show different things but if I set up some plugins, it doesn't realise that the user might be on the other domain.

Is it possible to write a plugin that will enable this?

Cheers!

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

I guess I need to do something with the location field in the session table. Make it the complete location rather than just the filename?

Marco van Herwaarden 04-15-2008 09:43 AM

Can you provide links to these domains so we can see for ourself what you mean?

dfc005 04-15-2008 10:21 AM

Unforetunately no, they are not in a live environment yet. What do you need to know?

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

Anyone got any idea on how I could do this? Basically need to know what domain the online user is on.

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

Anyone?

dfc005 04-29-2008 09:02 AM

So no one has any ideas about this?

CommanderFluffy 04-29-2008 02:05 PM

i dont have a fullsolution... have you tryed includeing the global.php from that domain then use some fuction variables from the whose online php. or include it somehow. you could use this app here also.

https://vborg.vbsupport.ru/showthread.php?t=108026 runs on 3.5.x, 3.6.x, 3.7.x (unknown yet)

dfc005 05-19-2008 12:15 AM

Thought this would be an easier undertaking but seems to be quite difficult actually....

Anyone else got any tips for me or done something similar?


All times are GMT. The time now is 04:54 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.01773 seconds
  • Memory Usage 1,716KB
  • 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)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