Coinbase

Author Topic: can find the code on the custom theme  (Read 2432 times)

0 Members and 1 Guest are viewing this topic.

Offline shanhi

  • Newbie
  • *
  • Posts: 2
can find the code on the custom theme
« on: April 04, 2007, 10:51:12 pm »
I have found this in the install.xml file
Code: [Select]
<file name="$themedir/index.template.php">
<operation>
<search position="before"><![CDATA[ </td>]]></search>
<add><![CDATA[';
//Welcome Ads
if (function_exists("show_welcomeAds"))
{
$ads = show_welcomeAds();
if(!empty($ads))
{
echo '<td class="windowbg2">';
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
echo '</td>';
}
unset($ads);
}
echo ']]>
</add>
</operation>

I can not find the <td> tag as shown above in the custom theme(dilbermc).Could anyone help me with this. what is the code above the <td> tage.Thanks


 and one more question.I did not see the file Display.template.php and ManagePermissions.php in the custom theme(dilbermc).What should I do now?

  Please help me.I really need this mod.Thank you.
« Last Edit: April 04, 2007, 10:55:23 pm by shanhi »

Offline shanhi

  • Newbie
  • *
  • Posts: 2
Re: can find the code on the custom theme
« Reply #1 on: April 04, 2007, 11:05:19 pm »
sorry,mod or admin,can you move this thread to the theme support board for me please

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: can find the code on the custom theme
« Reply #2 on: April 09, 2007, 09:00:07 pm »
If you cannot find it you can leave it out, the ad mod will still work without that edit. Maybe the theme you use doesnt have a welcome center.

SMF Ads Support Forum

Re: can find the code on the custom theme
« Reply #2 on: April 09, 2007, 09:00:07 pm »
.