Announcement

Collapse
No announcement yet.

How to modify a header?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Baba Wawa
    replied
    Mad Mikey,

    What a great breakdown, and how cool of you to lay it out like that for me.

    I do notice that while the "signifiers" (so to speak) are in html, the "content" seems to be in php. I'm wondering if I should try to learn some php. Not necessarily because I want to do any coding, but just so it won't all look so foreign (and therefore scary) to me.

    Thank you again, Mike, for taking the time to translate for me.

    Leave a comment:


  • Mr. Mikey
    replied
    Okay, so the HTML code posted above, lemme break it down for you...

    PHP Code:
    <td align="$stylevar[left]"
    this is telling the browser to use the stylevar which is defined under 'left', (being vague cos I don't really use\edit this in my skins)

    PHP Code:
    <a href="$vboptions[forumhome].php$session[sessionurl_q]"
    this is telling the browser to go to the 'home' url specified in the vBulletin Options. The session url bit is to do with cookies and security.

    PHP Code:
    <img src="$stylevar[titleimage]border="0" alt="$vboptions[bbtitle]/> 
    this is telling the browser to use the title image listed in the style manager under the "Title Image This is the image located in the 'header' template, used as the main logo for your forum." and if images are disabled in the browser the "$vboptions[bbtitle]" is what is displayed, it is the forum name, which is specified in the vBulletin Options

    Leave a comment:


  • Steve Machol
    replied
    Yes, you can use HTML in the templates.

    Leave a comment:


  • Baba Wawa
    replied
    Originally posted by Baba Wawa View Post
    Thank you, Steve, for your reply.

    What language or code is this written in? (I.e., how will I indicate what font, size, etc., should be used.)
    Okay, I can see that it's some form of HTML, using $stylevars.

    I was able to type in the name of my forum, but was not able to render it in a large size. Shouldn't ordinary HTML work there?



    Originally posted by Baba Wawa View Post
    How can I find the headinclude template?
    I saw the headerinclude template just below the header template.

    Originally posted by Baba Wawa View Post
    Surely every author knows and anticipates that every user of a style will want to remove the name of the style? and will want to put the name of the actual forum into the header? I have never, ever seen a forum that had the name of the style prominently featured in the header. (In very small letters in the footer, yes, but not anywhere else.)
    It still seems to me that this must be the case.

    Leave a comment:


  • Baba Wawa
    replied
    Thank you, Steve, for your reply.

    Originally posted by Steve Machol View Post
    1. Yes, just edit the header template and replace this section with the appropriate code for your text:

    <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

    What language or code is this written in? (I.e., how will I indicate what font, size, etc., should be used.)


    Originally posted by Steve Machol View Post
    2. The depends on the style and where they added this. Check the headinclude template. Also make sure that the author of that style allows you to do that.
    How can I find the headinclude template?

    Surely every author knows and anticipates that every user of a style will want to remove the name of the style? and will want to put the name of the actual forum into the header? I have never, ever seen a forum that had the name of the style prominently featured in the header. (In very small letters in the footer, yes, but not anywhere else.)

    Leave a comment:


  • Steve Machol
    replied
    1. Yes, just edit the header template and replace this section with the appropriate code for your text:

    <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

    2. The depends on the style and where they added this. Check the headinclude template. Also make sure that the author of that style allows you to do that.

    Leave a comment:


  • Baba Wawa
    started a topic How to modify a header?

    How to modify a header?

    I have two questions about modifying a header (in my ever-present, although mostly failing effort to accomplish something).

    1) On the vBulletin default style, can I remove the vBulletin logo and replace it with just text? Can I just type in "My Forum" and use that in place of a logo? (If so, how would I do that?)

    2) If I upload a style or skin from another site (e.g., MinerSkinz or vBSkins), how do I remove the name of the style from the header and how can I put the name of my forum in its place?

    On this style, for example, how would I delete the word "Officemate" and how would I substitute the name of my forum? Or on this one, how would I remove the word "Kencana" and replace it with the name of my forum? What would be the the simplest way of doing that -- could I just type it in somehow?
    Last edited by Baba Wawa; Fri 24th Apr '09, 6:04pm.

Related Topics

Collapse

Working...
X