How To Add Adsense For Mobile To Your SMF Forum

Oscarmini – Quality Tech & Info Arena Forums Make Money Online Tips How To Add Adsense For Mobile To Your SMF Forum

This topic contains 0 replies, has 1 voice, and was last updated by  ::.NaijaTooth.:: 5 years, 9 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #5803

    ::.NaijaTooth.::
    Participant

    Inserting Ads (Adsense, Inmobi, Admob or Buzzcity) To SMF Forum?-You first need to generate and copy out the php code for the advert and paste it to a text file. If you’re using Adsense for mobile, be sure you selected ads for both low and high end phones and copy out the codes in php format.-Save the text file as ads.php (be sure the extension is php)-Upload the php file to your domain root (public_html)-Find Wireless.template.php (./public_html/Themes/default/Wireless.template.php)-If you want the advert to appear at the top just above the header, find this code:

    Code:

    ‘, site_logo(), ‘

     

    -Right below it, paste this code:

    Code:
    include(‘ads.php’);

    -If you wish the advert to appear below, right before the footer, find this code:

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

    -Right below this, paste this code:

    Code:
    include(‘ads.php’);

    You can as well add the ads to any other location depending on whether you have a clear idea on php coding. Inserting the advert at a wrong place might render your template useless.


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

21,223FansLike
2,145FollowersFollow
707FollowersFollow
928SubscribersSubscribe

Recent Posts