i just installed Version 2.3 and ui now have 2 ads showing. one on top of the other. what can i do to change this?
thanks
Attach your index.template.php file..
thanks
You didn't attach the file?
I am getting same thing. Managed to remove the double the showed up a the top of the index but now below the menu double still there. Also when I go to managed ads in admin area all the types I setup show 3 times.
Find:
//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 '
';
//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 '
Replace with:
//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 '
Made that change and still showing twice.
Ive also attached a screen shot of the other issue.
Can you attach the follow template files?
BoardIndex.template.php
Display.template.php
Post.template.php
index.template.php
MessageIndex.template.php
^ Found in ./Themes/default/
Subs.php <= Found in ./Sources
Here they are in the next two posts attached.
Thx
the rest
ok I'm getting double ads too - I've checked all the files you say (not that I'm comfortable looking at these files) and I can't see any double code.
There will be double code in there somewhere. This is why things are showing up double. Check to see if there is double code in the index.php file.