Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted

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?

Posted

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

Posted

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

Posted

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

Posted

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?

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...