The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
New box under "What's going on?" which contains information from another database?
I've really tried to search for help but I couldn't find anything usefull. I haven't really modified any vB pages this way before so now I'm gonna ask you experts!
I want to create another box under the "Currently Active Users". It will contain info about how many users are active in our chat. This is how it looks: I tried to add the code below in the forumhome template but it won't work. Anyone have any ideas of how I can make this work? Here's the code I use for the script: PHP Code:
Thanks in advance! |
#2
|
||||
|
||||
You cannot put php code in templates - you need to create a plugin for the code and just put the output variable in the template.
|
#3
|
||||
|
||||
Quote:
Isn't there any easy way to do this? Edit: I followed this (https://vborg.vbsupport.ru/showthread.php?t=82625) guide and made a plugin. It works if I place it in the index.php like Brad did in that guide but when I try to add it to the template where I want it, it just says: Any ideas? |
#4
|
||||
|
||||
No one? Shouldn't be too hard eh?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|