corruption Posted December 7, 2006 Posted December 7, 2006 anybody know where i go to edit or create new staff levels? Quote
Revolution Posted December 7, 2006 Posted December 7, 2006 Re: Editing staff levels If its not on the owners/staff panel you'll have to edit them via the database itself Quote
Revolution Posted December 7, 2006 Posted December 7, 2006 Re: Editing staff levels or are you wanting to change what each level can do - not just assign staff? Quote
corruption Posted December 7, 2006 Author Posted December 7, 2006 Re: Editing staff levels ok but where abouts in the database? the only thing iv found is a tabel under users called user_level :? Quote
corruption Posted December 7, 2006 Author Posted December 7, 2006 Re: Editing staff levels well basicly what i wanna do is either creat a owners staff panel or chage the admin panel to a owners panel then edit the other panels to down size their access Quote
Revolution Posted December 7, 2006 Posted December 7, 2006 Re: Editing staff levels As far as I can remember the User_level is the field that assigns staff/owner status. As for creating an owners panel, I'm not too sure what you would really want here - apart from assigning / removing staff? Quote
corruption Posted December 7, 2006 Author Posted December 7, 2006 Re: Editing staff levels i want the owner panel so i can edit and limit what other staff has access to but still be able to have myself access to everything on the admin panel has and more i thought about just moven the staff around for example changen: Admin Panel to Owner panel Secretary Panel to Admin panel keepin assistant and doin away with the secretary then i would have to change alot of codes like what level sees what and the user level on the profiles that just sounded like to much work if there was a way to just make a new user level in the database but in the database all i seen that related to user_level didnt have a way to make a new one its just a single table that sets the default user level to 1 when somebody signs up Quote
corruption Posted December 7, 2006 Author Posted December 7, 2006 Re: Editing staff levels another thing that leads back to my first post, if i did go with the moven staff around where would i do it at :? Quote
canibalstew Posted December 7, 2006 Posted December 7, 2006 Re: Editing staff levels i would like to know too i just want to add a user level also i would like to have a owners staff page i do got owners panel but there sould be options like; staff list (change user level) all logs stats also maybe an option to make and edit user levels Quote
rfw2003 Posted December 7, 2006 Posted December 7, 2006 Re: Editing staff levels well lets see if I can explain this,  yes user_level it the field in the DB that depics what level the person is.  Now as for adding new levels you will need to go through all your staff panels and change the level number and name to your new system so that they can access the areas that you want them to access.   My current levels are as follows  1=general players 2=owner 3=admin 4=sec 5=assistant 6=ircop    You would also need to change in you admin panel where it assigns the staff positions as well so that when you get a new staff member they will be given the correct level that you choose. One of these areas would be this one in your admin.php file function userlevelform() { global $ir,$c,$h,$userid; print "<h3>User Level Adjust</h3> <form action='owner.php' method='get'> <input type='hidden' name='action' value='userlevel'> User: ".user_dropdown($c,'ID')." User Level: <input type='radio' name='level' value='1' /> Member <input type='radio' name='level' value='2' /> Super Admin <input type='radio' name='level' value='3' /> Admin <input type='radio' name='level' value='4' /> Secretary <input type='radio' name='level' value='5' /> Ass Hat <input type='radio' name='level' value='6' /> IRCop <input type='submit' value='Adjust' /></form>"; I hope this helps Quote
corruption Posted December 13, 2006 Author Posted December 13, 2006 Re: Editing staff levels thanks that helped alot, but now how do i get it to change the user level on the profiles... i did away with the IRC op and made that the owner panel now when im on the owners level my rpifile says im a IRC op :? any idea how to fix that to? Quote
corruption Posted December 14, 2006 Author Posted December 14, 2006 Re: Editing staff levels yeah i found it thanks tho, this owner panel is working great :-D Quote
jimmytubbs Posted April 25, 2008 Posted April 25, 2008 Re: Editing staff levels what about v2 :? Quote
Halo Posted April 26, 2008 Posted April 26, 2008 Re: Editing staff levels what about v2 :? Well all i can see you have to change is the form action Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.