MyBB Community Forums

Full Version: Unable to change admin perms
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

Like the topic says, I'm having this problem!

What do I have to do to solve it?

Almost everytime when I try to set a perm to 'yes' it puts itself back to no. Sad
Someone? A fix or something? Toungue
What version of MyBB are you using?
1.03
can you be specific about what permission it is that you are trying to change?
Were you trying to change the default admin permissions, or one of your admin's permissions.

PHP and MySQL versions?
I tried to change the "can manage Emods" permission. But also the permission for "Private Messages Admin" had some problems! (I had to de-activate it, en than, when I switched the settings, it worked).

Most of the default perms seem to be working...
So it's only working for eMod compatible mods?
If that's the case then your problem is that you either didn't read the readme or you missed a step.

If it only happens for eMods and not the default MyBB permissions (like access settings, plugins etc) then do the following

Open admin/adminoptions.php
Find
$db->update_query(TABLE_PREFIX."adminoptions", $sqlarray, "uid='$uid'");

After it add
/* eMods Core Support: Start */
if(is_array($eMod_perms))
{
    $eMod_newperms = array();
    while(list($perm, $value) = each($eMod_perms))
    {
        $eMod_newperms[$perm] = addslashes($value);
    }

    $db->update_query(TABLE_PREFIX."adminoptions", $eMod_newperms, "uid='$uid'");
}
/* eMods Core Support: End */
[code]
I'll try it later today.

But it also wasn't working for Tikitiki's PM Admin.
I think I found the problem!

When I try to access the archive mode of my forum, I get this error:
http://chat2b.be/forum/archive/index.php (you can see it there).

The error is on this line:
Quote: return "<a href=\"?action=readme&amp;plugin=".urlencode($mybb->input['plugin']).(!empty($extra)?"&amp;".$extra:"")."\">$text</a>";

Hopefully, someone can help me!

Greets.
Pages: 1 2