Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Removing "Default Gallery"
#1
Not Solved
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
#2
Not Solved
Anybody?
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning
#3
Not Solved
Delete it from Your Theme's Template > User Control Panel Templates > usercp_changeavatar
#4
Not Solved
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
#5
Not Solved
http://community.mybb.com/thread-42032-post-283968.html
#6
Not Solved
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.

[Image: j67w9g.png]
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning
#7
Not Solved
^ most probably it requires a modification in usercp.php file & lets wait for an expert to respond ...
#8
Not Solved
That sounds like a good idea. Big Grin
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning
#9
Not Solved
Any ideas? Confused
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning
#10
Not Solved
One more bump to see if anyone has any clue about this, but otherwise I'll let the thread die. Smile
<snip - "too big"> despite many sigs on here being much larger and approved - sort it out instead of removing sigs without warning


Forum Jump:


Users browsing this thread: 1 Guest(s)