Hide some access in modcp
Hello,
There are some access in modcp. So, I'll explain how to hide? I'll explain it is:
Or hide some things from the View Profile:
Open file: modcp/user.php 1- [Edit Reputation] Find This Code:
$caneditreputation = iif(can_moderate(0, 'caneditreputation') AND $vbulletin->options['reputationenable'], true); Code:
//$caneditreputation = iif(can_moderate(0, 'caneditreputation') AND $vbulletin->options['reputationenable'], true); 2- [View Profile] If you want to hide the full is no need to modify the steps from 3 to 7 Find This Code:
$canviewprofile = can_moderate(0, 'canviewprofile'); Code:
//$canviewprofile = can_moderate(0, 'canviewprofile'); Find This Code:
print_input_row($vbphrase['email'], 'user[email]', $user['email'], 0); Code:
//print_input_row($vbphrase['email'], 'user[email]', $user['email'], 0); Find This Code:
print_time_row($vbphrase['birthday'], 'birthday', $user['birthday'], 0, 1); Code:
//print_time_row($vbphrase['birthday'], 'birthday', $user['birthday'], 0, 1); Find This Code:
print_input_row($vbphrase['ip_address'], 'user[ipaddress]', $user['ipaddress']); Code:
//print_input_row($vbphrase['ip_address'], 'user[ipaddress]', $user['ipaddress']); Find This Code:
print_table_header($vbphrase['usergroup_options']); print_chooser_row($vbphrase['primary_usergroup'], 'user[usergroupid]', 'usergroup', $user['usergroupid']); print_membergroup_row($vbphrase['additional_usergroups'], 'membergroup', 0, $user); print_table_break('', $INNERTABLEWIDTH); Code:
//print_table_header($vbphrase['usergroup_options']); // print_chooser_row($vbphrase['primary_usergroup'], 'user[usergroupid]', 'usergroup', $user['usergroupid']); // print_membergroup_row($vbphrase['additional_usergroups'], 'membergroup', 0, $user); // print_table_break('', $INNERTABLEWIDTH); Find This Code:
print_yes_no_row($vbphrase['invisible_mode'], 'options[invisible]', $user['invisible']); Code:
//print_yes_no_row($vbphrase['invisible_mode'], 'options[invisible]', $user['invisible']); Good luke Yasser Suliman Download No files for download. Screenshots |
Similar Mods
ModCP Access Mask 1.00 | vBulletin 3.5 Add-ons |
AdminCp & ModCp Access From Anywhere | vBulletin 3.0 Full Releases |