PDA

View Full Version : Avatar issues ??


PinkDaisy
04-23-2007, 12:32 AM
When you go to input a new avatar and click on the browse button, find your avatar, and when you go to hit save changes, it completely clears out the info you just 'browsed' for and of course doesn't upload your avatar.

What could be causing this?? thanks for any help...

Lucky Seven
04-23-2007, 08:38 AM
It sounds like an issue with the coding around the submit/save button, since those actions would be something likely to happen with a reset button.

PinkDaisy
04-23-2007, 11:11 AM
Any idea on how I would test this or what to look at??

Lucky Seven
04-27-2007, 09:12 AM
I'd start with Modify User Options Templates >> modifyavatar

The code for the submit button should look like:
<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />

If the information is simply being cleared out when you intend to save, some of the content in the code may look more like this, which is the reset button:
<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />

The default vB design includes both options, as shown below:
<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />

That would be my initial guess for what the problem could be, but it's still possible that something else is wrong in the code.

PinkDaisy
04-28-2007, 11:35 AM
Thanks for all yalls help. I think this was a glitch or whatever, it is not having problems now! :D