MyBB Community Forums
[FOR TESTING] Move MyAwards to OUGC Awards - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Development (https://community.mybb.com/forum-68.html)
+---- Thread: [FOR TESTING] Move MyAwards to OUGC Awards (/thread-223496.html)



[FOR TESTING] Move MyAwards to OUGC Awards - User 125795 - 2019-06-17

I created plugin, what should be move awards from MyAwards to OUGC Awards. Please use only for testing. May break DB.

Requirements:
  • No existing OUGC Awards awards and categories (create conflict)
  • Need have MyAwards and OUGC Awards

To use just activate plugin and done!

GitHub is here. When you find bugs or have suggestion, add them to there, but Merge Requests is better  Big Grin .

This is my first plugin, so this may not work first time.

Download dev build: https://community.mybb.com/mods.php?action=view&pid=1271.


RE: [FOR TESTING] Move MyAwards to OUGC Awards - Crazycat - 2019-06-17

I submit a little MR : check if the plugins tables exists before converting.


RE: [FOR TESTING] Move MyAwards to OUGC Awards - User 125795 - 2019-06-17

(2019-06-17, 02:15 PM)Crazycat Wrote: I submit a little MR : check if the plugins tables exists before converting.

Thanks, I merged it and Extend site build is updated too.

For note: I moved this plugin to GitHub. And please test, if you can make MyAwards working (MyAwards didn't work for me).


RE: [FOR TESTING] Move MyAwards to OUGC Awards - makpaolo - 2019-07-12

Able to do it the other way around if I wish to move to MyAwards when I have OUGC Awards?

Nice work Smile


RE: [FOR TESTING] Move MyAwards to OUGC Awards - User 125795 - 2019-07-15

(2019-07-12, 07:54 AM)makpaolo Wrote: Able to do it the other way around if I wish to move to MyAwards when I have OUGC Awards?

Nice work Smile

Why you want to do this? OUGC Awards is better and this is active project.


RE: [FOR TESTING] Move MyAwards to OUGC Awards - User 125795 - 2019-07-17

Now I think I found solution how to allow existing OUGC Awards categories and awards. But I don't have enough skill to make this. I think this should be detect latest aid and cid (Award ID and Category ID) and adds it to moved awards IDs (and cid). Can anyone make this change.