Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default Intergrate Google ads into vBulletin

    Hey, how would I intergrate my Google Ads HTML into my vBulletin forum, just like Habbox does, with one on the top (under nav bar) and one on the right hand side.

    All help and instructions would be greatly appreciated. Thanks.
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  2. #2
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    In styles go to Edit Templates then in the list there should be an "Ad Location Template", expand this and double click ont the location, for e.g. ad_navbar_below for one like Habbox's, click Edit, put your code in and save.
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  3. #3
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    That worked. I would also like a skyscraper advertisement on the right hand side of my forums, I have tried to put it below the footer as
    Code:
    <span style="float: right.">CODE</span>
    but that hasn't worked, it is just staying at the bottom. Any help?


    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  4. #4
    Join Date
    Apr 2009
    Posts
    4,289
    Tokens
    2,022
    Habbo
    iLogan

    Latest Awards:

    Default

    [QUOTE=NeutralizeR;900036]This tutorial is written to show you how to use your Google Adsense codes efficiently in your vBulletin (3.5+) templates. I have a very heavily modified vBulletin style but i used the original style for this tutorial to be simple and match the colors. You can change everything as you want to find the most fitting results for your vBulletin.

    Alternate ads-PSAs to Collapsible ads:


    http://joomla.medspan.info/forum/index.php/topic,57.0.html

    Create a HTML file with this code and save it as collapsible_ad.html:
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title></title>
    <script src="http://pagead2.googlesyndication.com/pagead/google_adsense_script.js" type="text/javascript"></script>
    </head>
    <body style="background-color: transparent;">
    </body>
    </html>
    Upload this file to your web server. (http://www.yourwebsite.com/collapsible_ad.html)

    Go to your Google Adsense account and grap your google_ad_client and google_ad_channel codes. (google_ad_channel is optional)

    Open Notepad and paste these codes as you will change them with youradsensecode and yourchannelcode on the following steps.

    We will use these there ad layouts in this tutorial:

    728 x 90 Leaderboard
    468 x 60 Banner
    234 x 60 Half Banner

    ...and one link unit:

    468 x 15

    Note: navbar template editing step is optional because it may be against the Google Adsense rules for you. If you edit navbar template, almost all of your vBulletin pages will have Adsense ads at the top of the pages. My navbar and header templates include some flash, gif and text content and i update them regularly. It's why i use Adsense ads in navbar. You may apply this step (the ad unit) manually to your FORUMHOME, FORUMDISPLAY, etc templates...

    Open your navbar template: vBulletin AdminCP > Styles & Templates > Edit Templates > Navigation / Breadcrumb Templates > navbar

    (for the link unit)

    Find:

    Add below:


    Results:





    (for the ad unit)

    Find:


    Add below:


    Results:




    Save.



    Open your FORUMDISPLAY template: vBulletin AdminCP > Styles & Templates > Edit Templates > Forum Display Templates > FORUMDISPLAY

    (First thread)

    Find:


    Add below:



    (Last thread)

    Find:


    Add below:


    Results:




    Save.

    http://www.vbulletin.org/forum/showthread.php?t=102466


    Open your search_results template: vBulletin AdminCP > Styles & Templates > Edit Templates > Search Templates > search_results

    (First result)

    Find:


    Add below:



    (Last result)

    Find:


    Add below:


    Results:




    Save.


    Open your postbit(legacy) template: vBulletin AdminCP > Styles & Templates > Edit Templates > Postbit Templates > postbit(legacy)

    (First post and last shown post)

    Find:


    Add below:


    Save.
    http://www.vbulletin.org/forum/showp...30&postcount=7

    Results:


    ex-hxl manager
    ex-event organizer
    ex-gfx designer
    ex-competition staff
    ex-content staff
    OFWGKΔ

  5. #5
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    You didn't write this. And half the images don't work!
    Ommm =[

  6. #6
    Join Date
    Apr 2009
    Posts
    4,289
    Tokens
    2,022
    Habbo
    iLogan

    Latest Awards:

    Default

    :@ Did I say I made it

    No I DID NOT MAKE IT

    Jhezz, all people like to do on Habbox is criticize.
    ex-hxl manager
    ex-event organizer
    ex-gfx designer
    ex-competition staff
    ex-content staff
    OFWGKΔ

  7. #7
    Join Date
    Apr 2009
    Location
    United Kingdom
    Posts
    1,111
    Tokens
    100

    Latest Awards:

    Default

    Quote Originally Posted by iApps View Post
    You didn't write this. And half the images don't work!
    Ommm =[
    Did you not see: [QUOTE=NeutralizeR;900036]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •