Help required developing a Multiple Avatar Mod

Started by Chas Large, December 14, 2010, 04:33:25 AM

Previous topic - Next topic

Chas Large

I've done the searching, both here and the available mods and cannot find anything like the mod I need to produce. I'm learning php so am not 100% confident in a, how best to approach this and b, how to implement this. So this is a request for someone to work with and guide me in producing this mod. I'm happy for that person to take 100% of the credit for the programming too :)

What I would like to do is produce a mod where the members can upload several avatars and then click a button to select the one they want to use. In it's simplest form, it uses the current avatar upload feature and multiplies this feature to a maximum number specified by the admin. So effectively the member has several avatars to choose from without having to re-upload or relink a new one every time they want to change it.

A more advanced version would be to create a gallery of avatars, like the profile pictures area that is part of the Ultimate Profile mod. Here the user again uploads the avatars and sees a small gallery of the uploaded avatars with a radio button next to the one he/she wants to be their current one.

Sounds simple enough in theory but I just can't work out the code to do it and need help.

Not sure if this is the right place to request this and if so, can someone please move this to the correct category.

So if you're interested in guiding a semi-novice programmer through the maze that is SMF code :D (sorry dev's just my silly sense of humour) then please PM me so we can make a start.

PS I'm in the UK so am available generally between 9am and 10pm GMT if you want to chat.

Regards
Chas
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Matthew K.

#1
So where would other uploaded avatars be shown? Would it add a new avatar group "Uploaded Avatars"?

As you said, it doesn't sound too difficult in theory, although, it may be quite difficult as it may involve taking apart quite a bit of the avatar system and how it works.

Edit: I actually thought of a relatively simple idea on how it could work. However, I have yet to test my idea.

Regards,
Matthew

Chas Large

Hi Matthew, thanks for responding to the request.

My thoughts were basically if the standard uploaded avatar were multiplied to say 5, then the database would hold references for avatar 1, 2, 3 etc and they would be shown as individual images with a selector button, see idea attached.

The user would click whichever one they wanted to use and then click CHANGE PROFILE to instigate the selection.

My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Matthew K.

I think I have a little bit easier method. I am going to shoot you a PM and we can discuss it a little bit better there.

Arantor

Oh, you're going to have so much fun deconstructing the attachments system in the process...
Holder of controversial views, all of which my own.


Advertisement: