iR00T Posted June 23, 2008 Posted June 23, 2008 Re: Staff Password without sql's. (ANY VERSION) yeah...there is a code that will strop id 1 or some admins from being feded /....if that is what ur talkin abou Quote
Dave Posted June 25, 2008 Posted June 25, 2008 Re: Staff Password without sql's. (ANY VERSION) Simple solution if it doesn't work and its really obvious Add this to the top of sglobals.php instead of anyother file You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then all the staff files use sglobals at the top of there page it works for me :) Quote
Delete-please Posted August 2, 2008 Posted August 2, 2008 Re: Staff Password without sql's. (ANY VERSION) i added the code into smenu.php and i got this Warning: Cannot modify header information - headers already sent by (output started at /home/sniper1/public_html/header.php:16) in /home/sniper1/public_html/smenu.php on line 5 how do i fix it Quote
jds137 Posted August 3, 2008 Posted August 3, 2008 Re: Staff Password without sql's. (ANY VERSION) I added this to my staff globals, and it worked cept for it always looped back to the staff login page. What can or should I add after it, so when you login with the staff password, it goes to the staff panel, and not staff login? You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Heres my staff globals in case you wanna see it.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Harley Posted June 7, 2009 Posted June 7, 2009 Re: [mccode] Staff Password without sql's. I have tried this mod but I get this error Warning: Cannot modify header information - headers already sent by (output started at /home/colone/public_html/header.php:68) in /home/colone/public_html/smenu.php on line 190 Any ideas? This is the line in the header file where it says the error is. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thanks Quote
CrazyT Posted June 9, 2009 Posted June 9, 2009 Re: [mccode] Staff Password without sql's. Easy way to fix it is in sglobals.php under session_start(); add ob_start(); Quote
Harley Posted June 11, 2009 Posted June 11, 2009 Re: [mccode] Staff Password without sql's. Okay I did that and now the staff panel is password protected but I get this error if I try to access it. You were redirected here because you are not logged into the staff panel. Wrong password. Go back and try again. 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.