vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   If condition for IM's (https://vborg.vbsupport.ru/showthread.php?t=257991)

Xencored 01-29-2011 01:03 AM

If condition for IM's
 
Trying me luck here

Anyone know the If condition for IM's i cant seem to find it anywhere
Thanks
Code:

<div class="imlinks">
                                        {vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
                                </div>


Boofo 01-29-2011 01:22 AM

<vb:if condition="$post['icqicon']">
<vb:if condition="$post['aimicon']">
etc. etc.

Xencored 01-29-2011 01:34 AM

1 Attachment(s)
Quote:

Originally Posted by Boofo (Post 2155921)
<vb:if condition="$post['icqicon']">
<vb:if condition="$post['aimicon']">
etc. etc.

Thanks is there not a way to wap them all this way is a problem for me

Code:

               
<vb:if condition="$post['icqicon']">{vb:raw post.icqicon}</vb:if>
<vb:if condition="$post['aimicon']">{vb:raw post.aimicon}</vb:if>
<vb:if condition="$post['msnicon']">{vb:raw post.msnicon}</vb:if>
<vb:if condition="$post['yahooicon']">{vb:raw post.yahooicon}</vb:if>
<vb:if condition="$post['skypeicon']">{vb:raw post.skypeicon}</vb:if>

Due to ive add css box around them all "as one big box"
Code:

<div class="mai_postbit">


All times are GMT. The time now is 04:45 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00932 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete