Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Restrict users about avatar
#1
Not Solved
how to restrict use not to upload avatars? I want only option to upload by URL
#2
Not Solved
You'll need a plugin.
#3
Not Solved
Mybb doesnt have this option... Ohh Nooo.... Can you give me that plugin??
#4
Not Solved
(2010-11-19, 03:49 PM)*pushkar* Wrote: Mybb doesnt have this option... Ohh Nooo.... Can you give me that plugin??

There isn't any plugin for this feature. :p
#5
Not Solved
Please make a request thread @: http://community.mybb.com/forum-65.html
#6
Not Solved
Can't he just edit the appropriate User CP template to remove the upload form?

EDIT: Yup. Open the admin panel, then "Templates and Style", then "Templates", then your theme name, then "User Control Panel Templates", then "usercp_avatar". Remove all this:
<tr>
<td class="trow1" width="40%"><strong>{$lang->avatar_upload}</strong></td>
<td class="trow1" width="60%">
<form enctype="multipart/form-data" action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="file" name="avatarupload" size="25" class="fileupload" />
{$auto_resize}
</td>
</tr>

Replace with:
<form enctype="multipart/form-data" action="usercp.php" method="post">
#7
Not Solved
Yes this is the other way, but if he meant to restrict by selective groups than he would need a plugin to do that.
#8
Not Solved
(2010-11-20, 04:50 AM)Yaldaram Wrote: Yes this is the other way, but if he meant to restrict by selective groups than he would need a plugin to do that.

He could install the PHP/Conditionals plugin, and show the upload form only for groups he chooses:

http://mybbhacks.zingaburga.com/showthread.php?tid=260


Forum Jump:


Users browsing this thread: 1 Guest(s)