The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Notifcation Condition?
Hey,
does anyone know the condition i can use in a template wether a user has new notifications or not? What i want to achive is smth like a facebook notificaition. With the current variable ($notifications_total) it would only show a "0" if there are no notifications. But i want it to not display at all. Can anyone help me out? |
#2
|
|||
|
|||
You should be able to use something like this:
Code:
<if condition="$notifications_total"> // show your notification count <else /> // user has no notifications </if> |
Благодарность от: | ||
TheRealso0sick |
#3
|
||||
|
||||
Yes, thanks
I've already figured it out That's what i use: Code:
<if condition="$show['notifications'] AND $show['popups']"> .. <else /> .. </if> Code:
AND $show['popups'] Ty for helping out |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|