maadogg
04-30-2006, 06:20 PM
I'm using PHPbb as my forum for my website. I want to input banners on the top and bottom of the website. I can't find the right PHP file to do that, can someone please help?????
Basically, which file do I open up to through in the banner code.:usflag:
I tried lookin' at the index under the phpbb folder, but no luck.
Duport
04-30-2006, 06:24 PM
overall_header.tpl
overall_footer.tpl
index_body.tpl
Are you inputting banner ads or content driven like Google? If simply banners...just do what Duport listed and to add to his index_body.tpl reference:
If you are going to use google, you will want to place it in the following three files:
index_body.tpl (will place ad on main index.php page)
viewforum_body,tpl (will place ad on the forum topics page)
viewtopic_body.tpl (will place ad on the individual topic page)
In order for the google content ads to work best, the spider needs to crawl your data. Placing the google ad in only the header will defeat the purpose of the content driven ad as the header file is non-specific and does not have a indentifying tag for each page. Using the viewforum & viewtopic files, the spider can crawl each specific page since PHPBB assigns a consistent identifier to each one and can return the relevant ads.
Of course if you are just using a regular non-targetted banner, that explanation is not applicable.
maadogg
04-30-2006, 06:47 PM
thanks, so much, I'll try that out!!!!!!!!!!!:peace:
maadogg
04-30-2006, 07:02 PM
DO PHP statements work in TPL, because my custom made header made through PHP aren't showing up in the over_header.tpl file for PHPBB
orbitz
04-30-2006, 08:55 PM
DO PHP statements work in TPL, because my custom made header made through PHP aren't showing up in the over_header.tpl file for PHPBB
No. go search on http://www.phpbbhacks.com to see if there is any hack for this. I used to use Invision forums with hack which allowed php to be included.