Turn off "Do not use an avatar" in User CP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • myk
    New Member
    • Sep 2005
    • 10
    • 3.5.0 Pre-Release

    Turn off "Do not use an avatar" in User CP

    Hi,

    I want all my users to have avatars (which will default to a bland "please change me" graphic). How can i disable the ability to turn off a users avatar in the User CP? Just remove the radio button in the template?
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Try this. That tip is written for 3.0.x, but it should work the same in 3.5.

    Comment

    • myk
      New Member
      • Sep 2005
      • 10
      • 3.5.0 Pre-Release

      #3
      Thanks for your reply, but that doesn't really address my request which is:

      How can i remove the users' ability to turn off their avatar. ie, they can only select another avatar in the User CP.

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        I suppose you could remove that radio button from the templates:

        Admin CP -> Styles & Templates -> Style Manager -> « » -> Modify User Option Templates -> modifyavatar

        Code:
        			<fieldset class="fieldset">
        				<legend>$vbphrase[your_current_avatar]</legend>
        				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
        				<tr valign="top">
        					$currentavatar
        					<td class="smallfont">
        						<div style="margin-bottom:$stylevar[formspacer]px">$vbphrase[avatars_small_graphics_short]</div>
        						[color=red]<div style="margin-bottom:$stylevar[formspacer]px"><label for="rb_avatarid_no"><input type="radio" name="avatarid" value="-1" id="rb_avatarid_no" $nouseavatarchecked />$vbphrase[do_not_use_an_avatar]</label></div>
        						<div>$vbphrase[note_have_custom_avatar_delete]</div>[/color]
        					</td>
        				</tr>
        				</table>
        			</fieldset>

        Comment

        • myk
          New Member
          • Sep 2005
          • 10
          • 3.5.0 Pre-Release

          #5
          Cool, thanks!

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...