Announcement

Collapse
No announcement yet.

Different styles for different usergroups?

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

  • Different styles for different usergroups?

    I would like to use a template (with a banner, for example) for regular registered and non-registered members, and use a different template without banners for paying members in the paid usergroup. How can I accomplish this? Please don't tell me I have to hack.

  • #2
    You do not have to hack That's the good news.

    The bad news, you have to tweak your usergroup and some templates a little bit.

    First, make a new usergroup and then setup a paid subscription for those who pay go to that usergroup.

    Then, update the templates where the banner appears and have it not show for this new usergroup.

    <if condition="$bbuserinfo['usergroupid'] == 'x'"><else />
    Your banner code
    </if>

    Replace the red x with the paid subscription usergroup.

    Comment


    • #3
      AWESOME! You rock!

      Comment


      • #4
        Thank you

        Comment

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