The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
i have not
but i found a plugin that might do the job i just need help converting one line Code:
vB_Template::preRegister('header', array('newmessages' => $vbulletin->userinfo['pmunread'])); this (along with the rest of the code) unsets pmunread from notifications and creates it individually. --------------- Added [DATE]1459912757[/DATE] at [TIME]1459912757[/TIME] --------------- i did manage to get the correct if statement PHP Code:
--------------- Added [DATE]1459913470[/DATE] at [TIME]1459913470[/TIME] --------------- I GOT IT =P lmao was so easy -_- plugin: in notifications_list Code:
unset($notifications[pmunread]); templates: Code:
<if condition="$notifications_total"> <span>$notifications_total</span> </if> Code:
<if condition="$bbuserinfo[pmunread]"> <span>($bbuserinfo[pmunread])</span> </if> that'll do it =) |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|