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 |
#1337
|
|||
|
|||
dammit, i cant get it to show its all just a white page??
|
#1338
|
|||
|
|||
Make a test.php then put the code in test.php
then make a template called test then put the code in. then go to www.yoursite.com/test.php |
#1339
|
|||
|
|||
yea i worked it out literally 5 mins after i posted that i feel like a right idiot now
|
#1340
|
|||
|
|||
how can i get this to work on the theme im using without it going on the forum home plus i get white page
|
#1341
|
|||
|
|||
did you make the custom template in the theme you wanna use??
|
#1342
|
|||
|
|||
does anyone know how i would make forums on this page like from the forumhome
|
#1343
|
||||
|
||||
i have litl problem with this, i make file and make template
and its all working the page its showing byt later when i want to edit the template, i Search Templates, with words i know is on the template, it didnt find me anything, even i list all templates, i dont see the one i create, how to fix this issue |
#1344
|
||||
|
||||
The template should be at the top of all your templates, thats where the custom ones are
|
#1345
|
||||
|
||||
i dont see it, does vbulletin automatic give some prefix, in my case i name it "impresum" list all didnt find it
|
#1346
|
||||
|
||||
Perhaps you are looking in the wrong style for the template.
|
#1347
|
||||
|
||||
no, i conrect template i add and search, i try to add the code again with same name as the template (impresum)
nothing chance, the page its still the same dont know what else to do:erm: |
#1348
|
||||
|
||||
bump, someone to help me, i make working but can find the template to modified, try everything
does need to have some prefix or |
#1349
|
||||
|
||||
Are you doing a Search in Templates for the template name? Have you looked in the database to see if it is there?
|
#1350
|
||||
|
||||
No, vBulletin does not give it a prefix. It doesn't need one. It would have the name you gave it, and it would be at the top of the template list. Which style did you create it in? Have you tried recreating it in that style?
|
#1351
|
||||
|
||||
Quote:
i create new style (default) and put template on it, and again i dont see the template does some option to hide those templates p.s. i use vBulletin 3.8.7 Patch Level 2 --------------- Added [DATE]1323878406[/DATE] at [TIME]1323878406[/TIME] --------------- edit ive installed vbulletin on localhost and create template and i see the new created template under category Custom templates here i dont have that category, how can i create it --------------- Added [DATE]1323878871[/DATE] at [TIME]1323878871[/TIME] --------------- p.p.s can couse this problem since ive change admincp location |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|