REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adsense
#1
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>
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)