02-18-2008, 07:23 PM
To allow for the mySimpleAds PHP code in your PHPBB Templates...
...Thanks to rig-talk.com for sharing this information.
- Set "Allow php in templates:" to "Yes" on the Security Settings page.
- Paste the mySimpleAds PHP code between <!-- PHP --> and <!-- ENDPHP -->. For example,
<!-- PHP -->
@readfile('http://www.clippersoft.net/mysimpleads/mysa_output.php?r='.$_SERVER['REMOTE_ADDR'].'&h='.urlencode($_SERVER['HTTP_HOST']).'&rf='.urlencode($_SERVER['HTTP_REFERER']).'&show_ad_group=1');
<!-- ENDPHP -->
...Thanks to rig-talk.com for sharing this information.