The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
OK, this seems to work: name your script home.php, add a call to exec_shut_down(), then in the online_location_process plugin use case 'home.php' (with no path). Then just make sure whatever string you use for $userinfo['activity'] is the same one you use in the case in the online_location_unknown plugin.
|
#12
|
||||
|
||||
Quote:
online_location_process: PHP Code:
PHP Code:
|
#13
|
|||
|
|||
Hmm...I don't see anything wrong with that. When you look at the session table what does it say now? If it doesn't say home.php (possibly with a path in front of it) then I think it means it's still some issue with your home.php script. If it does have home.php in it then it's something to do with one of the plugins.
|
#14
|
||||
|
||||
Quote:
/ Not sure how I'd get around that :s |
#15
|
|||
|
|||
Quote:
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? |
#16
|
||||
|
||||
Quote:
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:
PHP Code:
|
Благодарность от: | ||
kh99 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|