The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[HOW TO - vB4] Create your own vBulletin page
Hello,
I created my presentation page, but it does not work! Following this guide: https://vborg.vbsupport.ru/showthread.php?t=228112 Can you help me and correct the mistake? This is my .php file (presentazione.php): __________________________________________________ ________ PHP Code:
Can you help my, please? |
#2
|
||||
|
||||
I've moved your thread from the modifications area (those are for publishing vBulletin products/styles). I've also enclosed your PHP code in the appropriate tags to make it easier to read.
The main issue I see is that you're trying to define the templates by using the code rather than giving the template names. You need to use the Style Manager to create the templates in the Master Style, and then use their names in your PHP script. |
#3
|
|||
|
|||
Quote:
I don't know how do it. Can you correct it so that I understand, please? |
#4
|
||||
|
||||
This code here:
HTML Code:
{vb:stylevar htmldoctype} <html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> <head> <title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title> {vb:raw headinclude} {vb:raw headinclude_bottom} </head> <body> {vb:raw header} {vb:raw navbar} <div id="pagetitle"> <h1>{vb:raw pagetitle}</h1> </div> <h2 class="blockhead">Title</h2> <div class="blockbody"> <div class="blockrow"> Text </div> </div> {vb:raw footer} </body> </html> PHP Code:
|
Благодарность от: | ||
RichieBoy67 |
#5
|
||||
|
||||
Go into the admincp under styles and under the main style click create template in the drop down menu.
|
#6
|
||||
|
||||
Quote:
PHP Code:
PHP Code:
|
#7
|
||||
|
||||
Quote:
For example, here's a very simple script I coded a while back for someone: PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|