![]() |
Gotta quickie...
1 Attachment(s)
I need to add a segment of code in my whosonline template that enables the admins(only) to see the userid within a column beside to the username.
Unfortunately, I dont know the syntax for building the if statement. Any help? Code:
Any help would be appreciated. ****************************************** Ok figured it out for those who look for this in the future. ****************************************** In the whosonlinebit template. I added this snipet of code after the last activity "<td>" (you of course can place it anywhere) Code:
<if condition="$show['ip']"><td class="$ipclass" align="center" valign="middle"><font color="#FF0000">$userinfo[userid]</font></td></if> For the whosonline template, ensure your alignment by "<td>" codes and add this snipet of code: Code:
<if condition="$show['ip']"><td class="thead" nowrap="nowrap">User ID</td></if> See the visual...for an idea of what the admin sees vs, what an user sees, goto www.vizdepot.com and click on the number at the top for online. |
All times are GMT. The time now is 06:13 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:
|