n1ckn4me
02-11-2006, 12:08 PM
Hello! Iam trying to make a codition if members have a greater number then 0 unread pm's then there will be a self made alert that shows it.
I was playing with:
<if condition="!$show['guest']" AND "$vbphrase['unread_x_nav_compiled']>0">
I know that vbulletin allready has such a alert, but I just want to have my own :)
Thanks in advance
[EDIT]
I found the solution for the ones who cares:
<if condition="$vbulletin->userinfo['pmunread']>0">
>0 stands for greater than zero ...
I was playing with:
<if condition="!$show['guest']" AND "$vbphrase['unread_x_nav_compiled']>0">
I know that vbulletin allready has such a alert, but I just want to have my own :)
Thanks in advance
[EDIT]
I found the solution for the ones who cares:
<if condition="$vbulletin->userinfo['pmunread']>0">
>0 stands for greater than zero ...