The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I remove IP Search from ModCP NavBar?
I'm aware that we can restrict IP address viewing, but still I want to go a step ahead and remove the IP Search option Navigation from the ModCP templates. Could anyone please help me on this?
|
#2
|
||||
|
||||
Open file /modcp/index.php
Find: Code:
if (can_moderate(0, 'canviewips')) { $canuser = true; construct_nav_option($vbphrase['search_ip_addresses'], 'user.php?do=doips'); } Code:
/* if (can_moderate(0, 'canviewips')) { $canuser = true; construct_nav_option($vbphrase['search_ip_addresses'], 'user.php?do=doips'); } */ |
Благодарность от: | ||
Sage Knight |
#3
|
|||
|
|||
Novice questions sir; I have to edit the file via FTP? Or is via The AdminCP/Styles & Templates/
|
#4
|
||||
|
||||
You would edit it via ftp
|
#5
|
|||
|
|||
I see thank you, last question for the day, where else I'll need to edit the templates so that none of the moderators can even see any sort of IP addresses options?
|
#6
|
||||
|
||||
You don't have to edit ANY templates. Just change their usergroup options so they can't view a users ip address
|
Благодарность от: | ||
Sage Knight |
#7
|
|||
|
|||
I'm aware of that, but my mods will moan for no reason, so that's why;D
|
#8
|
||||
|
||||
So you would rather edit the templates vs turning the option off for them to view it?!
|
#9
|
|||
|
|||
Call me crazy but both;P
It's actually due to site policy and also due to the fact we have a lot of staff shuffles. Our admins could view IPs anyways as they're more trustworthy. |
#10
|
||||
|
||||
You only need to use ftp to remove the option in modcp, everything else can be done with templates, but unless you use conditionals, it will remove it from admins as well. Best option is to disable it with permissions.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|