I had another post about my avatar situation, but this is a new question concerning avatars...
I like the avatar gallery used by the doramoon addon. However, I'd like to put a radio select option under the avatars for a user to choose the avatar directly from the gallery. There is another mod that does do this, but I do not like how it looks or works. Sometimes it does not show the images as it should.
I've looked at the code for both galleries, but I just can't figure it out.
I would guess that the mod you are talking about that uses radio buttons has created a place in the database. You should be able to search radio in their document and find out what they call their field. Then follow the dbs file and see where it is inserting it. Possibly you should be able to modify this to work on any of the avatars I would assume. Just use the code from the one you don't like and put it in the one you do want. hope that will help a little bit.
I've found the radio section but I don't know exactly how much of it is important or where to put it in the other file. Perhaps someone could look at the text versions of these files for me?
I think I need to use this bit of code below, but something doesn't quite work. When I select the avatar via the radio button, the "red x" appears in the avatar select box. Not sure why.
Response.Write "<input type=""radio"" " if Request.Querystring("mode") <> "Register" then if StrComp(AvatarURL,av_user,vbTextCompare) = 0 then response.write "checked " end if end if