The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey, I'm currently trying to write a mod (my first) for vBulletin, and from the mods I've read it seems like they've been able to include their templates inside of other templates such as:
Quote:
|
#2
|
||||
|
||||
![]()
You need to eval a template before it can be used. Look in any of the php pages and you will see templates evaled:
PHP Code:
|
#3
|
|||
|
|||
![]()
fetch_template() seems to be returning null, no matter what template I use it on.
|
#4
|
||||
|
||||
![]()
Well, you probably need to include it in the global templates first.
You should take a look at these articles - How to create your own vBulletin-powered page! (uses vB templates) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc. |
#5
|
|||
|
|||
![]()
I've read those articles, and I can't even get the examples working. fetch_template() is still returning absolutely nothing, even with templates that already exist (footer, navbar, etc).
PHP Code:
|
#6
|
||||
|
||||
![]()
Post your full php page and your full template. That way we can see what you are doing wrong.
|
#7
|
|||
|
|||
![]()
Template: test
PHP Code:
PHP Code:
|
#8
|
|||
|
|||
![]()
Whats your full php page?Is this page gonna be a link in your navbar or?
|
#9
|
|||
|
|||
![]()
I'm gathering the boards last.fm group statistics via the API (which are received with no problem) formatting them into HTML, and then placing them on the forum.
This will add a table(for content) between the main boards and navbar. I know currently my example would merely output just a table, but that's easily remedied once I can get my issues resolved. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|