REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ok. So I just got accepted into adsense. I am trying to add the code to the footer of my board. (Mybb)


<div id="debug"><debugstuff></div>
<div id="footer">
    <div class="upper">
        <div class="wrapper">
            <ul class="menu bottom_links">
                <li><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a></li>
                <li><a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a></li>
                <li><a href="#top">{$lang->bottomlinks_returntop}</a></li>
                <li><a href="<archive_url>">{$lang->bottomlinks_litemode}</a></li>
                <li><a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></li>
                <li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
    <div class="lower">
        <div class="wrapper">
            <span id="current_time">{$lang->welcome_current_time}</span>
            <span id="copyright">
                <!-- MyBB is free software developed and maintained by a volunteer community.
        It would be much appreciated by the MyBB Group if you left the full copyright and "powered by" notice intact,
        to show your support for MyBB.  If you choose to remove or modify the copyright below,
        you may be refused support on the MyBB Community Forums.

        This is free software, support us and we'll support you. -->
                {$lang->powered_by} <a href="" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="" target="_blank">MyBB Group</a>.
                <!-- End powered by -->
            <span id="theme">
                <!-- Apart is a series of twelve simple, beautiful themes released completely free of charge.
        You love Apart - that's why you're using it - so why prevent others from finding Apart
        by removing this short, simple created by statement? If you make changes to this theme,
        feel free to modify the created by statement, as long as the originial credit remains
        intact. Furthermore, if you remove or unjustly modify this simple statement, you will
        be refused support for the theme.

        Thanks for your consideration, and best of luck with your forum.
        - Justin S.,
                Theme created by <a href="" target="_blank">Justin S.</a>
                <!-- End theme created by statement -->
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->

That is the footer code. Where in the code do I add my adsense script?

Adsence code:

<script type="text/javascript"><!--
google_ad_client = "CENSORED";
google_ad_slot = "CENSORED";
google_ad_width = 234;
google_ad_height = 60;
<script type="text/javascript"

Possibly Related Threads...
Thread Author Replies Views Last Post
  How to Edit mybb portal page to input adsense v4vikash 1 1,781 Mar 24, 2014, 04:22 AM
Last Post: jackthomas087
  Google Adsense selboy 0 812 Sep 14, 2010, 05:49 AM
Last Post: selboy
  mybb adsense bhatti07 1 3,296 Jun 02, 2008, 06:52 AM
Last Post: teman
  MyBB and Adsense ronintrader 0 1,531 Feb 24, 2008, 05:47 PM
Last Post: ronintrader
  adsense bhatti07 0 1,185 Feb 21, 2008, 11:25 AM
Last Post: bhatti07

Forum Jump:

Users browsing this thread: 1 Guest(s)