Quote:
Originally posted by Boofo
The only thing is, the background of the page is white now instead of the Admin CP default. Any way to add that back in?
|
Add some where between <head> and </head> in the HTML:
Code:
<link rel="stylesheet" href="cp.css">
That will use the ACP colours.
Quote:
Also, you said to take out the cpheader and cpfooter lines right? I want to make sure there is no security risk.
|
If you have the code I mentioned earlier it will work only for those users with have canplotip set to 1.
Quote:
Also, when I was talking about the permissions, I meant the permissions to view IPs. It is probably better this way, but can it be made to just follow the View IP addresses permissions?
|
Use this code for that:
PHP Code:
$permissions=getpermissions();
if (!$permissions[canwhosonlineip]) {
show_nopermission();
}