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.

2 Phpbb3 questions

Discussion in 'phpBB' started by Dillmando, Apr 16, 2008.

  1. #1
    I have 2 questions about phpbb3.

    First, how can I add an adsense ad to the bottom of the forum.

    Second, im just taking a guess saying that it is not allowed to put an adsense ad in a signature if I do allow html on the forum (just wondering)

    thanks,

    Dillmando
     
    Dillmando, Apr 16, 2008 IP
  2. peter_anderson

    peter_anderson Notable Member

    Messages:
    3,382
    Likes Received:
    152
    Best Answers:
    0
    Trophy Points:
    240
    #2
    1. Its a code edit. I dont know phpBB very well, so I dont know where.
    2. phpBB (I think) doesnt allow HTML access.
     
    peter_anderson, Apr 18, 2008 IP
  3. Eliteboss

    Eliteboss Peon

    Messages:
    289
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Just put your adsense code into your footer template.

    html is not a good idea, leaving yourself open to problems
     
    Eliteboss, Apr 18, 2008 IP
  4. raymond222

    raymond222 Active Member

    Messages:
    287
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #4
    why not?
    You can allow certain tags like img or whatever people can not use for bad purposes
     
    raymond222, Apr 19, 2008 IP
  5. KnuTz

    KnuTz Well-Known Member

    Messages:
    169
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    130
    Digital Goods:
    1
    #5
    edit overall_footer.html in your style/{template_name}/template
     
    KnuTz, Apr 19, 2008 IP
  6. el_jentel1

    el_jentel1 Peon

    Messages:
    14
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    To add adsense in footer, edit overall_footer.html, and for the signature part, yes HTML is not allowed, however you can make a BBCode when used, it'll display adsense, you have the option to make it a private BBCode and not to be shown in posting body.

    Go to ACP => Posting => BBCodes => Add new.

    Create a unique BBCode

    And in the HTML replacement, just put the google adsense code you want, now you'll be able to add adsense into posts, signatures, forum rules buy using a bbcode.
     
    el_jentel1, Apr 20, 2008 IP
  7. Jackuul

    Jackuul Well-Known Member

    Messages:
    2,972
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    180
    #7
    Well, I did mine by editing the theme and using breadcrumbs. That way it is under every single thread at the bottom, and also one at the top - however I split them up so that I could have just a thin linkbox at the top and the ads at the bottom.
     
    Jackuul, Apr 24, 2008 IP
  8. Thaales

    Thaales Guest

    Messages:
    155
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    well :

    Ill show you the way I like to do so taht the • stuff dont have to be updated all the time I change ads or whatever :

    go to :

    youstyle / templates/

    create a ad_footer.html file

    than open overall_footer.html

    find the following :

    <!--
    	We request you retain the full copyright notice below including the link to www.phpbb.com.
    	This not only gives respect to the large amount of time given freely by the developers
    	but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
    	the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
    	"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
    	forums may be affected.
    
    	The phpBB Group : 2006
    //-->
    Code (markup):
    add before :

    <!--INCLUDE ad_footer.html-->

    then save, refresh you template at you admin cp, purge the cache and place you ads code into the ad_footer.html file that you created.

    should be all fine.

    bye
     
    Thaales, Apr 24, 2008 IP
    MH Giant likes this.
  9. MH Giant

    MH Giant Active Member

    Messages:
    325
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    60
    #9
    Great post 1+ rep... This is probably one of the best ways I've seen this done to date.. Great work!
     
    MH Giant, Apr 25, 2008 IP
  10. Thaales

    Thaales Guest

    Messages:
    155
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    thx mate, glad to help.

    just ad the code to your new file ad_footer.html before refreshing your template and purging the cache to make sure it works. otherwise it wont show.

    if anyone need help putting them on the top, before the forums I can show as well.
     
    Thaales, Apr 25, 2008 IP