MyBB Community Forums

Full Version: Remove editing custom user title field at modcp.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello. I want to remove

Here you can assign a custom user title which will overwrite the one based on users display group.
Default User Title:
Current Custom User Title:
deneme
New Custom User Title: (leave blank to use existing)


field from modcp.php?action=editprofile page. So the moderators can not put custom user titles to members via editing their profile. How can i do that ?

Thank you.
admin panel --> templates --> your theme's templates --> Moderator Control Panel Templates --> modcp_editprofile

find and remove code similar to below (with care !)

<fieldset class="trow2">
									<legend><strong>{$lang->custom_usertitle}</strong></legend>
									<table cellspacing="0" cellpadding="{$theme['tablespace']}">
										<tr>
											<td><span class="smalltext">{$lang->custom_usertitle_note}</span></td>
										</tr>
										<tr>
											<td><span class="smalltext">{$lang->default_usertitle}</span></td>
										</tr>
										<tr>
											<td><span class="smalltext"><strong>{$defaulttitle}</strong></span></td>
										</tr>
										<tr>
											<td><span class="smalltext">{$lang->current_custom_usertitle}</span></td>
										</tr>
										<tr>
											<td><span class="smalltext"><strong>{$user['usertitle']}</strong></span></td>
										</tr>
										<tr>
											<td><span class="smalltext">{$lang->new_custom_usertitle}</span></td>
										</tr>
										<tr>
											<td><input type="text" class="textbox" name="usertitle" size="25" maxlength="{$mybb->settings['customtitlemaxlength']}" value="{$newtitle}" /></td>
										</tr>
										<tr>
											<td><span class="smalltext"><input type="checkbox" name="reverttitle" id="reverttitle" class="checkbox" /> {$lang->revert_usertitle}</span></td>
										</tr>
									</table>
								</fieldset>