![]() |
custom page wrapper
This lets you create a vBulletin page by just creating a template.
Installation - Upload "custom page wrapper 0.1.xml" plugin and activate it - Create a "page_test" template with anything in it - Test it out with "index.php?page=test" To create pages, add a template that begins with "page_" in the title. You can change that prefix editing the plugin. Enjoy :) PHP Code:
|
W00t! Thank you so much!!!
|
I need to make some custom pages with 3.0.X
|
wowowowow u r Great i wonder how i was going to make something nice like that .
just want know how can i called a data from database not from a templete in 3.5.0 ? this file i make it on 3.0.7 and it works when i call it from the browser Code:
<?php |
Quote:
Quote:
you could edit the plugin, but im not sure what you are trying to do edit 2: check this post too might help https://vborg.vbsupport.ru/showthread.php?t=92066 |
Nice idea :)
However I'm going to alter this and use an Extension version, by placing the code in a pages.php file ;) But still, nice idea :) Satan |
go for it, modify, reuse, rerelease, whatever
edit: would be nice if you released a "blank page" extension, some people seem to need it. i dont know what id need to include etc to make that or else id make one. |
How do you mean blank page? :)
And also - I've been toying with the idea of including a template-caching for the page generated... The code I've been trying to use isn't working - I think it's a case of staring too long at vBulletin source code all day and I'm missing something :p PHP Code:
Satan |
dunno about cache, I think they are cached when you include global.php, so youd have to merge into the cache array before the script imports it... dont think there are hooks before a global.php include
|
Of course - It has to be done via cache_templates :p
Satan |
All times are GMT. The time now is 06:02 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:
|