Jump to content
MakeWebGames

[mccode] staff applications


seb4774

Recommended Posts

  • 2 weeks later...
  • 2 weeks later...

Re: [mccode] staff applications

 

I created this new staffapp script because after alot of people applying for staff they all mailed me asking when will they get mail if they in or not. So this function will give you a chance to automatically decline or choose them for the postion they chose. It simple but will save you some hassle :).

 

create file staffapps.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

add this to admin.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and add this table in mysql

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

make sure to change the user_level if they incorrect. currently its

3=Admin

5=Secretary

6=Assistant

if your running on dabs codes it should be correct.

alos visit my game deadlywarsonline.com. not open yet but it will be soon. :). im also looking for some staff if interested once opened.

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 months later...

Re: staff applications

 

create file staffapps.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

add this to staff.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and add this table in mysql

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Modify smenu.php to look like this...

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

works perfect for me

i have done a few errors also i have done the admin=2 sec=3 assistant=5

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

  • 4 months later...

Re: [mccode] staff applications

 

were does this bit go theres no admin.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Because your running V2, means that you put that where ever you want it to show up in your Staff admin panel...

An earlier post shows where to put that...But if you have it in the index part, Open Staff.php and put it with the functions but you also have to add the cases...

Ill start another topic tommorow with the Full V2 edited slightly re-coded but off the main base code seb posted;...

Link to comment
Share on other sites

  • 2 years 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...