The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
You can probably include it if you external page includes global.php also.
|
#3
|
|||
|
|||
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 |
#4
|
||||
|
||||
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. |
#5
|
|||
|
|||
I'll try, thanks for the help.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|