The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
What is this?
Code:
<vb:if condition="$bbuserinfo['fieldXX'] === 'No'"> The XX in fieldXX should be a field number. And the === should be ==. |
#22
|
|||
|
|||
As I said, I removed the conditionals completely, because I knew that would come up. Still no code is displayed.
|
#23
|
||||
|
||||
Try replacing this:
Code:
if ($vbulletin->options['sound_notification_enabled']) { $templater = vB_Template::Create('soundnotification'); $soundnotification .= $templater->render(); vB_Template::preRegister('header',array('soundnotification' => $soundnotification)); } With his: Code:
if ($vbulletin->options['sound_notification_enabled']) { $templater = vB_Template::Create('soundnotification'); $template_hook['header_userinfo'] .= $templater->render(); } |
#24
|
|||
|
|||
I don't want to use hooks though, the whole purpose is to only activate when the user gets a notification.
|
#25
|
||||
|
||||
You can still use a conditional for the notification.
|
#26
|
|||
|
|||
Is there a conditional for when they have one unread message?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|