![]() |
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 |
maybe
Code:
$globaltemplates = array_merge($globaltemplates, array( $template_prefix . $_REQUEST[page] )); |
Heh I figured it out ;)
PHP Code:
Whats this you were on about to do with a blank page? Satan |
|
I see - I've already got the file setup and ready to go ;)
If you don't mind me releasing it as an Extension / Code Mod then I shall :) Satan |
VERY Cool! Much appreciated, I need a few extra pages :P
Edit: This could do WONDERS if used with custom code added in via the hooks system :P HUZZAH! Brilliant. |
this is the hack which i told u on it before sooo i think u can make it
https://vborg.vbsupport.ru/showthread.php?t=92314 |
Hey Im interested in installing but will this work with the Mod_Rewrite 3.5 , will the pages work with that or will it still have .php?= and etc.
|
Quote:
|
I dont get it...are there any pics for stupid people like myself?
|
Quote:
|
If you put the below in a template you create, it will look exactly like part of vB, with all the header and footer.
Code:
|
Very nice!
Makes it soo much easier! |
thaaaaanx
|
is there anyway to make it so that only certain usergroups can view these new pages?
|
i nstalled this plugin. i created page_test templates..but again again it says "No such page.
" what should i do?? |
Quote:
|
Great mod
only if we could parse PHP thorugh templates...or some other way to use PHP in the custom pages :( |
quick question--
are any of the pages contents searchable via the search function? ie if you 'search' the forums or sites, will it 'search' these pages as well? thanks |
n00b question... What do i do with that PHP code?
|
Ah, never mind, i figured it out... Sorry for double post
|
Can we see a sample page?
|
Quote:
Quote:
|
Quote:
You can achieve this by pointing the links to your files something like: pagename.html and using this rule in your .htaccess Code:
RewriteRule ^(.*)\.html$ index.php?page=$1 This is also in use at www.freaks-network.com . If you need help with it feel free to contact me. |
I need a little help. I making a staff page and I would like to add the online status. How can I do that? $userinfo[onlinestatus] because right now it doesn't show up.
|
I am getting this error for guests (not signed users):
Unable to add cookies, header already sent. File: /home/www/mysite.com/www/custompage.php Line: 1 please hep .-) what am I doing wrong |
How do I change if index.php?page=1 => it will show term of thread id 1?
|
Quote:
pls nobody? |
I don't there is much support here
|
Quote:
|
How do I create a template and just tell it to include another file on my server? I use the "php include" statement but it does not work. It acts like the statement is not even there
|
All times are GMT. The time now is 07:44 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:
|