![]() |
1 line Plug in Not working
I added a chat on my vbulletin
This variable $vbulletin->session->vars['sessionchat']; should show the number of users in the chat I added simple 1 line plug in $chat_users=$vbulletin->session->vars['sessionchat']; then in navbar I simply have added <td>Users in Chat: $chat_users</td> It does not work - Which hook location should I use ? ( Maybe I do not need a plug in ) I am still confused in the hook / plug in system |
What template are you putting this code in? What plugin have you tried?
|
Well I tried forumhome_complete ( amd navbit_complete) but It is not clear to me which hook to pick... probably there is the problem
|
You may need to bring $vbulletin into scope. Also, session variables can be accessed (in templates) using $session.
|
All times are GMT. The time now is 09:28 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:
|