Posts: 316
Threads: 66
Joined: Feb 2009
Reputation:
5
2011-08-26, 02:06 PM
When a member on my forum chooses a new avatar, there are no images in the root avatar directory. There are different avatars in various categories which is how I want it to be. This works okay. However, despite there being no images in the root directory, the "Default Gallery" still appears in the list of galleries. When chosen, the member is told there are no images. It would be easier if the Default Gallery option did not appear at all.
It is only a minor issue, but the option to remove it would be nice.
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning
Posts: 316
Threads: 66
Joined: Feb 2009
Reputation:
5
2011-08-27, 02:46 PM
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning
Posts: 316
Threads: 66
Joined: Feb 2009
Reputation:
5
2011-08-27, 03:47 PM
Could you elaborate? I'm not 100% sure of what to change.
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->change_avatar}</title>
{$headerinclude}
</head>
<body>
{$header}
<form enctype="multipart/form-data" action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$lang->change_avatar}</strong></td>
</tr>
<tr>
<td align="center" class="trow1" width="1%"><input type="radio" class="radio" name="avatar" value="url"{$checked['url']} /></td>
<td class="trow1" width="40%"><strong>{$lang->avatar_url}</strong><br /><span class="smalltext">{$lang->avatar_url_note}</span></td>
<td class="trow1" width="55%"><input type="text" class="textbox" name="avatarurl" size="25" maxlength="100" value="{$avatarurl}" /></td>
</tr>
<tr>
<td align="center" class="trow2" width="1%"><input type="radio" class="radio" name="avatar" value="upload"{$checked['upload']} /></td>
<td class="trow2" width="40%"><strong>{$lang->avatar_upload}</strong><br /><span class="smalltext">{$lang->avatar_upload_note}</span></td>
<td class="trow2" width="55%"><input type="file" name="avatarupload" size="25" value="" class="fileupload" />{$uploadedmsg}</td>
</tr>
<tr>
<td align="center" class="trow1" width="1%"><input type="radio" class="radio" name="avatar" value="list"{$checked['list']} /></td>
<td class="trow1" width="40%"><strong>{$lang->avatar_list}</strong><br /><span class="smalltext">{$lang->avatar_list_note}</span></td>
<td class="trow1" width="55%">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td valign="middle">
<select name="avatarlist" size="5" onChange="document.images.avatarpic.src='{$mybb->settings['avatardir']}/'+this[this.selectedIndex].value;">
{$listoptions}
</select>
</td>
<td valign="middle">
<img src="{$avatarpic}" name="avatarpic" width="80" height="80" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" class="trow2" width="1%"><input type="radio" class="radio" name="avatar" value="none"{$checked['none']} /></td>
<td colspan="2" class="trow2" width="95%"><strong>{$lang->no_avatar}</strong><br /><span class="smalltext">{$lang->no_avatar_note}</span></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}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning
Posts: 316
Threads: 66
Joined: Feb 2009
Reputation:
5
2011-08-27, 04:17 PM
This seems to be for removing all avatars except what the users upload themselves. I don't want that. I already have a gallery of avatars, but there are no images in the root directory (images/avatars), just the sub-directories which appear in the gallery. However, despite the fact there are no images in the root directory, the "Default Gallery" choice still appears in the drop-down box. Perhaps I can better demonstrate this with a screenshot.
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning
Posts: 316
Threads: 66
Joined: Feb 2009
Reputation:
5
2011-08-28, 03:23 AM
That sounds like a good idea.
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning
Posts: 316
Threads: 66
Joined: Feb 2009
Reputation:
5
2011-08-31, 04:48 AM
Any ideas?
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning
Posts: 316
Threads: 66
Joined: Feb 2009
Reputation:
5
2011-09-03, 01:20 AM
One more bump to see if anyone has any clue about this, but otherwise I'll let the thread die.
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning