PDA

View Full Version : Postbit_onlinestatus and $post[onlinestatus] related question


4x4 Mecca
05-09-2007, 04:30 AM
How does vbulletin know that when you type $post[onlinestatus] to grab the info from the template postbit_onlinestatus ?

I would like to create my own template and call it into action in a signature, but don't know where to link the two. I have made the template called postbit_mytemplate but don't know how to call that into the sig.

I have searched my mysql database with the terms postbit_onlinestatus and onlinestatus and couldn't find the link anywhere. I have also searched inside all the vbulletin files.

Any ideas?

Dismounted
05-09-2007, 06:59 AM
The templates are created and assigned to a variable. Search for $post['onlinestatus']

HellRazor
05-09-2007, 11:37 AM
I think he wants to know how the template gets assigned to a variable?

EnIgMa1234
05-09-2007, 01:35 PM
its done by cacheing the template then assigning it to a variable i think. done with plugins. search the articles section

4x4 Mecca
05-09-2007, 04:12 PM
Thanks guys, I have a direction to look now.