Announcement

Collapse
No announcement yet.

Restrict avatar viewing in UserCP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Restrict avatar viewing in UserCP

    We are setting up Avatars for a fee and will be uploading and placing the avatars as paid for and submitted by members. Since no one will use the same avatar as another member we want to disable the area in the usercp that displays the uploaded avatars. Is that possible?
    Eat Your Veggies

  • #2
    Admin CP -> Templates -> Modify -> [expand list] -> User Option Templates -> modifyoptions

    Remove this code:

    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>Avatar</b></normalfont><br>
    <smallfont><a href="misc.php?s=$session[sessionhash]&action=showavatars" target="_blank">More info...</a></smallfont></td>
    <td bgcolor="{secondaltcolor}"><normalfont><img src="$bbuserinfo[avatarurl]" border="0" alt="Your current avatar" align="middle"> <input type="image" src="{imagesfolder}/clear.gif" alt="" border=""><input type="submit" class="bginput" name="modifyavatar" value="Change Avatar"></normalfont></td>
    </tr>
    This will remove the avatar option from the Edit Options page in the User CP.

    Comment


    • #3
      thanks!

      Thanks so much!
      Eat Your Veggies

      Comment

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