PDA

View Full Version : How Would I Change This.....?


MiahBeSmokin420
10-21-2007, 07:35 PM
Ok Basicly Look At The Code First Then Read The End


Groaned Code In Post Bit:


<div class="postdata"><center>
<if condition="$post[post_groan_times] == 1">
$vbphrase[post_groan_time_post]
<else />
<if condition="$post[post_groan_posts] == 1">
<phrase 1="$post[post_groan_times_formatted]">$vbphrase[post_groan_times_post]</phrase>
<else />
<phrase 1="$post[post_groan_times_formatted]" 2="$post[post_groan_posts_formatted]">I've Never Been Groaned</phrase>
</if>
</if>
</div>



Thanked Code In PostBit:


<div class="postdata"><center>
<if condition="$post[post_thanks_thanked_times] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts] == 1">
<phrase 1="$post[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times_formatted]" 2="$post[post_thanks_thanked_posts_formatted]">I've Been $vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</if>
</div>




As You Can See I Did Some Modification To The Thanked And Groaned Code

My Questions Is This:

Looking At The Groaned Code You Can See That I Changed It So It Say I Have Never Been Groaned
That Only Shows If You Have Never Been Groaned

But When I Tried Doing The Same To The Thanked Code Making It Say I Have Never Been Thanked It Says It When You Have Been Thanked As Well

Is There SomeThing That I Can Do To Make It Only Show When You Have No Thanks???


Thanks In Advance To Who Ever Helps Me With This

MiahBeSmokin420
10-23-2007, 03:30 PM
**Bump**