I’m a little embarrassed to make this post, as I think I was the one responsible for this glitch. When a member on my site goes to upload their own avatar via profile_edit.tpl, a message at the top of profile_main.tpl says “Profile saved!” but the avatar is never changed.
There aren’t any error messages associated with this glitch, which is why I’m uploading the files that I think are related to it.
Would anyone be able to help me out with this? If someone could just point me in the direction of where I have to look, it would be much appreciated.
Right, and so am I, but being an admin alone shouldn’t have anything to do with what Txmmy is talking about. He’s referring to the permissions of the avatars folder on your server, which should be under public_html/lib/avatars
Have you Set enough permissions for the Avatar image Folder on your Server ?
Anyone come up with anything? Sorry to be an annoyance here, but I’ve looked further into the matter and it seems that new avatars are not being added to the lib/avatars folder.
755 is the correct permission for that folder. Try uploading the original folder again to make sure you didn’t change something you shouldn’t have.
No luck I re-uploaded the avatars folder from the stock phpvms.full package and it’s still not working. Let me do the same with my Profile.php and see what happens. Will report back.
The file size might needs to be increased so you can upload bigger avatars. Current avatar size is 5MB in the code.
Kyle- You make a good point, but I just checked the size of the avatar my partner is uploading and it’s only 65 KB. That should go through fine. phpVMS, by default, also resizes images automatically, correct?
I managed to fix it on mine awhile back and forgot to post here how I did it. Go in the .tpl file with the form, and you need to add the following right before the submit button, at least I’m pretty sure thats what I did.
I managed to fix it on mine awhile back and forgot to post here how I did it. Go in the .tpl file with the form, and you need to add the following right before the submit button, at least I’m pretty sure thats what I did.
Still no luck. Thanks for the advice, Aaron, but I think it has something to do with Profile.php. I haven’t re-uploaded the original yet, so I will and I’ll get back to you.Thank you all for being patient with me and giving me a hand with this. It’s a huge help.
Hey Guys I have come across this aswell, I have changed the permissions for the folders and the images to 0777 and added the above lines, it let me change my avatar the first attempt from the standard basic one but now it wont let me change it, has anyone got any idea if you can change it in the phpadmin ??