Announcement

Collapse
No announcement yet.

Different templates for registered/unregistered users

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

  • Different templates for registered/unregistered users

    Hi all,

    Is it possible to have a different template for a forum depending on whether the user is registered or not?

    We want to open up one of our non-viewable areas to unregistered users but want to drop in more ads and make some template tweaks to make registration more appealing.

    Colin

  • #2
    You can control the content of one style with conditionals.

    Here are a few examples:

    Code:
    <if condition="$show['guest']">
        You're a guest!
    </if>
    Code:
    <if condition="$show['member']">
        You're a member!
    </if>
    Code:
    <if condition="$show['member']">
        You're a member!
    <else />
        You're a guest!
    </if>

    Comment

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