OscarminiOscarmini
  • Home
  • Reviews
  • Gadgets
  • Computers
  • How Tos
  • Travel & Lifestyle
  • Phone ROMs
  • Contact us
    • Advertise
    • About Us
Facebook Twitter Instagram
  • Home
  • Reviews
  • Gadgets
  • Computers
  • How Tos
  • Travel & Lifestyle
  • Phone ROMs
  • Contact us
    • Advertise
    • About Us
Facebook Twitter Instagram
Oscarmini Oscarmini
Subscribe
  • Home
  • Reviews
  • Gadgets
  • Computers
  • How Tos
  • Travel & Lifestyle
  • Phone ROMs
  • Contact us
    • Advertise
    • About Us
OscarminiOscarmini
Home»General»Inserting Ads (Adsense, Buzzcity, Admob and Inmobi) to SMF Wap2 (mobile version)
General

Inserting Ads (Adsense, Buzzcity, Admob and Inmobi) to SMF Wap2 (mobile version)

Oscar FrankBy Oscar Frank2 Mins Read
Facebook Twitter WhatsApp LinkedIn Email
Share
Facebook Twitter LinkedIn WhatsApp Pinterest Email

I recently got a mail from a friend who was asking me on how I worked around adding my Adsense for mobile Ads on the mobile version of my SMF forum (SMF Wap2). i tried searching through my blog to give him a link just to discover I had never made such a post.

Well, here is how I added my Adsense for mobile to the mobile version of my SMF forum.

How to add Ads to SMF Wap2 (mobile version)

how to insert adsense, buzzcity, inmobi and admob ads to smf mobile wap2 version

  1. Log in to your Adsense account, then click on the My Ads tab, then click on Mobile Content on the left Sidebar.
  2. Now Generate a New Ad Unit, then generate the code and save it in notepad as ads.php (a php file), now upload it to your domain root (public_html) – we are assuming your forum is the root domain in your hosting account, if not, go to (public_html/theforumdomain.com/), make the upload there.
  3. Now locate your Wireless.template.php which can be found at (./public_html/Themes/default/Wireless.template.php) or (./public_html/theforumdomain.com/Themes/default/Wireless.template.php)- if it’s not your root domain, then Edit it.
  4. If you want your ads to appear at top, search for


    <center><p>', site_logo(), '</p></center>

    Now paste this code directly below it.


    include('ads.php');

    – If you want your ads to appear at top, search for


    global $context, $settings, $txt, $options, $boardurl, $scripturl;

    Now paste this code directly below it


    include('ads.php');

  5. You can now save it. And that’s it.

Use this same principle to add Imobi, Admob and Buzzcity Ads to your SMF wap2 Mod. Feel free to ask question if need be using the comment box.

Blogger tips Simple Machines Forum Smf Smf Tips webdesign
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Oscar Frank
  • Website

A Nerd who blogs, makes music, Video-graphs, writes #codes and LOOPS the whole process for a living. Yeah! That's me. I'm on Facebook, Twitter or Instagram

Related Posts

EE launches UK’s first-ever gamers’ workout

May 13, 2022

AWS and Elev8 to Offer Digital Skills Training to Africans

May 12, 2022

Xiaomi begins 12th Annual MI Fan Festival 2022

April 11, 2022
View 4 Comments

4 Comments

  1. Ndubuisi on November 27, 2012 1:55 pm

    thanks for this helpful tip.

    Reply
    • Oscar Frank on March 29, 2013 4:04 am

      You are welcome Ndubuisi.

      Reply
  2. von COLLINZO on October 22, 2013 12:11 am

    Very interesting post bro. I know alot of people who just got in to smf would be looking for this.

    To add, I recently Created a Post on how to insert ads immediately after each post. you might wanna check it out here. http://guruszone.net/scripts-modifications/how-to-insert-ads-after-first-post-in-smf-wapmod-wap2-template/

    Reply
    • Oscar Frank on October 22, 2013 5:29 am

      Thanks for finding time to read through. Oh! I’ll check it out.

      Reply

Leave A Reply Cancel Reply

Latest Posts

Microsoft advises users to Uninstall latest Windows 11 update

May 18, 2022

Topship Raises $2.5m Seed to Build Africa’s Flexport

May 18, 2022

Apple is Testing iPhones With USB-C Ports

May 18, 2022

Google Translate Adds 24 New Languages

May 16, 2022
Oscarmini
Facebook Twitter Instagram YouTube
© 2022 Oscarmini Co. Designed by illBytes.

Type above and press Enter to search. Press Esc to cancel.