vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




private messages

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.


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum