Announcement

Collapse
No announcement yet.

how to add if conditional for this[ see inside] in postbit legacy

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

  • how to add if conditional for this[ see inside] in postbit legacy

    hi
    i want to include the below code for email icons in <if condition=""> </if> how to do it.. i have css definition for this with ".postbit-css"

    Code:
    <div class="postbit-css">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
    .

    thanx in advance
    http://www.weindians.net

  • #2
    What's your condition? Have a look at this link for help with conditionals also:

    http://www.vbulletinsetup.com/466-vb...nals-list.html
    Vote for:

    - *Admin Settable Paid Subscription Reminder Timeframe*
    -
    *PM - Add ability to reply to originator only*
    - Add Admin ability to auto-subscribe users to specific channel(s)
    - "Quick Route" Interface...

    Comment


    • #3
      its for showing the above yahoo messenger msn etc mail icons in postbit_legacy with postbit-css wrap which is defined in additional css ...... but if a member has not added the same in profile... it wrap still will be there but blan... so i want to do it with <if condtion=$show-----> to avoid for those members.. my other postbit items has postbit-css wrap , so i dont want this in blank......
      http://www.weindians.net

      Comment


      • #4
        no successful reply
        http://www.weindians.net

        Comment


        • #5
          Try this...
          HTML Code:
          <div class="postbit-css"><if condition="$post[icqicon]">$post[icqicon]</if><if condition="$post[aimicon]">$post[aimicon]</if><if condition="$post[msnicon]">$post[msnicon]</if><if condition="$post[yahooicon]">$post[yahooicon]</if><if condition="$post[skypeicon]">$post[skypeicon]</if></div>
          Lats...

          Comment


          • #6
            Originally posted by Lats View Post
            Try this...
            HTML Code:
            <div class="postbit-css"><if condition="$post[icqicon]">$post[icqicon]</if><if condition="$post[aimicon]">$post[aimicon]</if><if condition="$post[msnicon]">$post[msnicon]</if><if condition="$post[yahooicon]">$post[yahooicon]</if><if condition="$post[skypeicon]">$post[skypeicon]</if></div>
            but this still will leave empty postbit-css wrap for users not added their y.mess,msn in ucp.. as div is outside <if conditional

            is there common phrase for Instant Messaging icons... then we can wrap if around whole icon code
            http://www.weindians.net

            Comment


            • #7
              nobody has a successful reply yet
              http://www.weindians.net

              Comment


              • #8
                you could always try the .Org, or maybe somewhere like adminaddict, or adminzone. Maybe they can help, since you not getting help want.

                Comment

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