I WanT To Code PHP Posted May 13, 2009 Share Posted May 13, 2009 Im pazzled, Im pretty new with php. I said id post this sanario here and see if any php freaks can help me out..! Im currentaly coding a gaming website. The scrip is based off vBulletin. I have the admin cp working fine and i can access that fine. But here the thing, i coded an "arenacp" which is a fully custom cp for staff do deal with issues like game rules and user tiskets. Thats all coded and working fine. BUT...... I dont have access, when i sign in i have no permissions, and the only way to give permissions in the cp is by being an administrator of the cp. So what i am saying is noone has access to the cp so noone can give out access..! Its hard to explain but i hope you undersrtand. I need to code it i think in the index of /arenacp so that my userid "1" have full permissions.... Anyone know what i can do please help.,.!!!!!! Quote Link to comment https://forums.phpfreaks.com/topic/157979-ok-heres-a-good-one-for-ya/ Share on other sites More sharing options...
JonnoTheDev Posted May 13, 2009 Share Posted May 13, 2009 How can anyone help you without you posting your code and displaying where the problematic area is! Quote Link to comment https://forums.phpfreaks.com/topic/157979-ok-heres-a-good-one-for-ya/#findComment-833289 Share on other sites More sharing options...
fenway Posted May 13, 2009 Share Posted May 13, 2009 How can anyone help you without you posting your code and displaying where the problematic area is! First, please don't post all of your code -- just the relevant code snippet. Second, how is the a mysql problem? Quote Link to comment https://forums.phpfreaks.com/topic/157979-ok-heres-a-good-one-for-ya/#findComment-833294 Share on other sites More sharing options...
I WanT To Code PHP Posted May 13, 2009 Author Share Posted May 13, 2009 Whoops sorry guys can u delete these post and move to php hlpe... sorry." Quote Link to comment https://forums.phpfreaks.com/topic/157979-ok-heres-a-good-one-for-ya/#findComment-833297 Share on other sites More sharing options...
I WanT To Code PHP Posted May 13, 2009 Author Share Posted May 13, 2009 Thanks now its in the right forum... any php guys know,,,> Quote Link to comment https://forums.phpfreaks.com/topic/157979-ok-heres-a-good-one-for-ya/#findComment-833303 Share on other sites More sharing options...
Zhadus Posted May 13, 2009 Share Posted May 13, 2009 As previous people have stated, please post the code. If you just don't have the right permissions set, go to your MySQL database and give yourself the right permissions, otherwise change the code in the admincp to check for different permissions that you have set. Quote Link to comment https://forums.phpfreaks.com/topic/157979-ok-heres-a-good-one-for-ya/#findComment-833309 Share on other sites More sharing options...
JonnoTheDev Posted May 13, 2009 Share Posted May 13, 2009 If you just don't have the right permissions set, go to your MySQL database and give yourself the right permissions, otherwise change the code in the admincp to check for different permissions that you have set. Nothing in this post suggests it has anything to do with database access privileges. This person must think we are psychic! Quote Link to comment https://forums.phpfreaks.com/topic/157979-ok-heres-a-good-one-for-ya/#findComment-833310 Share on other sites More sharing options...
Ken2k7 Posted May 13, 2009 Share Posted May 13, 2009 This person must think we are psychic! That is exactly the point I try to make all the time when people ask for help without posting anything of relevance. Quote Link to comment https://forums.phpfreaks.com/topic/157979-ok-heres-a-good-one-for-ya/#findComment-833323 Share on other sites More sharing options...
radi8 Posted May 13, 2009 Share Posted May 13, 2009 Well, it seems that this is not a coding issue but rather a CMS issue. What CMS are you using? Refer to the CMS documentation for info on how to reset user privileges and you should be good. Quote Link to comment https://forums.phpfreaks.com/topic/157979-ok-heres-a-good-one-for-ya/#findComment-833329 Share on other sites More sharing options...
Maq Posted May 13, 2009 Share Posted May 13, 2009 i coded an "arenacp" which is a fully custom cp for staff do deal with issues like game rules and user tiskets. Thats all coded and working fine. BUT...... I dont have access, when i sign in i have no permissions You coded something and don't have permissions to it? Quote Link to comment https://forums.phpfreaks.com/topic/157979-ok-heres-a-good-one-for-ya/#findComment-833376 Share on other sites More sharing options...
radi8 Posted May 13, 2009 Share Posted May 13, 2009 i coded an "arenacp" which is a fully custom cp for staff do deal with issues like game rules and user tiskets. Thats all coded and working fine. BUT...... I dont have access, when i sign in i have no permissions You coded something and don't have permissions to it? My initial thoughts exactly, but with a CMS system, explicit privileges must be assigned in order for it to display. I made a few JOOMLA components and this is not uncommon if the admin piece is not managed correctly. Quote Link to comment https://forums.phpfreaks.com/topic/157979-ok-heres-a-good-one-for-ya/#findComment-833379 Share on other sites More sharing options...
Ken2k7 Posted May 13, 2009 Share Posted May 13, 2009 i coded an "arenacp" which is a fully custom cp for staff do deal with issues like game rules and user tiskets. Thats all coded and working fine. BUT...... I dont have access, when i sign in i have no permissions You coded something and don't have permissions to it? I think he because he based it off vBulletin (as in using its code but editing a few bits) and he doesn't know how to use the permissions in that system in his code. vBulletin has quite a good security system for their CPs. Quote Link to comment https://forums.phpfreaks.com/topic/157979-ok-heres-a-good-one-for-ya/#findComment-833383 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.