PDA

View Full Version : Who's Online Help


dfc005
04-15-2008, 09:32 AM
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 1208256141 at 1208256141 ---------------

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 1208299329 at 1208299329 ---------------

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

--------------- Added 1208334386 at 1208334386 ---------------

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?