vB4 imlinks conditional

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,497
    7,735
    321
    localhost
    Heisenberg submitted a new resource:

    - imlinks conditional

    vB Version: 4.1.11

    Have yet to find any information about applying a div or element around the IM links only if they are visible in the users post so here is the conditional and how you could use it.

    Code:
    <vb:if condition="($post['yahooicon'] != '') || ($post['icqicon'] != '') || ($post['aimicon'] != '') || ($post['msnicon'] != '') || ($post['skypeicon'] != '')"><div class="imlinks"></vb:if>
    {vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw...

     
    Last edited: