View Full Version : Admin Panel for Staff
rabah
12-11-2005, 08:43 AM
I want to make my Staff able to delete users and i dont want them to have the -VIEW PANEL- (All Mail, Crush....etc).
this is very important, cuz some ppl are abusing the site and while i'm not there i need the staff to be able to delete users...
Thanks in advance
natio :: phpFox
12-11-2005, 10:20 AM
Hi Rabah,
If you want your Staff to be able to delete members:
1. Open: "/admin/html/most_active.php"
2. Look for:
Content visible to registered users only.
3. Remove the "IF" so it looks like so:
Content visible to registered users only.
If you want to remove access for your Staff to view the "View Panel":
There are 2 ways in doing this.
1. You can open up the actual source for each page and add this after all the copyright:
Content visible to registered users only.
2. You can open: "/admin/html/left.php" and look for this:
Content visible to registered users only.
The above code is a example of what you can do to hide the whole "View Panel". So now if you look down in the html source you will find:
Content visible to registered users only.
So simply take out that html and create a "IF" statment like the example code above and add just add the variable in the html.
Give it a try and get back to me if you need some help to set this up.
rabah
12-12-2005, 02:28 AM
Thanks, The second part worked (View Panel), but the first one didn't work (Delete user) option, could you check it for me...
natio :: phpFox
12-12-2005, 12:15 PM
oh ok, ill just add the code below for the whole php file and you can just copy and paste it onto yours. This file is: "/admin/html/most_active.php"
Content visible to registered users only.
rabah
12-13-2005, 12:45 AM
This one worked, thanks man for your effort!
vBulletin® v3.6.10, Copyright ©2000-2009, Jelsoft Enterprises Ltd.