vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Tracking VB users on non VB pages...possible? (https://vborg.vbsupport.ru/showthread.php?t=150989)

JD45 06-29-2007 10:02 PM

Tracking VB users on non VB pages...possible?
 
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.

PHP Code:

$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


All times are GMT. The time now is 01:33 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.00987 seconds
  • Memory Usage 1,711KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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