It is very important as forum owner to monetize your forum for mobile users, it is possible that 40 – 60% of your visitors land into your forum through their mobile device. And due to rapid growth of mobile technology, it is very important and necessary to make either your website or forum mobile friendly and not just friendly but also a money making venture for yourself.
Let get started on how you can easily monitize your smf forum for mobile viewer or users.
STEP 1: You need to first generate the code, be it google adsense or other Ad company. if it is google Adsense, i wll recommend you create a 320 X 50 banner ads for compatibility with low-end mobile device.
STEP 2: Open a Notepad and paste the Ads code you generated in STEP 1
STEP 3: Save the Notepad as “ads.php” . NOTE: when you want to save the file, make sure you change the “save as type” to “all files” and in the name section field, type “ads.php” and click on Save.
STEP 4: Login to your forum hosting control control panel and navigate to the root of your domain “Public_html”.
STEP 5: Click on “Upload” and navigate to where you save the notepad code (ads.php) and upload it.
STEP 6: After succesful upload, find wireless.template.php (public_html/Themes/default/Wireless.template.php)
STEP 7: if you want the advert to appear at the top, just above the header, then find the below code.
<center><p>', site_logo(), '</p></center>
STEP 8: Right below the above code in quote , kindly place the below code
STEP 9: But if you want the advert to appear just before the footer section, find the below code in quote
global $context, $settings, $txt, $options, $boardurl, $scripturl;
STEP 10: Right below the above code you just find, place the below code
STEP 11: Click on Save and check your forum on smart phone, but note if it is google adsense you will need to wait for some minutes before the Ad will appear.
STEP 12: We are DONE!
PS: Please ensure you follow the steps as explained above, you misplacing this codes may render your template useless.