The Arcive of vBulletin Modifications Site. |
|
Hide some access in modcp Details »»
|
|||||||||||||||||||||||||||||||
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 Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
thanks
|
|
#3
|
||||
|
||||
|
|
|
#4
|
|||
|
|||
|
welcome steve1966
![]() العفو عزيزي welcome Dr.osamA
|
|
#5
|
|||
|
|||
|
thanks 4 this work
|
|
#6
|
|||
|
|||
|
is this working on vb 4.1.0 lvl2?
I was wondering if i can modify the search ip address.. like they cannot search ip address of the admins... Possible? |
|
#7
|
||||
|
||||
|
شكرا أخي ..
|
|
#8
|
|||
|
|||
|
how about removing ip search on mod panel?
|
![]() |
|
|