MyBB Community Forums
How to allow Multiple Avatars for accounts? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: How to allow Multiple Avatars for accounts? (/thread-163409.html)



How to allow Multiple Avatars for accounts? - Greg Winston - 2014-11-26

Hi, I would like to make the ability for Multiple Avatars, and allow for users to upload & store multiple avatars to their account.

Then if they want to change their avatar, they can select from which ever one they uploaded.

Since I'm learning PHP & MySQL, could someone outline the steps necessary for me to accomplish this? Then I will set out and do it.


RE: How to allow Multiple Avatars for accounts? - laie_techie - 2014-11-26

Great idea for a plugin - individual avatar galleries!

You would have to start out with something similar to the Avatar Gallery plugin (remember that MyBB 1.8 removed the avatar gallery) which shows a global gallery. You would then need to add code to add additional galleries based on the logged in user and include them in the gallery drop-down list, and a way to display images in the appropriate folder. Sounds like a lot of fun. Good luck!


RE: How to allow Multiple Avatars for accounts? - Greg Winston - 2014-11-27

I'm actually brand new to creating plugins, and still a beginner in PHP & MySQL. Is there a method or guide to MyBB Plugin Development?


RE: How to allow Multiple Avatars for accounts? - .m. - 2014-11-27

^
* basic guidance for plugin development
* MyBB plugins & Hooks
* a quick tutorial on making plugins (though this was provided long ago, still helps)

some more similar guidance available on this forum