Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: numus on January 06, 2012, 08:49:04 AM

Title: How to uninstall something you deleted on accident
Post by: numus on January 06, 2012, 08:49:04 AM
I deleted a copy of a modification package after installing it (on accident). How do I uninstall that package now?
Title: Re: How to uninstall something you deleted on accident
Post by: numus on January 06, 2012, 08:50:40 AM
I also had one that apperently the server timed out while installing so it only half installed... Now i am getting the errors

Type of error: Undefined 
http://forum.sdx-developers.com/?action=post;quote=235305;topic=18613.08: Undefined index: 7844File: /mnt/stor3-wc2-dfw1/504406/590247/forum.sdx-developers.com/web/content/Sources/Subs-AdvancedSignature.php
Line: 97 
Title: Re: How to uninstall something you deleted on accident
Post by: TheListener on January 06, 2012, 08:57:08 AM
Please use the modify link when adding to a post.

We can't help unless we know the name of the mods, but of course the best place to request mod related help is the mods own support topic.

To uninstall the package you have already deleted you would have to use the mods parser and follow it in reverse order.
Title: Re: How to uninstall something you deleted on accident
Post by: Illori on January 06, 2012, 09:03:24 AM
no you dont need to use the parser everytime, you can try uploading the package to the packages folder and see if you are given the option to uninstall it, if you that is what you want to do. if it gives the option to install it, there is a trick to get it to let you uninstall it then.
Title: Re: How to uninstall something you deleted on accident
Post by: TheListener on January 06, 2012, 09:05:36 AM
Doing it your way would make my hair fall out.

:)
Title: Re: How to uninstall something you deleted on accident
Post by: Illori on January 06, 2012, 09:06:15 AM
how? doing a manual parse will cause many users to break their forum as they dont know anything about the code.
Title: Re: How to uninstall something you deleted on accident
Post by: TheListener on January 06, 2012, 09:07:17 AM
You can say that again.

Title: Re: How to uninstall something you deleted on accident
Post by: numus on January 06, 2012, 12:28:40 PM
Quote from: Old Fossil on January 06, 2012, 08:57:08 AM
Please use the modify link when adding to a post.

We can't help unless we know the name of the mods, but of course the best place to request mod related help is the mods own support topic.

To uninstall the package you have already deleted you would have to use the mods parser and follow it in reverse order.
Thats why I included the error. It was the Advanced Signatures Mod that crashed the server (or atleast timed out) while installing...
What is the trick to getting a package to go from install to uninstall?

9. Add GooglePlus to Posts 1.0  [ Install Mod ] [ List Files ] [ Delete ] 
It doesn't give me the uninstall option when I added the package back... I can always just copy the uninstall code as the install code in the XML file... Just cant do that til I get home later.

Quote from: Illori on January 06, 2012, 09:06:15 AM
how? doing a manual parse will cause many users to break their forum as they dont know anything about the code.
Trust me.. I know the feeling.. A lot of mod coders attempt to do code replacement that includes the original + additional instead of inserting the code above the line... Sometimes causes a headache to manually patch in.
Title: Re: How to uninstall something you deleted on accident
Post by: Illori on January 06, 2012, 12:30:43 PM
try the script attached, put it in your main smf folder and call it in your browser.