I have toyed around with the templates for hours and am not having any luck getting the ads to display.
Any help appreciated...
TinyPortal v1.0 beta 3
SMF 1.1.8
Well, from what I can see so far;
Open index.template.php, find:
</head>
<body>
Replace with:
</head>
<body>';
// ad code
echo '
Thanks for the reply. I changed the code like this:
</head>
<body>';
//Display ads on the top of the page
if (function_exists("show_topofpageAds"))
{
$ads = show_topofpageAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
echo '
It does work at the top of the page now. :) Should I continue with the other template edits so they will show in other placements?
I proceeded with all the edits, and the ads are now working 100%. Thanks for getting Me off on the right track :)
Now, if only the other 90% of people that use this mod could do that.
Glad to see I helped you get it. :)