![]() |
Use The Template?
I remember seeing a post explaining how to create pages using vB templates, does anyone else know where this post is etc.?
Thanks. |
it can be done quit simply. where it is im not sure
but there is a simple page creater that was released here |
Just use this code in a new file with the desired name.php.
PHP Code:
All credits to Brad.loo who gave me this code some time ago. :) |
That only works on version 2 boards, you have to add some more stuff for version 3 boards.
|
Yeah, sorry forgot to mention that. But since there wasn't an existing mod for vB3, I only assumed it was for vB2. :)
|
acutally you dont hafta do much, just a change in the functions
change dir will let you put the file some where eles besides in the vbulletin root folder PHP Code:
|
Don't forget to require_once global.php :).
|
omg lol i fogot :\ i was overly tired last night
|
This would be correct, you forgot to define your template cache's etc.
PHP Code:
|
Great stuff there Brad, very useful :).
|
All times are GMT. The time now is 07:06 AM. |
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:
|