![]() |
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 |
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.
|
Thank you very much ! I added the hook to global_start and its working pefrectly !
|
All times are GMT. The time now is 04:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|