Announcement

Collapse
No announcement yet.

Admin code syntax

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    sdp777
    New Member

  • sdp777
    replied
    Thanks Lats, that did the trick. Appreciate the help dude.

    Leave a comment:

  • Lats
    Senior Member

  • Lats
    replied
    Try this...
    Code:
    <if condition="$bbuserinfo[usergroupid]=1"><td class="thead">$userinfo[userid]</td></if>

    Leave a comment:

  • sdp777
    New Member

  • sdp777
    started a topic Admin code syntax

    Admin code syntax

    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:
            <if $usergroup="1" then "$show=$userinfo[userid]"><td class="thead">User ID</td></if>
    Then in the whosonlinebit, I will need to add the $userinfo[userid].
    Any help clarifing the correct syntax would be appreciated.

    Sincerely,
    Steven D. Papke
    Visit the www.vizdepot.com
    A completely custom vB site
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X