Quote:
Originally Posted by kh99
Yeah, I'm not sure why that is. I created a file named 'test.php' that just does a chdir to the forum directory and includes global.php, then calls exec_shut_down(), and when I browse to that file then look at the session table it says "./test4.php".
Is there anything else in your script that might access a vbulletin page?
|
Whoops, was an error on my part. Sorry

Now, when I go to mysite.com/home.php, the value in the `session` table is actually /home.php! So, the value's getting stored in the table. All that we need to do is to get rid of that pesky Unknown Location :c
Do you think this can still be accomplished through those two plugins, or would there need to be some other modifications done to accomplish this?
Thanks for your continued help
--------------- Added [DATE]1357935560[/DATE] at [TIME]1357935560[/TIME] ---------------
I've fixed it! Turns out that the plugins I had added didn't work - they were designed for vB4, not vB3 :c
My final result:
online_location_process:
PHP Code:
if ($filename == 'home.php') {
$userinfo['activity'] = 'homepage';
}
online_location_unknown:
PHP Code:
if ($userinfo['activity'] == 'homepage') {
$userinfo['action'] = "Viewing Homepage";
$userinfo['where'] = "<a href='google.com'>Google</a>";
$handled = true;
}
As always, thanks for your help! I really appreciate it