How to place Adsense in post on SMF

This topic contains 6 replies, has 3 voices, and was last updated by  Oscar Frank 6 years, 1 month ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5129

    Oscar Frank
    Keymaster

    This is a step by step guide to place adsense code below first post in each topic on SMF to increase your earnings. Google Adsense is the best approach when it comes to getting steady income from your Forum.

    Here are the steps below.1. Log Into Your Control panel (i mean where your files are hosted not the admin panel)2. Navigate and click on the Themes Folder .3. Then Click on Default folder.4. Then click and Edit your Display.template.php file.After you’ve opened that section, Locate this code (press Ctrl+F then type the code)

    ',$message['body'], '

    After you’v found that, then replace the entire code with this:

    ';if ($message['id'] == $context['first_message'])echo '

    ';echo '', $message['body'], '

    Then save your file.Remember to change the “pub-xxxxxxxxxxxxxxx ” to your publisher ID on adsense.And that's it. View your SMF forum's full site. And all topics first post would have adsense embeded.

    #8383

    Oscar Frank
    Keymaster

    It works great. U 2 much.

    #8384

    Oscar Frank
    Keymaster

    @O-swizzle, Its OK…..

    #8385

    Happy
    Member

    Nice share boss

    #8386

    Oscar Frank
    Keymaster

    Nice share boss

    You are welcome… you can as well +1 my Karma

    #8387

    buzzkill
    Member

    Kudus

    #8388

    Oscar Frank
    Keymaster

    Kudus

    Thanks


Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

21,130FansLike
2,122FollowersFollow
702FollowersFollow
1,087SubscribersSubscribe

Recent Posts