![]() |
Notification on external page
Hello,
anyone know how put the VB4 notification on an external page? I've found this phrase: {vb:raw notifications_total} but i don't know how to include it on an external page. Thanks. |
You can probably include it if you external page includes global.php also.
|
Yes, i am able to take different thing from this external page like the username:
$vbulletin->userinfo['username'] and the forum url: get_option('vbb_VBURL') and the userid: $vbulletin->userinfo['userid'] and a field: $vbulletin->userinfo['field56'] But i don't understand how i can include the notification.. i've tried with: <?php echo {vb:raw notifications_total} ?> and with <?php echo $notifications_total ?> ..but it doesn't works.... any idea? :) thanks |
You don't use echo in a template. The correct code for the notifications dropdown is in the header template. Copy it from there. You may also have to copy the css for it, if you are wanting a drop down like that.
I've always just included the header template on my external pages, so I'm not really sure how to just grab part of the template for use. |
I'll try, thanks for the help. :)
|
All times are GMT. The time now is 07:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|