PDA

View Full Version : What the hell is wrong with this code?!?!


Per1213
07-18-2008, 08:24 PM
Basically I'm trying to get my forum to display a profile field in the Postbit. I had it working and then tweaked it slightly which made it disappear. Now I try to put it back and it won't display anymore?! I'm sure there's nothing wrong with this. Code in red is what I've added in. :mad::mad::mad:


<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>

<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>

<if condition="$post['field7']">Stakes Played: $post[field7]</if>

Attitude5ire
07-19-2008, 11:36 AM
Looks fine ermm.. duno check the profile fields and confirm the value.. also check if u edited the right template.. postbit or postbit_legacy

Per1213
07-19-2008, 01:27 PM
Dude, you're a legend. That's what I have been doing wrong. I was just scripting in the wrong template wasn't I!!! Thanks again :D

Opserty
07-19-2008, 01:37 PM
Please try and refrain from using strong language (RE: Your thread title) in future. Take a few chill pills before you post next time :D

:up:

nothing4me
07-19-2008, 08:15 PM
Please try and refrain from using strong language (RE: Your thread title) in future. Take a few chill pills before you post next time :D

:up:"Hell" isn't that strong. It doesn't even exist thus your complaint is rendered useless. :)

Opserty
07-19-2008, 09:20 PM
Surely that is a matter of both opinion and context? :D My complaint was not useless... else I wouldn't have posted it. ;)

nothing4me
07-19-2008, 09:41 PM
Surely that is a matter of both opinion and context? :D My complaint was not useless... else I wouldn't have posted it. ;)True. :(
*Walks away from thread in shame*