The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have done some work on some css boxes to go around the join date, location, post count in the postbit_legacy template page. I have put boxes around everything, including the aim, icq, msn and skype icons. Although if no one fills in their icq, msn, skype and aim details then the box still appears with nothing in it. I have pointed it out in the screenshot below:
You may have to look hard because the empy box is below the one with the mood icon in it: http://img189.imageshack.us/img189/1063/capturecgr.jpg. How can I get rid of that box, but for only the people who don't enter their aim, icq, msn and skype details? Kind Regards Stormraven. --------------- Added [DATE]1245334647[/DATE] at [TIME]1245334647[/TIME] --------------- No one going to help me? --------------- Added [DATE]1245334791[/DATE] at [TIME]1245334791[/TIME] --------------- No one going to help me? --------------- Added [DATE]1245376780[/DATE] at [TIME]1245376780[/TIME] --------------- Bump ![]() |
#2
|
||||
|
||||
![]()
You would have to put a condition around the box. Something like:
HTML Code:
<if condition="$post[icqicon]"> then show it </if> |
#3
|
|||
|
|||
![]()
Around which bit? Is it somwhere in this code? I tryed to put it somewhere here but all the icons dissapeared even if somone had entered their aim names etc.
Code:
$template_hook[postbit_userinfo_right_after_posts] <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if> <if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if> $template_hook[postbit_userinfo_right] <div class="postinfo">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> </div><br /> |
#4
|
||||
|
||||
![]()
Put a conditon around this part:
HTML Code:
<div class="postinfo">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> HTML Code:
<if condition="$post[icqicon] OR $post[aimicon] OR $post[msnicon] OR $post[yahooicon] OR $post[skypeicon]"> <div class="postinfo">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> </if> |
#5
|
|||
|
|||
![]()
Brilliant, worked like a charm. Thankyou so much Lynne.
Kind Regards Stormraven. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|