The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
How to create your own vBulletin-powered page! (uses vB templates)
Want to create your very own vBulletin powered page which includes the header, footer, and the user permissions system as well? Well now you can Want to know how it will look? Take a look at the attached screenshot below! Now includes the Who's Online modification! Also, instructions included on how to create your own pages that are integrated with current vBulletin files! I'm going to give you a generic page but you can easily modify the contents of the page by changing the template So here we go Instructions: Create a new file, whatever you want to call it (let's say test.php). Open up test.php and add the following (replace TEST with whatever template you want to show): PHP Code:
Now create the template, called TEST with the following content: HTML Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">Title</td> </tr> <tr> <td class="alt1">Text</td> </tr> </table> $footer </body> </html> Now check it out by going to test.php Who's Online Modification Now if you want to show who is browsing this new page of yours, just open up includes/functions_online.php and find: PHP Code:
PHP Code:
Then find: PHP Code:
PHP Code:
---------------------------------- Also if you want to create your own pages 'within' current vBulletin files, do the following: Open the file you want, and then right before the final ?> in the source code, add the following: PHP Code:
edit by Lynne: If running 3.8.4 or above, see this post to take care of the PHP 5.3.0-related problems - https://vborg.vbsupport.ru/showpost....postcount=1171 |
#437
|
|||
|
|||
I want to display thumbnails on my page of all the same size and when they are clicked it opens the image in a new browser (like google image search). How would I go about doing this?
|
#438
|
|||
|
|||
I am novice in php code just know how .html and use dreamweaver
I could make the test.php file but lost after that I mean where to make teplate and how to link them ... So, I would be grateful if someone could explain me step by step what, how and where to do thanks a lot |
#439
|
|||
|
|||
I tried Iframe code in the template but it didn't display the website that I wanted to display in the costume page created.
Can anyone help me how to display through template or how to create a page with just header navbar and footer or say no need to fetch template thanks |
#440
|
|||
|
|||
Edit: I fixed it, I was putting the PHP file into the template instead of the HTML stuff.
|
#441
|
|||
|
|||
this method wont work with 3.5.4
|
#442
|
|||
|
|||
nice writeup
|
#443
|
|||
|
|||
is there another copy of this that would work on 3.5.4 ?
|
#444
|
|||
|
|||
This works fine with vBulletin 3.5.4 I used it on my site at vBSkins.com to create a couple of pages.
|
#445
|
||||
|
||||
Works fine with 3.6.0 as well.
|
#446
|
|||
|
|||
It should work with all future versions of vBulletin, all it does is creates a template and you upload one simple .php file, its a great release
|
#447
|
||||
|
||||
I had a problem with the test page coming up blank. Turns out I created the test template as 'Test' rather than 'TEST'. Although my test server is Windows, it appears its still case sensitive. So once that was changed, it all worked perfectly.
Great hack |
#448
|
|||
|
|||
Can somebody please look over this and tell me why it doesn't work?
edit: Nevermind, It turned out to be a problem with the template, not the php code. |
#449
|
||||
|
||||
It works great thanks!!!
I created another template(templeate2) with some information in html. Can insert that new template in the template a created first(template1). template2 in template1. I have tried but it doesn't work. Nothing is showing up. Thanks |
#450
|
||||
|
||||
If im making an affilaite system, would I use:
PHP Code:
|
#451
|
|||
|
|||
Ok please forgive me for the ??? I didn't have coffe today.
If I understand this correctly, for every page you want to create whether its 1 or 20 you make a new php file and an new template???? TIA |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|