PDA

View Full Version : Tracking VB users on non VB pages...possible?


JD45
06-29-2007, 10:02 PM
Is it possible to keep track of VB users on non vb pages through the vbulletin sessions? I want to keep track of what page they are on or their session location.

I dont know how to update their location. For some reason I can get it to update, but only for a second, then it goes away....I dont know why.

I know this isn't specifically related to VB, but thought someone might have some insight.

If so, thanks in advance.

JD

MarkPW
06-29-2007, 10:15 PM
Yes, simply add the following on any page you want to track.


$cwdir = getcwd();
chdir('/path/to/your/forum/');
require '/path/to/your/forum/global.php';
chdir($cwdir);

JD45
06-29-2007, 10:20 PM
Thanks for the reply. I added that already. It will actually show the location in the WOL list with something like:

movies.php/
Unknown Location

Then if I refresh...it disappears and puts viewing forum index. I can't figure out why it changes like that.

I look at the data in phpmyadmin and it shows the location for a second and then goes back to / as the location

Michael Biddle
06-29-2007, 11:49 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=98009" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=98009</a>

that shows how to do custom locations