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:
‘, site_logo(), ‘
-Right below it, paste this code:
-If you wish the advert to appear below, right before the footer, find this code:
-Right below this, paste this code:
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.
You must be logged in to reply to this topic.