Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: pocttopus on March 20, 2017, 12:04:12 PM

Title: mod removal tool
Post by: pocttopus on March 20, 2017, 12:04:12 PM
Hello folks,

Is there any tool for cleaning mods which are causing some issues.
I have this mod SayThanks (http://custom.simplemachines.org/mods/index.php?mod=3898) and I want to reinstall it.
Lines of code which needed to be replaced in Profile.template.php are not there so I was wondering is there any tool for complete removal of mods and after that I will try to install it again.

Thanks.
Title: Re: mod removal tool
Post by: Kindred on March 20, 2017, 12:13:45 PM
yes... it's called UNINSTALL... :)

Seriously, that's the only way (other than manually editing code) to install or uninstall mods, individually.

You can load a clean set of files and remove all hooks to reset your forum to ZERO mods...

but individually, you have to use the package manager.

And, just like on installation, you may need to do some steps manually, depending on what themes or other mods you have installed
Title: Re: mod removal tool
Post by: pocttopus on March 20, 2017, 12:39:56 PM
There is an error while using simple uninistallation. It says that I need to remove from the server. Than I did, but again the mod is still in the forum and working even when he is not on the server and in the list of mods.  ???

I just want to remove and install it again.
Uninstall does not helped so far.  :-\
Title: Re: mod removal tool
Post by: Kindred on March 20, 2017, 01:43:42 PM
http://wiki.simplemachines.org/smf/Error_in_mod_installation

or ask for assistance in the topic dedicated to supporting that specific mod
Title: Re: mod removal tool
Post by: pocttopus on March 20, 2017, 03:42:05 PM
Thanks but I already write there and still there is no response.  :-\
http://www.simplemachines.org/community/index.php?topic=527032.msg3919044#msg3919044
Title: Re: mod removal tool
Post by: vbgamer45 on March 20, 2017, 03:48:22 PM
Has only been a couple hours..
Title: Re: mod removal tool
Post by: Kindred on March 20, 2017, 03:57:07 PM
and it doesn't change the basic rules of this site...  mod specific questions belong in the topic dedicated to supporting that specific mod.

However, I have already told you the answer
Quote from: Kindred on March 20, 2017, 01:43:42 PM
http://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: mod removal tool
Post by: pocttopus on March 22, 2017, 07:26:37 AM
Quote from: vbgamer45 on March 20, 2017, 03:48:22 PM
Has only been a couple hours..
It's been two days and still no response in the same topic of the mod.  :(
http://www.simplemachines.org/community/index.php?topic=527032.msg3919044#msg3919044

Quote from: Kindred on March 20, 2017, 03:57:07 PM
and it doesn't change the basic rules of this site...  mod specific questions belong in the topic dedicated to supporting that specific mod.

However, I have already told you the answer
Quote from: Kindred on March 20, 2017, 01:43:42 PM
http://wiki.simplemachines.org/smf/Error_in_mod_installation
I went for this solution but I don't know how to remove this mod.  ???
Title: Re: mod removal tool
Post by: Kindred on March 22, 2017, 07:43:39 AM
ummm....  that link explains exactly... you find the bit that can't be automatically done and do it manually.

However, looking at your other post, what you posted is INSTALLATION code, not UNinstallation...
Title: Re: mod removal tool
Post by: Illori on March 22, 2017, 07:44:06 AM
if you cant manage to do the manual edit to uninstall the mod you can start over with fresh files and then install your mods after that.

http://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files
Title: Re: mod removal tool
Post by: pocttopus on March 22, 2017, 07:53:08 AM
Quote from: Kindred on March 22, 2017, 07:43:39 AM
ummm....  that link explains exactly... you find the bit that can't be automatically done and do it manually.

However, looking at your other post, what you posted is INSTALLATION code, not UNinstallation...
Because there is no other way to uninstall the mod, I got message that I should remove the files from the server. I went for remove and after that the mod is still on the forum but not in the list of installed modifications. So I tried to install the mod again but I need to edit the files. The code what should be replaced is not in the file.

Quote from: Illori on March 22, 2017, 07:44:06 AM
if you cant manage to do the manual edit to uninstall the mod you can start over with fresh files and then install your mods after that.

http://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files
If I choose this option the modifications are still stored in the database. After moving the files on the new host, the modifications are going to make some issues so I want to remove them properly and be able to move the clean version of the forum without any mods installed.
Title: Re: mod removal tool
Post by: Kindred on March 22, 2017, 08:33:06 AM
So, use a clean version of the files...

If the mod was uninstalled and it gave you errors, then you need to manually perform the actions that triggered the errors.

but, if you have performed all of the removal actions (all code was changed back, mods files were removed and hooks were deactivated, and the mod is STILL active...   then you obviously installed the mod at least twice...   and you will have to manually remove code changes and the hooks from the smf_settings table .

If you load a clean set of files, and run repair_settings to remove the hooks, then anything else that may remain in the database is not relevant.
Title: Re: mod removal tool
Post by: pocttopus on March 23, 2017, 02:44:50 PM
Quote from: Kindred on March 22, 2017, 08:33:06 AM
So, use a clean version of the files...

If the mod was uninstalled and it gave you errors, then you need to manually perform the actions that triggered the errors.

but, if you have performed all of the removal actions (all code was changed back, mods files were removed and hooks were deactivated, and the mod is STILL active...   then you obviously installed the mod at least twice...   and you will have to manually remove code changes and the hooks from the smf_settings table .

If you load a clean set of files, and run repair_settings to remove the hooks, then anything else that may remain in the database is not relevant.
I installed the clean version and I connected with the database but the issue is still there.
Is there any tutorial how to manual remove mods?

Thanks.
Title: Re: mod removal tool
Post by: Kindred on March 23, 2017, 10:57:08 PM
Did you repairSettings.php to remove the hooks, as I instructed?
Title: Re: mod removal tool
Post by: pocttopus on March 24, 2017, 03:39:52 AM
Yes. I uploaded the repair_settings.php and removed all the hooks but still the same, the mod is still there.  :-\
Title: Re: mod removal tool
Post by: Illori on March 24, 2017, 05:10:27 AM
Quote from: pocttopus on March 24, 2017, 03:39:52 AM
Yes. I uploaded the repair_settings.php and removed all the hooks but still the same, the mod is still there.  :-\

then you missed a step somewhere as clean files and removing hooks should make it so that all mods are completely uninstalled.
Title: Re: mod removal tool
Post by: pocttopus on March 24, 2017, 05:18:13 AM
Some posts are there, but some are not.
There are some topics which are fine, but in other topics are missing the content of the posts.
Here is the link to look into it: http://107.189.4.145/index.php?topic=7196.msg118660#new

And here is the same post from the old host which forum is still running and everything is fine there:
http://forum.mkreef.com/index.php?topic=7196.msg118660#new
Title: Re: mod removal tool
Post by: pocttopus on March 24, 2017, 10:17:17 AM
Please, how can I get Cyrillic support for my forum?
Is this an issue with the database, php files or I should contact the host?
Title: Re: mod removal tool
Post by: pocttopus on March 24, 2017, 02:25:42 PM
solved!