Announcement

Collapse
No announcement yet.

How do I show skin selection in postbit?

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

  • Xyabber
    replied
    I recall one of the mobile skin threads on .org telling you how to display mobile info under a user's post .... I did it for a bit with my last mobile skin and it showed mobile phone info too.

    Leave a comment:


  • MoMan
    replied
    Those look handy. I use the mobile skin on my site as well- guess I could have it display if a post was made from a mobile device (although the mobile skin system already includes this information within the post itself).

    Leave a comment:


  • Xyabber
    replied
    Figured it out.
    To do this, you need:

    http://www.vbulletin.org/forum/showthread.php?p=1137190
    http://www.vbulletin.org/forum/showthread.php?t=133805

    Leave a comment:


  • MoMan
    replied
    AFAIK current skin selection is cookie-based, so you'd have to check the cookie. I don't know how exactly to do that- I suppose it would be worth searching the web if you'd like to pursue it.

    Leave a comment:


  • Xyabber
    replied
    Thanks for your help ...
    Originally posted by MoMan View Post
    Also note that with the implementation above, it'll display their default skin choice, not their current skin.
    Why is this? Is there a way to display current skin?

    Leave a comment:


  • MoMan
    replied
    Also note that with the implementation above, it'll display their default skin choice, not their current skin.

    Leave a comment:


  • MoMan
    replied
    Use $userinfo. $bbuserinfo is the array of values for YOU only

    Leave a comment:


  • Xyabber
    replied
    Any help here would be really appreciated. Thanks in advance..

    Leave a comment:


  • Xyabber
    started a topic How do I show skin selection in postbit?

    How do I show skin selection in postbit?

    How do I show user's skin selection in postbit?

    I tried the following but it just shows my selection for everybody, not theirs. :P

    Code:
    <if condition="$bbuserinfo['styleid'] == '1'">
     Skin: Mint
    </if>
    <if condition="$bbuserinfo['styleid'] == '11'">
     Skin: Classic
    </if>
    <if condition="$bbuserinfo['styleid'] == '12'">
     Skin: Dark
    </if>
    Thanks in advance!
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X