How to integrate TLA ads with phpBB3
I’m currently updating the niche marketing forum from phpBB2 to phpBB3. It’s almost ready, but I just couldn’t figure out how to integrate TLA (Text Link Ads) code with phpBB3.
By default, phpBB3 templates don’t process PHP code. With phpBB2, I was able to find an easy work-around since many members have already done it. Since phpBB3 is still new and in RC stage, I had to find a way to make it happen myself.
First of all, I have to tell you that I’m not a programmer. So if you know a better way to accomplish this, PLEASE let me know. Let’s begin.
How to integrate TLA ads with phpBB3
1) Create a file called “textad.php” and put your TLA’s PHP code for your account. Save it in the same directory as where your local_xxxxx.xml file is located.
2) Open /includes/functions.php *try to use text editors like notepad, or edit directly from Cpanel. Using Dreamweaver or other editors can cause annoying errors.
3) Find ‘SITENAME’ => $config['sitename'], and right above this line add:
'TEXT_LINK_ADS' => $text_link_ads,
4) About 3 lines above, find :
// The following assigns all _common_ variables that may be used at any point in a template.
5) Add the following code below or above it :
ob_start();
include("textad.php");
$text_link_ads = ob_get_contents();
ob_end_clean();
5) Save
6) Open any of the template files and add the following code where you want to display the ad :
{TEXT_LINK_ADS}
Well, that’s it! you are done. :)
August 21st, 2007
Written by Bo Bang

Any ideia how to implement this on phpBB2?
Posted on December 4th, 2007Funtions.php is diferent i belive…
When I can find how Integrate TLA ads in IPB?
Posted on March 25th, 2008Thanks.