The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding a new page to vB forums.
I wanted to add a new page to my forums (www.devay.com) named - rules.php
Though I want to have templates to it and all like every other page there's on the forums, so instead i'll use plain HTML, i'll be able to edit the page by editing the templates. What do I need to do to create these templates, and what the template of the PHP page should be? Thanks in advance! -Kedmyster -Devay.com |
#2
|
|||
|
|||
PHP Code:
|
#3
|
|||
|
|||
so that's the php file and in the template, I just need to use, header + footer and everything?
and what do I do in online.php so i'll be able to see someone is looking on that page in who's online? |
#4
|
||||
|
||||
Well, the online thingy you have 2 options... either doing it the hard way (hard coding), or using FireFly's hack...
If your like me, you'd like things done the easy way, so I suggest you take a look at his hack first, here... https://vborg.vbsupport.ru/showthrea...threadid=32849 Otherwise, if you decide to go the more technical route, you can just add a couple pieces of code right into the online.php file, to have it recognize the file, similar to this... PHP Code:
PHP Code:
|
#5
|
|||
|
|||
"sample" I replace with what? the name of the file (^^ rules)?
I actually prefer the coding way (the hard way) =P |
#6
|
|||
|
|||
MetroSports, thanks so much for posting that code, it is just what I needed!
Cindyd |
#7
|
|||
|
|||
all ya need to do this is here, simple:
https://vborg.vbsupport.ru/showthrea...+via+templates |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|