vBadvanced Forums  
Go Back   vBadvanced Forums > Other > Chit Chat

Reply
 
Thread Tools Display Modes
  #1  
Old 07-14-2004, 03:28 PM
Polo's Avatar
Polo Polo is offline
Senior Member
 
Join Date: Jun 2004
Posts: 823
Question Image on New PM

Hi,

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
PHP Code:
<if condition="$vbphrase[unread_x_nav_compiled] == 0"
<!-- 
nothing should appear -->
<else/>
<
a href=private.php?><img src=images/misc/new.gif border=0></a>
</if> 
but i get the image even if there is 0 messages...

can anyone help me with this one?
__________________
God180.com <---------------------My heavily modified vBulletin board
Reply With Quote
  #2  
Old 07-14-2004, 03:37 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Image on New PM

You're using a phrase... Which isn't going to equal to 0.
Reply With Quote
  #3  
Old 07-14-2004, 03:41 PM
Polo's Avatar
Polo Polo is offline
Senior Member
 
Join Date: Jun 2004
Posts: 823
Default Re: Image on New PM

oh i see....

I'm kinda new to Vbulletin

will keep trying...
__________________
God180.com <---------------------My heavily modified vBulletin board
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image layout bug teksigns Troubleshooting / "How do I..." Questions 3 06-15-2004 08:00 PM


All times are GMT -4. The time now is 08:31 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.