Re: Admin Profiles Support Thread
I just attempted to install this mod, and it's not working, as far as I can tell. I would see a difference in tools/admin settings if it had been successful, correct? I cannot figure out what I did wrong, I dropped the admin files in, and installed the sql patch. Any ideas?
Re: Admin Profiles Support Thread
so you dont see a round yellow icon with a Capital P in it?
and your admin ID is 1?
Quote:
Originally Posted by
abcoombe
I just attempted to install this mod, and it's not working, as far as I can tell. I would see a difference in tools/admin settings if it had been successful, correct? I cannot figure out what I did wrong, I dropped the admin files in, and installed the sql patch. Any ideas?
Re: Admin Profiles Support Thread
Exactly. My id is 1, and I can't see that image.
Re: Admin Profiles Support Thread
Nevermind, I had help figuring it out, and it's fixed now!
Re: Admin Profiles Support Thread
I just installed this mod and it seems to be working well, except for one thing. The TOOLS menu shows up for all users. I checked to be sure I used the included file and the proper records are in the database tables added, so i'm a little stumped on this. Anyone seen this before? Suggestions on what to check?
The user cannot actually access the functions in the sub-menus unless authorized, but they are still showing up.
Thanks,
Re: Admin Profiles Support Thread
Bah.... Never mind. Tripped up in my own shorts and lost the tools_dhtml file. Duh.
Re: Admin Profiles Support Thread
Hey Guys.
I'm having a major issue with Admin Profiles right now.
No matter what I do, a 3rd party mod (easy populate) shows up in the tools menu on all profiles. I have no idea why it's happening!!!!
Can anyone help, I'm desperate!
Thanks,
Tom
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
thomasharding
No matter what I do, a 3rd party mod (easy populate) shows up in the tools menu on all profiles. I have no idea why it's happening!!!!
Have you followed the instructions about amending the 3rd party mod's box file so that Admin Profiles can recognize and exclude it?
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
Have you followed the instructions about amending the 3rd party mod's box file so that Admin Profiles can recognize and exclude it?
Yessum, I have.
Here is the original code for EasyPop:
PHP Code:
$za_contents[] = array('text' => BOX_TOOLS_EASYPOPULATE, 'link' => zen_href_link(FILENAME_EASYPOPULATE, '', 'NONSSL'));
and what I've amended it to:
PHP Code:
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
$options = array(
array('text' => BOX_CATALOG_EASYPOPULATE, 'link' => zen_href_link(FILENAME_EASYPOPULATE, '', 'NONSSL'))
);
foreach ($options as $key => $value)
if (page_allowed($value['page'])=='true') $za_contents[] = array('text' => $value['box'], 'link' => zen_href_link($value['page'], '', 'NONSSL'));
Have I done this correctly?
It's been blind panic trying to get this sorted, so I probably haven't :wacko:
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
thomasharding
Have I done this correctly?
It's been blind panic trying to get this sorted, so I probably haven't
Sounds like a deep breath and a careful checking of your options array is needed. 'text' should be 'box' and 'link' should be 'page'.