The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Working on templates and styles
Hello, I am new to working with VB and would like to learn what is needed on creating my own templates and styles.
I have a pretty good grasp on (x)html and css, but I am not understanding how vb has it lay out. I have been learning php, and have been playing around with codes that I have writen on my local server. The problem that I am having is figure out what goes with what, and all of the templates that need to be changed so I have a 'site' wide layout. I would like to know what are all of the templates that need to be changed so I can do it (I am also doing 404 pages this way), so I a web site that 'looks' the same through out. Thanks in advance. Sorry for the noob Q's but have to start some where |
#2
|
||||
|
||||
vBulletin 3's layout is built using tables that are controlled via CSS.
Whenever I want to edit my forums to look exactly like my site I edit the header and footer templates, since they are globally generated in every page of vBulletin. Hope it helps. And if that doesn't help you can try editing every template that is in all caps (eg. FORUMHOME, SHOWTHREAD, etc...) and putting your sites code in those, since those are the main bodies of the different pages. I tried my best to explain but I'm sure I didn't do very good. =/ |
#3
|
|||
|
|||
Quote:
I also want to edit pages like Activate Your Account, Email Activation Codes... all that are NOT general pages. Thanks in advanace |
#4
|
||||
|
||||
1. If the need comes up, you may need to edit the child templates.
2. Not too sure on those... |
#5
|
||||
|
||||
Not all of the templates need to be changed. They obviously all have different functions throughout the board. The main bodies, as Ryan said, are the main templates. (Forumhome, showthread and would modify the look of your forumhome and thread display respectively)
I really only think that the thing you will see on every single page is the header and footer. What else do you want to add to display on every page? |
#6
|
|||
|
|||
Quote:
basically I want my site to show my own personal 'header', along with a left side menu, and possible a colum on the right. With my forum in the middle (if I was to have a right colum) Though I haven't changed any thing yet, I have been going thru the 'Styles and Templates' and looking thru all of them to find the $navbar and $footer, if they are there, those are the ones that I will change. (hoping that is all that is needed for that 'grouping') But I have a question about some of the catagories like... Poll Templates Help Templates I didn't see any $navbar and $footer, in any of the templates there, would I have to change the poll.php file for this to happen or is it inherited from another template, and if so... which one. Any help would be great |
#7
|
|||
|
|||
bump
|
#8
|
||||
|
||||
The poll templates don't have $header or $footer because they are part of a page, and do not generate whole pages for themselves. A poll is just shown in a part of showthread, and showthread includes the $header and $footer variables while the poll would not.
|
#9
|
|||
|
|||
Thanks Tony, that help cut out alot of bs on editting, now I just got to figure out how to do borders similar (but different) like is what around each post, any tutorials around here on that. I learned that I am not as good as I thought I was with css (not that I was any good )
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|