Jerm, Bigguy,
Whenever I include your following modification to my Dilber MC Theme Index.Template.php I get the parse error. My board is then inoperable until I restore Index.Template.php from a backup.
//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);
}
Forum version: SMF 1.1.4
Current SMF version: SMF 1.1.4
Ad Management Mod V2.3
Mod shows as installed but has never worked or even shown up in the Admin Configuration menu. Thanks for any help.
Please show a few lines before and after where you put that code.
Thanks for replying, Jerm.
Code before:
<td valign="middle" height="30" class="smalltext" style="padding-left:10px; padding-top:0px; padding-bottom:0px;">
<b>', $txt[102], '</b>: ', $context['random_news_line'], '
</td>
';
//Welcome Ads
Then I insert this, as found in this forum:
$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 '
Followed by this (existing):
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 '
';
echo '
And ka-blooey! Forum crashes. Where am I going wrong, and why is this so bloody complicated? Thanks for any help!
Does anyone have Ad Management 2.3 working with their Dilber theme? If so, how did you do it???
I need to get this working or find another solution. Can someone please help me or perhaps recommend another product?
Thanks...
Sorry.. nobody else here to help but me, and i'm pretty busy right now with school.
Attach the file or send it to me by email: jerm@smfads.com
Quote from: jerm on December 04, 2007, 11:33:25 PM
Sorry.. nobody else here to help but me, and i'm pretty busy right now with school.
Attach the file or send it to me by email: jerm@smfads.com
Hi Jerm, I sent the file five days ago. Any progress? Did you get it? Shall I send it again??
Thanks,
Hey,
I'm having the exact same problem as DanSoCAl. Any help would be really appreciated.
Thanks,
James