![]() |
How to check user has unread private messages in Vbulletin 5
Hi
in vbulletin 3 and 4 it was possible to check user's unread private messages in any template (footer, header ...) with this if condition: Code:
<if condition="$bbuserinfo[pmunread]">user has new pms</if> i found this but it checks all types of notifications , unread visitor messages, requests and ... including new private messages : Code:
{vb:data unreadCount, content_privatemessage, getUnreadInboxCount} regards |
so for your reference here is the solution:
Code:
{vb:data canUsePmSystem, content_privatemessage, canUsePmSystem} seems you have to define variables first and then assign them values and then use them in if conditions too many lines of codes for a simple check! |
All times are GMT. The time now is 06:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|