Announcement

Collapse
No announcement yet.

<if loggedin><else> ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • <if loggedin><else> ?

    I want to display different content depending on whether the user is logged in or not using <if and <else>, how do I do this in VB?
    John Bilicki III
    Webmaster of JAB Creations

  • #2
    In the templates, use such code:
    Code:
    <if condition="$bbuserinfo[userid] == 0">
    // guest info
    <else />
    // logged in info
    </if>
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      Kick ass, thanks Colin!
      John Bilicki III
      Webmaster of JAB Creations

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X