
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
Bookmarks