Jump to content

OK Heres a Good One For Ya..!


Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.