The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to add Custom Pages to a forum ?
How to add Custom Pages to a forum ?
I found this ( http://www.vbulletin.com/forum/showthread.php?t=197563 ) and tried it out but all i get is a blank page. I don't understand on where am I supposed to place the html code. Thanks for any info. |
#2
|
||||
|
||||
The html code goes into a template that you add yourself. There are two (at least) other articles about adding pages. All the pages do the same thing, but maybe it is explained better in another one - How to create your own vBulletin-powered page! (uses vB templates) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc.
|
#3
|
||||
|
||||
Thanks, so I have to crate a .php file first?
I have created a custom template but don't know where to place the html code in the template. I am trying to make a status page for the forum. A page where user can click on a button to to say if the product is working or not at the current time. |
#4
|
||||
|
||||
Usually if a forum is down, it's because the database is down or apache and/or mysql is not running (or the host or server are down). Using templates will not work if the database is down or mysql is down since they are stored in the database. And, a php page won't work if apache isn't running. So, I'm not sure how it is you plan to do this status page.
But, to answer your question regarding those pages I linked you to, you would need aphp page to spit out the contents of your template. If all you want is html, then just write a basic html page - no need for the use of templates. |
#5
|
||||
|
||||
I think we misunderstood each other.
I was going to make a status page for electronics devices so that the forum usurers can go on that page and see if there product is working correctly or if it needs updates. This would be nice to have but I think I need to do more reading. Thanks for the help :up: |
#6
|
||||
|
||||
edit:
i posted in the wrong thread sorry.... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|