Jump to content
MakeWebGames

Recommended Posts

Posted

This is only small but i made it on my site and i though other game owners might want it to.

First Create page called follow.php

You're unable to view this code.

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

 

 

and then on all staff pages under

You're unable to view this code.

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

 

Add

You're unable to view this code.

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

 
Posted

This is pretty similar to the stafflog_add() function (I think it's called) so you can in reality use that instead and change it so that the user_level != 2 or userid != 1 and add it to the staff logs at the top of the file. It may be a bit less annoying that way so that your event log isn't filled up with stuff of staff members just loading a page.

Or you can create another function and just call that function on only important staff pages just incase they think they are sneaky but just remember to escape/sanitize your $_SERVER vars because people can add some nasty stuff to steal info from you when you view your event log/staff log , etc.

Posted

oh right, well i aint that good yet, i did it this way as i noticed i dont always get the log in staff log. plus this way i can keep an eye on the staff without them really knowing. i shall improve on this once i learnt abit more./

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...