I need a little info.
I went to uninstall my ad mod, but I deleted it accidently and now I can not uninstall it, I backed my forum up so I could make a new forum but it won't work because it can't find the ad files, so just wondering how do I delete the ad files if I can't uninstall it?
Download the mod again and upload it to your /Packages directory. Then it might appear on your packages list again.
Meaning that the file already exists? Are you uploading that through FTP or the package manager?
If you're unable to use the package manager to uninstall it, you'd need to go through your templates and manually remove the ad code. It's a fairly simple task and I'm willing to go through it step by step if you need it.
Yeah I can't use the package manager at all. It would be much appreciated if you would do that.
Are you using a custom theme or the default theme?
Attach your index.template.php from that theme.
here you go.
Find and remove:
//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);
}
Find and remove:
//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);
}
I've done that
Alright. Attach BoardIndex.template.php, Display.template.php, and MessageIndex.template.php
here you go
All fixed up. I removed all ad-mod code.
Remove that table. If you don't know how to do that safely, PM me a link with the backup.
I removed them but now I am having lots of trouble with other things, basically I want to be able to have my backups work, but everytime I try to import them there's another problem...