News:

Welcome to SMF Ads Support Forum

Main Menu
Coinbase

pdx-dk-09i Theme (TP version)

Started by Fragenstein, April 12, 2009, 02:14:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fragenstein

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

ccbtimewiz

Well, from what I can see so far;

Open index.template.php, find:

</head>
<body>


Replace with:
</head>
<body>';

// ad code

echo '

Fragenstein

#2
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?

Fragenstein

I proceeded with all the edits, and the ads are now working 100%. Thanks for getting Me off on the right track  :)

ccbtimewiz

Now, if only the other 90% of people that use this mod could do that.

Glad to see I helped you get it. :)