I get an error when uploading or linking avatar URLs.
Upload error is something like "Failed to upload etc etc"
Linking the URL is something like "The URL you provided is invalid, please check etc etc" well the URL is Valid.
Everything is set to 777 in the permiissions.
This is like the 3rd thread about the same problem in 2 days :O
Using any plugins or something?
Not many. Could it be the skin?
Normally it shouldn't be related to the theme. It could be due to template edits though.
Can you do two things:
- Post your plugins all of them that are activated/installed on your forum.
- Post the content of your user control (usercp_avatar) template.
(2012-10-19, 07:56 PM)anori Wrote: [ -> ]Normally it shouldn't be related to the theme. It could be due to template edits though.
Can you do two things:
- Post your plugins all of them that are activated/installed on your forum.
- Post the content of your user control (usercp_avatar) template.
Here are the plug ins, I am not sure what you mean by the content of the control template
(2012-10-19, 08:05 PM)vdangerv Wrote: [ -> ] (2012-10-19, 07:56 PM)anori Wrote: [ -> ]Normally it shouldn't be related to the theme. It could be due to template edits though.
Can you do two things:
- Post your plugins all of them that are activated/installed on your forum.
- Post the content of your user control (usercp_avatar) template.
Here are the plug ins, I am not sure what you mean by the content of the control template
Simply copy the code inside of the template (usercp_avatar) to show it here might be a problem their.
Quote:
Its not a plugin issue then.
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->change_avatar}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$avatar_error}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->change_avatar}</strong></td>
</tr>
<tr>
<td class="trow1" colspan="2">
<table cellspacing="0" cellpadding="0" width="100%"><tr>
<td>{$lang->avatar_note}{$avatarmsg}
</td>
{$currentavatar}
</tr></table>
</td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->local_galleries}</strong></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->gallery}</strong></td>
<td class="trow2">
<form method="post" action="usercp.php">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="avatar" />
<select name="gallery">
{$galleries}
</select>
{$gobutton}
</form>
</td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->custom_avatar}</strong></td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>{$lang->avatar_upload}</strong></td>
<td class="trow1" width="60%">
<form enctype="multipart/form-data" action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="file" name="avatarupload" size="25" class="fileupload" />
{$auto_resize}
</td>
</tr>
<tr>
<td class="trow2" width="40%"><strong>{$lang->avatar_url}</strong></td>
<td class="trow2" width="60%"><input type="text" class="textbox" name="avatarurl" size="45" value="{$avatarurl}" /></td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_avatar" />
<input type="submit" class="button" name="submit" value="{$lang->change_avatar}" />
<input type="submit" class="button" name="remove" value="{$lang->remove_avatar}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>
[/quote]
Hmm weird..
And you sure the permissions are set correctly?