PDA

View Full Version : Notifications?


Nkay
05-18-2008, 11:38 AM
Could anybody here tell me how to display an image on my forum if a user has a new notification. I know how to display an image if a user has a new PM but i was wondering with the release of the new vb, if there was a way to display an image if a user has any notification whether that be a new friend request, unread visitor message etc?

The code to display if a user has an unread pm is:

<if condition="$bbuserinfo['pmunread']">
<img src="http://www.thinkhabboforum.net/images/misc/newpm.gif">
</if>


Hopefully someone will know :)

Thanks in advance.

veenuisthebest
05-18-2008, 03:38 PM
<if condition="$show['notifications']">

YOUR
IMAGE FOR ANY
NOTIFICATION

</if>


also, $notifications_total outputs the total number of notifications

Nkay
05-18-2008, 08:58 PM
<if condition="$show['notifications']">

YOUR
IMAGE FOR ANY
NOTIFICATION

</if>


also, $notifications_total outputs the total number of notifications
I worked it out, thanks for your help :)