The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Heya all,
I am looking to simply add a table row, on any given forum, below the "Threads in Forum : Forum Name" that displays the active users browsing that forum. I can edit the template easy enough, no issue there. My question is, is that the proper way to do this or would having it as a product be proper? I have been trying to figure out how to make it a product/plugin for two hours now to no avail (my first time). What I have is: I made this template, called FORUMDISPLAY_activeusers_top: Code:
<if condition="$show['activeusers']"> <tr><td class="tcat, smallfont">$vbphrase[currently_active_users]: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_y_guests]</phrase>), Members: $activeusers</td></tr> </if> Code:
$globaltemplates = array_merge($globaltemplates, array('FORUMDISPLAY_activeusers_top')); Any help appreciated! |
#2
|
|||
|
|||
![]()
Anyone?
![]() ![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|