The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
How do i add WOL activity in external PHP page ?
I use a CMS in addition with vbulletin and i want to see the visits to the CMS pages in the Who's Online activity.
I added the Back end in the main CMS page (index.php) located outside vb directory : PHP Code:
Any ideas ? I know about the hooks to add new WOL location, but at this point i'd just like to see an 'unknown location' (would be a first step ) Thx for your suggestions ! *EDIT* It seems that i need to display some template from the board to get the page tracked in WOL as "Unknown location". I have two test pages : - one ending with a template displaying : "print_output..." -> this one works and get displayed in WOL - one with the print_output thinggy commented out -> nothing get displayed in WOL when visiting the page. The pbr : i don't need any board template display on the CMS pages. Since i've found the solution, here it is : i'm running PHP4 so it seems that i need an extra function to make a correct update of tables. Print_output deals with it but if you don't want to display any VB template on a custom page and you are running PHP4, you need to add "exec_shut_down();" here is the code that works now : PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|