How to add adsense code to vanilla forum?

i looked at vanilla and really liked the cool design of the forum software. After setting up my forum powered by vanilla i wanted to show some adsense ads. i did download the google adsense plugin for vanilla and it never worked and there wasnt much of information in the web on how to add it.

i did look into the code and finally did some tweaking in the code files.

To manually add adsense code, first look for this file default.master.php inside dashboard views


and its this file you have to edit edit. Paste the adsense code just above this line

 <div id="Body">

and viola! it worked for me!

Similar Posts:


Prabhu Balakrishnan

I am an entrepreneur and graduate in Computer science engineering, pretty cool chap, blogging since 2005. My interests are Machine learning, Parallel computing, Computer vision, PHP, Wordpress, Linux etc. I like to chill out with travels, video games and a cup of hot coffee. I am born in India, currently living in Budapest, Hungary. Feel free to contact me anytime!

  1. Sonya

    Everything is very open with a clear explanation of
    the issues. It was truly informative. Your website is useful.
    Many thanks for sharing!

  2. Hollie

    Greetings! Quick question that’s completely off topic. Do you know how to make your site mobile friendly? My blog looks weird when browsing from my iphone. I’m trying
    to find a theme or plugin that might be able to resolve this issue.
    If you have any suggestions, please share.
    With thanks!

  3. posts

    Hey! I know this is kind of off topic but I was wondering which blog platform are you using for this site?

    I’m getting sick and tired of WordPress because I’ve
    had problems with hackers and I’m looking at alternatives for another platform. I would be great if you could point me in the direction of a good platform.


    Hello! Do you know if they make any plugins to safeguard against hackers?
    I’m kinda paranoid about losing everything I’ve worked hard on.
    Any tips?

  5. Iola

    Hey there this is somewhat of off topic but I was wondering if
    blogs use WYSIWYG editors or if you have to manually
    code with HTML. I’m starting a blog soon but have no coding experience so I wanted to get advice from someone with experience. Any help would be greatly appreciated!

  6. Micheal

    For newest information you have to pay a quick
    visit web and on internet I found this web site as a
    best website for most recent updates.

  7. Environment With Green Energy

    This website was… how do you say it? Relevant!! Finally I’ve found something which helped me. Thanks a lot!