1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Other Conditional to force usergroup to style

Discussion in 'Resource and Add-on Discussions' started by greenchicken, Feb 2, 2015.

  1. greenchicken

    greenchicken Member

    can you use a conditional to force usergroup to style and make it go back to the default style if the user is no longer in that usergroup?
  2. Russ

    Russ Well-Known Member

  3. greenchicken

    greenchicken Member

    That is a good resource but does not change the user back

    I use a particular style for Ad-Free Membership Subscriptions and I want the user to be placed back in the default style when his subscription runs out .. This Add-On you linked will only allow those in that group to use it but when the Subscription expires it does not automagically place that user back in the default style (Non-Adfree) even thought the expired subscription takes the user from that usergroup

    Thanks for the reply
    Russ likes this.
  4. rainmotorsports

    rainmotorsports Well-Known Member

    You can wrap the ads in a user group conditional. A not condition will work best if its only one or a minority of usergroupa to not see ads.
    greenchicken likes this.
  5. greenchicken

    greenchicken Member

    Yea but that still leaves big empty blocks on the sidebar especially if it's wide

    I figured out a better way... Use the conditional to allow ad free users to collapse the sidebar and it makes the forum Ultra-Wide and clean

    Thanks for the idea
  6. rainmotorsports

    rainmotorsports Well-Known Member

    What's creating the space? If its CSS you can give the spaces a class and wrap a conditional around the class declaration in the div. With the class not declared the CSS is ignored. Its really dependant on how it was done but it can be done. Since what your looking for is basically the opposite approach solution.
  7. greenchicken

    greenchicken Member

    The user stats , people online etc. is what creates those gaps...

    Normally I would take a skin and disable the sidebar for the Ad-Free users because all they mainly want is a fast wide forum.. Now being able to use conditionals on the sidebar this kills 2 birds with one stone..

    Not doubting you, this is just the perfect solution for me.

Share This Page