hollyboy
05-13-2005, 03:14 AM
http://img154.echo.cx/img154/6260/mp1ae.jpg (http://www.imageshack.us/)
I've added this little image beside the private message text in the "navbar".
I'd like to display the image only when 1 or more private messages are received.
How to do it?
Thanks :)
theMusicMan
05-13-2005, 05:18 AM
Don't have the time to look in detail just now but I'd start by looking for the template variable that shows the number of new PM's you have waiting for you and then use an <if> conditional to check if that value is > 0, if so... then display your image....
Sounds easy but not sure if it would work without trying it.
hollyboy
05-13-2005, 06:38 AM
I dont know what to do I am not an expert so if u can please help me...
my code is here
<if condition="$show['pmstats']"><img class="inlineimg" src="/immagini/pm.gif" border="0" /> <phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
Jeramy
05-17-2005, 05:34 PM
Try asking over at vBulletin.org since a lot of the scripters hang out there.