Results 1 to 10 of 1238

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    Manchester, England
    Posts
    168
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by thomasharding View Post
    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?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Sep 2007
    Location
    Manchester, England
    Posts
    168
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by kuroi View Post
    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

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by thomasharding View Post
    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'.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Sep 2007
    Location
    Manchester, England
    Posts
    168
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by kuroi View Post
    Sounds like a deep breath and a careful checking of your options array is needed. 'text' should be 'box' and 'link' should be 'page'.
    Thankyou sir, you are an utter saint :)

    Thanks for the module too, along with Easy Pop, Admin Profiles is the most essential addon released for Zen Cart. Gotta keep those pesky customers from destroying their store!

 

 

Similar Threads

  1. v150 Admin New Order [Support Thread]
    By lhungil in forum Addon Admin Tools
    Replies: 121
    Last Post: 5 Feb 2021, 07:51 PM
  2. v150 CSS Buttons for Admin [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 19
    Last Post: 24 Dec 2015, 09:13 PM
  3. Admin-Editable Sidebox - Support Thread
    By kuroi in forum Addon Sideboxes
    Replies: 331
    Last Post: 29 Oct 2014, 04:15 AM
  4. v151 Blue Admin [Support Thread]
    By vvomble in forum Addon Templates
    Replies: 11
    Last Post: 27 May 2013, 09:43 PM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg