View Full Version : Image on New PM

07-14-2004, 03:28 PM

I'm trying to put a code in the header of my navigation bar, just by where it says "Private Messages: Unread 0, Total 0"

so that when a member has a new private message an image will appear...

I tried this code

<if condition="$vbphrase[unread_x_nav_compiled] == 0">
<!-- nothing should appear -->
<a href=private.php?><img src=images/misc/new.gif border=0></a>

but i get the image even if there is 0 messages...

can anyone help me with this one?

07-14-2004, 03:37 PM
You're using a phrase... Which isn't going to equal to 0.

Our Sponsors

07-14-2004, 03:41 PM
oh i see....

I'm kinda new to Vbulletin :o

will keep trying...