peterisgb Posted April 26, 2014 Share Posted April 26, 2014 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. Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted April 26, 2014 Share Posted April 26, 2014 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. Quote Link to comment Share on other sites More sharing options...
peterisgb Posted April 26, 2014 Author Share Posted April 26, 2014 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./ Quote Link to comment Share on other sites More sharing options...
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.