MODs Reappearing

Want to share what MODs you've gotten to work with EM? Happy about all the time your're saving? Want to say "thanks"? Here's the place.
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
Locked
User avatar
Zanejin
Registered User
Posts: 22
Joined: Wed Jan 21, 2004 11:29 pm
Location: Bellevue, WA

Re: MODs Reappearing

Post by Zanejin » Mon Aug 16, 2004 2:32 am

No, I am not trying to re-install MODs on a refreshed phpBB forum. I was using phpBB 2.0.8a at first when I installed EasyMOD, then I updated, not re-installed, my phpBB to version 2.0.10 (using AcydBurn's "phpBB 2.0.8 to phpBB 2.0.10 Code Changes" MOD) so that the MODs that were previously installed would still be existant on the forum.

However, after I completed the update, I looked at the "Uninstalled MODs" list of EasyMOD, and all the MODs that were installed were on the list! I just want to get rid of the already installed MODs.

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: MODs Reappearing

Post by GPHemsley » Mon Aug 16, 2004 3:38 am

Hmm... if you ran the update_to_210.php file afterwards, EasyMOD probably doesn't know that your files are already MODded.

If that's the case, Nuttzy should build-in a feature like the EMC feature thingy at the top of a MOD. Something like "No Upgrade" or something. I don't know.... :lol:

User avatar
Zanejin
Registered User
Posts: 22
Joined: Wed Jan 21, 2004 11:29 pm
Location: Bellevue, WA

Re: MODs Reappearing

Post by Zanejin » Mon Aug 16, 2004 3:56 am

Yes, you're correct, I did run the "update_to_210.php" file after using the update MOD.

Nuttzy99
Registered User
Posts: 927
Joined: Fri Aug 03, 2001 7:09 am
Contact:

Re: MODs Reappearing

Post by Nuttzy99 » Mon Aug 16, 2004 4:38 am

First of all there is no "Uninstalled" list. There is an "Unprocessed" list which says what hasn't yet been installed for this version of phpBB.

Bottom line: if you don't want the file to appear on the list, then go to your admin/mods directory and delete or move the directories in there. Then the MODs will no longer show up on the list.

-Nuttzy :cool:
SpellingCow.com - Free spell check service for your forums or any web form!
My Other Site

User avatar
Zanejin
Registered User
Posts: 22
Joined: Wed Jan 21, 2004 11:29 pm
Location: Bellevue, WA

Re: MODs Reappearing

Post by Zanejin » Mon Aug 16, 2004 5:11 am

Okay then, I guess I'll do that. And sorry for my mistake about the "Unprocessed MODs" list.

User avatar
Desummoner
Registered User
Posts: 1
Joined: Tue Jun 07, 2005 9:41 pm

Re: MODs Reappearing

Post by Desummoner » Tue Jun 07, 2005 10:14 pm

Summary for discussed case (for current EM 0.1.13 it still actual):
If you install some MODs and then update phpBB using update MOD all prev. installed MOD will reappear in Unprocessed MODs list because EM doesn't know that update was done using consistent method (I mean phpBB update MOD).

To fix this problem you can update (as was mentioned above) field mod_phpBB_version in phpbb_easymod table (table can be named differently if you use other than default table prefix when installed phpBB).

For example, if your current phpBB version is 2.0.15 you can use such SQL to accomplish this:

Code: Select all

UPDATE `phpbb_easymod` SET `mod_phpBB_version` = '2.0.15';

User avatar
Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: MODs Reappearing

Post by Nightrider » Tue Jun 28, 2005 4:37 am

Thanks, this was a big help. I had the same problem after updating my board to 2.0.16. Your suggestion resolved the problem. This may be a recurring issue as we continue to upgrade our boards...

:lol:

User avatar
markus_petrux
Registered User
Posts: 376
Joined: Fri Jun 18, 2004 10:58 pm
Location: Girona, Catalunya (Spain)
Contact:

Re: MODs Reappearing

Post by markus_petrux » Wed Jun 29, 2005 12:13 am

...or you could apply this small hack to EasyMOD itself, so it ignores the phpBB version changes when checking if a MOD has been already processed.

OPEN: admin/admin_easymod.php

FIND:

Code: Select all

$row = $db->sql_fetchrow($result) ;
	if ( $row['mod_phpBB_version'] == $phpbb_version)
	{
		return false ;
	}
	else
	{
		return true ;
	}
REPLACE WITH:

Code: Select all

	if ( !$db->sql_fetchrow($result) )
	{
		return true;
	}
	return false;

User avatar
markus_petrux
Registered User
Posts: 376
Joined: Fri Jun 18, 2004 10:58 pm
Location: Girona, Catalunya (Spain)
Contact:

Re: MODs Reappearing

Post by markus_petrux » Sun Jul 10, 2005 3:51 pm

*** gentle bump ***

Any chance to add above "fix" to a future version of EM?

Not sure to understand why EM "wishes" to mark as unprocessed all installed MODs when upgrading phpBB itself? It sounds like an annoying bug... or am I missing something?

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: MODs Reappearing

Post by GPHemsley » Sun Jul 10, 2005 4:46 pm

That check was designed for when you uploaded a fresh install of the upgraded files and, as such, overwrote your MODded files. It does not take into account whether you use AcydBurn's upgrade MODs. So, it would do better to be expanded, not removed.

Locked