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

Changing style for the session only

Discussion in 'XenForo Questions and Support' started by AndreaMarucci, Mar 23, 2011.

  1. AndreaMarucci

    AndreaMarucci Well-Known Member

    Suppose I've one style for the iPhone and one for regular browsing. I remember that in VB there was a particular syntax so that appending something like ?stile=1 to the url, let you see the board with a different theme.

    In any case this style change is valid only for that session. If you enter in your account from another computer you can still see the forum with the regular style.

    Is it possible to do the same with Xenforo?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    That's not possible.

    A specific mobile style is planned though.
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    It's worth noting that styleid URLs in vB write that preference to a browser cookie such that the style preference only persists within that one browser.

    xenForo writes the preference to the user record when you visit a styleid URL. So the preference will persist for that user account even if you change browsers.

    Here is an example of a styleid URL in xenForo:

    http://xenforo.com/community/misc/style?style_id=2

    You will notice another difference when you click this link. xenForo asks the user to confirm the change in preference. vB does not.
     
  4. AndreaMarucci

    AndreaMarucci Well-Known Member

    In fact my question was aimed for a mobile style. In this case I'll wait for a release. I've seen Xenstop and it's very good but without a mobile switch is less usable...
     

Share This Page