PDA

View Full Version : Variable names


orryun
11-28-2008, 08:25 AM
Hey, I'm looking for the following variables which can be used within templates:
1. number of unread PM
2. number of *friend request*
3. total notices

Thanks :)
oh, btw, I'm running vB under 3.7.x

ReCom
11-28-2008, 08:28 AM
1. $bbuserinfo[pmunread]
2. $bbuserinfo[friendreqcount]
3. Not sure what you meant ...

btw $bbuserinfo = $vbulletin->userinfo

orryun
11-28-2008, 08:39 AM
total notices = the sum of all notices such as friend reqs, unread visitor msgs, unread pms.. etc..

Bilderback
11-28-2008, 11:38 AM
total notices = the sum of all notices such as friend reqs, unread visitor msgs, unread pms.. etc..

$notifications_total

https://vborg.vbsupport.ru/showthread.php?t=179930