SMF Ads Support Forum

Themes/Language => Theme Support => Topic started by: shanhi on April 04, 2007, 11:51:12 PM

Title: can find the code on the custom theme
Post by: shanhi on April 04, 2007, 11:51:12 PM
I have found this in the install.xml file
<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.
Title: Re: can find the code on the custom theme
Post by: shanhi on April 05, 2007, 12:05:19 AM
sorry,mod or admin,can you move this thread to the theme support board for me please
Title: Re: can find the code on the custom theme
Post by: bigguy on April 09, 2007, 10: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.