PDA

View Full Version : Notification pulldown "always on"


Black Tiger
02-07-2008, 09:57 PM
VB 3.7 (b4) which I'm runing has a nice feature.
When receiving a join request to social groups or a new pm is waiting, you get that notification pulldown visible in the navbar.
This is what I'm talking about:
https://vborg.vbsupport.ru/attachment.php?attachmentid=74449&d=1200081824

However this ONLY displayes if there's something new.
I would like to have it so it always displays the little pulldown arrow so you can use it all the time to have a look at it.

I guess this requires a template change, but I don't know how to do it neither where to do it.

Can somebody give me the correct lines to change for this to work?

Black Tiger
02-10-2008, 03:18 PM
Nobody? I've found something and think it has to do with the global.php.
$notification =& $notifications["$userfield"];

if ($vbulletin->userinfo["$userfield"] > 0)
{
$show['notifications'] = true;
But if I change that in > -1 or >= 0 the notification pulldown appears but when clicking on it, it will give an error instead of showing there are 0 pm's and 0 friendrequests (etc.) waiting.

So maybe it could have something to do with this which is a bit higher in the global.php
$notifications_total = 0;
$notifications_menubits = '';
But I woulnd't know because I'm not familiar with php coding.

Anybody?