MyBB Central

Full Version: Adsense
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok. So I just got accepted into adsense. I am trying to add the code to the footer of my board. (Mybb)

code:

Code:
<div id="debug"><debugstuff></div>
    </div>
</div>
<div id="footer">
    <div class="upper">
        <div class="wrapper">
            {$lang_select}
            <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>
            </ul>
        </div>
    </div>
    <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="http://www.mybboard.net" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://www.mybboard.net" target="_blank">MyBB Group</a>.
                <!-- End powered by -->
            </span>
            <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., bellomandesign.com
                -->
                Theme created by <a href="http://bellomandesign.com/" target="_blank">Justin S.</a>
                <!-- End theme created by statement -->
            </span>
        </div>
    </div>
</div>
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->
{$auto_dst_detection}
</div>

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

Adsence code:

Code:
<script type="text/javascript"><!--
google_ad_client = "CENSORED";
/* CENSORED */
google_ad_slot = "CENSORED";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>