The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Integrating external variable with vbulletin userinfo
hello,
i want to display number of attachments downloaded by a user on the top of their screen. i managed to get the count using the count (*) query but the thing is that how do I get the result display on the header ? please help me. I want something like $user[count] to make it display. thanks |
#2
|
||||
|
||||
You need to get the count using a plugin that is location right before the template is evaled. So, if you are talking about in the header, you need to put the code in a location *before* the header is evaled. So, probably in one of the global_* locations. Take a look in the code to see.
|
#3
|
|||
|
|||
Thank you very much ! I added the hook to global_start and its working pefrectly !
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|