Coinbase

Author Topic: pdx-dk-09i Theme (TP version)  (Read 2914 times)

0 Members and 1 Guest are viewing this topic.

Offline Fragenstein

  • Jr. Member
  • **
  • Posts: 54
    • House of Fragenstein
pdx-dk-09i Theme (TP version)
« on: April 12, 2009, 01:14:38 am »
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
« Last Edit: April 12, 2009, 01:53:53 am by Fragenstein »

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: pdx-dk-09i Theme (TP version)
« Reply #1 on: April 12, 2009, 08:58:25 am »
Well, from what I can see so far;

Open index.template.php, find:

Code: [Select]
</head>
<body>

Replace with:
Code: [Select]
</head>
<body>';

// ad code

echo '

Offline Fragenstein

  • Jr. Member
  • **
  • Posts: 54
    • House of Fragenstein
Re: pdx-dk-09i Theme (TP version)
« Reply #2 on: April 12, 2009, 07:40:43 pm »
Thanks for the reply. I changed the code like this:
Code: [Select]
</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?
« Last Edit: April 12, 2009, 07:45:09 pm by Fragenstein »

Offline Fragenstein

  • Jr. Member
  • **
  • Posts: 54
    • House of Fragenstein
Re: pdx-dk-09i Theme (TP version)
« Reply #3 on: April 12, 2009, 10:50:39 pm »
I proceeded with all the edits, and the ads are now working 100%. Thanks for getting Me off on the right track  :)

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: pdx-dk-09i Theme (TP version)
« Reply #4 on: April 13, 2009, 12:41:31 pm »
Now, if only the other 90% of people that use this mod could do that.

Glad to see I helped you get it. :)

SMF Ads Support Forum

Re: pdx-dk-09i Theme (TP version)
« Reply #4 on: April 13, 2009, 12:41:31 pm »
.

 

.