Firefox PHP

Inserting inline ads

Posted by ba_developer 
Inserting inline ads
September 08, 2011 04:56PM
I want to insert inline ads not only in my posts but on anyone's post. Would putting an ad code that includes inline ads in the banner module do the job?
Re: Inserting inline ads
September 08, 2011 05:09PM
I don't see how that would do the job. The banner manager is designed for adding a banner to the top or bottom of the page. For anything more complex than that, changing the templates seems more feasible to me.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Inserting inline ads
September 08, 2011 11:00PM
I see, I rather ask since I don't want to go ahead and mess with the source code right away.

I forgot to include in my question, I can't find anything regarding including google analytics. My guess is that again, going to the template's source code?

Thank you!
Re: Inserting inline ads
September 09, 2011 02:22AM
yes, stuff like that needs to be added into the templates directly.


Thomas Seifert
Re: Inserting inline ads
October 24, 2011 07:56PM
responding to ba_developer

I have set up site verification tags in header and google analytics in footer.

OK. I have site verification for Google, Yahoo and Bing. I have picked up the meta tags for these when I registered the site.
To add this at the top of the file I open header.tpl in my customised theme templates folder. Then just after the line that reads
<title>{HTML_TITLE}</title>
I added the three lines of site verification (one per SE)

Then for google analytics
I opened footer.tpl in the theme templates folder. THen after the line
</div> <!-- end of div id="phorum" -->
and before the line
</body>
I added the google analytics code.

Unless the developers tell us otherwise it looks like job done.

Hope this helps
Sorry, only registered users may post in this forum.

Click here to login