![]() |
Hide some access in modcp
1 Attachment(s)
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']); Code:
//print_table_header($vbphrase['usergroup_options']); 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 |
thanks
|
|
Quote:
Quote:
welcome Dr.osamA :) |
thanks 4 this work
|
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? |
شكرا أخي ..
|
how about removing ip search on mod panel?
|
All times are GMT. The time now is 01:14 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|