1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Editing VBulletin Code

Discussion in 'vBulletin' started by bschneider5, Apr 21, 2006.

  1. #1
    I just installed VBulletin and set it up, I am at a loss trying to add some ads, the code is SOOOO CONFUSING!!!!!

    I wanted to put an ad block in the upper right hand side, like on this site. Anyone know where to stick the code?
     
    bschneider5, Apr 21, 2006 IP
  2. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #2
    Have you tried asking vbulletin.com since that is why they are there? You have a dedicated support line which you paid for. Someone may know here, but you should always know you can ask them on vbulletin.com
     
    fsmedia, Apr 21, 2006 IP
  3. Dan Kenitz

    Dan Kenitz Guest

    Messages:
    116
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I did it myself. You can find the information on the vBulletin website, which is where they directed me once I ask.
     
    Dan Kenitz, Apr 23, 2006 IP
  4. Bonsai_Ryan

    Bonsai_Ryan Peon

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You just have to edit the header template file.

    In your admin cp go to styles and templates ->style manager->edit templates->header

    Within the first lines you will see your logo code, denoted by <!-- logo -->.

    Find
    <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="[COLOR="Red"]Your webpage name[/COLOR]" /></a></td>
    Code (markup):
    and immediately below it enter
    <td align="$stylevar[right]"> Your advertising code  </td>
    Code (markup):
    Make sure this is all within the table row <tr> that your logo is in. The code immediately after you banner code (you don't have to enter this it should already be there) should be
    </tr> 
    </table> 
    <!--logo-->
    Code (markup):
    Hope this helps :)

    Vbulletin isn't confusing once you get used to it. The template system actually is very useful. Brush up (or learn) your html and php skills and dealing with vbulletin will be fairly easy.
     
    Bonsai_Ryan, Apr 24, 2006 IP