2011-12-18, 11:36 AM
Hi all!
After updating MyBB to 1.6.5, I discovered that my old "thank you" plugin stopped working. It was "ThankYou (3.0.7)" by "Arash_j13", I can't find it anymore on the MyBB mods database, but I have downloaded it from there a long time ago.
I installed "Thank You/Like System (1.5)", which also I can't find in the mods database, but I swore it was there just 2 days ago.
Anyway, I didn't want to lose all the previous "thank you" data, so I examined the database and found out that both plugins memorized there the same data, just in a different order. I modified the old plugins' table to be identical to the new plugins' one (same name, same columns in the same order, same data type, et cetera. I checked various times for it to be exatly identical), made a backup copy of it, deactivated the old plugin and activated the new one.
Everything seemed to work fine, but the plugin overwrote the entire "puid" (thankers' UID) with the content of the "uid" (thanked UID) column!
So i deactivated the plugin, restored the backup (same table, but with correct data for the "puid" column) and activated it again: same thing happened. I tried to deactivate the plugin from its own option to deactivate it (ACP > configuration > Thank You/Like System > selected "no" to "Enable/Disable"), restored the backup again and reactivated the plugin: it overwrote the column again.
Now the option is set to "no", the backup was restored for the fourth time and the column is still intact, so it's clearly plugins' fault.
What now?
Thanks,
Myttex
After updating MyBB to 1.6.5, I discovered that my old "thank you" plugin stopped working. It was "ThankYou (3.0.7)" by "Arash_j13", I can't find it anymore on the MyBB mods database, but I have downloaded it from there a long time ago.
I installed "Thank You/Like System (1.5)", which also I can't find in the mods database, but I swore it was there just 2 days ago.
Anyway, I didn't want to lose all the previous "thank you" data, so I examined the database and found out that both plugins memorized there the same data, just in a different order. I modified the old plugins' table to be identical to the new plugins' one (same name, same columns in the same order, same data type, et cetera. I checked various times for it to be exatly identical), made a backup copy of it, deactivated the old plugin and activated the new one.
Everything seemed to work fine, but the plugin overwrote the entire "puid" (thankers' UID) with the content of the "uid" (thanked UID) column!
So i deactivated the plugin, restored the backup (same table, but with correct data for the "puid" column) and activated it again: same thing happened. I tried to deactivate the plugin from its own option to deactivate it (ACP > configuration > Thank You/Like System > selected "no" to "Enable/Disable"), restored the backup again and reactivated the plugin: it overwrote the column again.
Now the option is set to "no", the backup was restored for the fourth time and the column is still intact, so it's clearly plugins' fault.
What now?
Thanks,
Myttex