Solved: 11 Years, 8 Months, 4 Weeks ago [howto] Disable default avatar gallery
#5
Solved: 11 Years, 8 Months, 4 Weeks ago
Well, if blank Avatar Directory field, it just make avatar gallery empty(as if I delete all default avatars).
But thanks for the tip with template modify(I wonder why I didn't came to such idea by myselfBlush). So I just deleted a "piece" of code(containing part with Avatar gallery) from usercp_avatar file and now I got what I wanted!

So great thanks to you!
P.S. If anyone will ever be interested in solution of this question, I show a part of the code that has to be deleted(or commented out) from usercp_avatar file of your template - you can find it in ACP->Templates & Style->Templates->Your template(the code below is for default template)->User Control Panel Templates->usercp_avatar.
<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>
&nbsp;{$gobutton}
</form>
</td>
</tr>


Messages In This Thread
RE: [howto] Disable default avatar gallery - by xendex - 2008-12-15, 08:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)