Page 23 of 124 FirstFirst ... 1321222324253373123 ... LastLast
Results 221 to 230 of 1238
  1. #221
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Admin Profiles Support Thread

    I am also getting a weird error, I am sure its my install error. I am running this on 1.3.7

    On Third Party Mods section not all of the mods are showing up, then I click on it and get that I don't have permission to be there and go to the back to the box selection and it shows up under the Third Party Mods but it also makes everything in that drop down menu repeat so there are two of everything now. Example:

    Customers, Orders, ....and then it will repeat again.

    Help please,
    Thanks
    Skin Evolution.
    Lynda.com,its a great place to learn.
    Camelot Hosting,it's where my site calls home!

    E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

  2. #222
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Admin Profiles Support Thread

    Ok, well you know when you were a kid and the teacher wrote on your report card, Doesn't fallow written instructions well!, you can add that to this here.

    So this is the error you get when you write the code like I did, so I will give an example that might help people like me:

    So lets take super_orders_customers_dhtml.php, and go from the original code to the admin profiles code

    Original code:
    PHP Code:
    <?php
    $za_contents
    [] = array('text' => BOX_CUSTOMERS_SUPER_ORDERS'link' => zen_href_link(FILENAME_SUPER_ORDERS'''NONSSL'));
    $za_contents[] = array('text' => BOX_CUSTOMERS_SUPER_BATCH_STATUS'link' => zen_href_link(FILENAME_SUPER_BATCH_STATUS'''NONSSL'));
    $za_contents[] = array('text' => BOX_CUSTOMERS_SUPER_BATCH_FORMS'link' => zen_href_link(FILENAME_SUPER_BATCH_FORMS'''NONSSL'));
    ?>
    Modified code:

    PHP Code:
    <?php
      
    if (!defined('IS_ADMIN_FLAG')) {
       die(
    'Illegal Access');
      }
    $options = array( array('box' => BOX_CUSTOMERS_SUPER_ORDERS'page' => FILENAME_SUPER_ORDERS),
                        array(
    'box' => BOX_CUSTOMERS_SUPER_BATCH_STATUS'page' => FILENAME_SUPER_BATCH_STATUS),
                        array(
    'box' => BOX_CUSTOMERS_SUPER_BATCH_FORMS'page' => FILENAME_SUPER_BATCH_FORMS),
                    );

      foreach (
    $options as $key => $value)
      if (
    page_allowed($value['page'])=='true')
        
    $za_contents[] = array('text' => $value['box'], 'link' => zen_href_link($value['page'], '''NONSSL'));
      
    ?>
    I really hope that helps some people out there, I guess we learn from our mistakes, lets just say I am learning a lot!
    Skin Evolution.
    Lynda.com,its a great place to learn.
    Camelot Hosting,it's where my site calls home!

    E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

  3. #223
    Join Date
    Mar 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Hi Kuroi,

    Well, just downloaded your contrib, followed your install.txt -step by step- and... it works great!
    Just wanted to say thanks for a very useful tool.

    Pierrick

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

    Default Re: Admin Profiles Support Thread

    You're very welcome pierrick. Nice to meet a user who follows the installation instructions too!
    Kuroi Web Design and Development | Twitter

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

  5. #225
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Admin Profiles Support Thread

    Hey, whats that mean.....ok sorry,

    It really is a great one, I think it should come stock with it!
    Skin Evolution.
    Lynda.com,its a great place to learn.
    Camelot Hosting,it's where my site calls home!

    E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

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

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by godspeed27 View Post
    Hey, whats that mean.....ok sorry,

    It really is a great one, I think it should come stock with it!

    LOL. That wasn't aimed at you. I promise!

    The Admin is scheduled for re-write in Zen Cart 1.6 and hopefully fully-integrated (and therefore better) access control will form part of that delivery.
    Kuroi Web Design and Development | Twitter

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

  7. #227
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Admin Profiles Support Thread

    1.6...wow, thats a big jump..when is that going to be out?
    Skin Evolution.
    Lynda.com,its a great place to learn.
    Camelot Hosting,it's where my site calls home!

    E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

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

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by godspeed27 View Post
    1.6...wow, thats a big jump..when is that going to be out?
    Zen Cart never publishes release dates in advance - very sensibly in my view. With a large installed base and a small development team, it's more important to get it right, than rush it out to meet a deadline. So the most that one could say would be that 1.6 will probably come out sometime after 1.4 and 1.5.
    Kuroi Web Design and Development | Twitter

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

  9. #229
    Join Date
    Apr 2006
    Posts
    121
    Plugin Contributions
    0

    help question Re: Admin Profiles Support Thread

    Somehow I managed to screw something up. I had AP working like a charm but now my defined admins all get the full menus in the admin where they had only the ones they needed. Access restrictions are still in order though.

    I checked the database and all the visible header settings are still in place but somehow they are not applied anymore.

    Can someone please tell me in what file (and preferably what lines of code) I should check to make the admin interface look like it did?

    Using ZC1.3.7 and AP1.0.6
    Last edited by davale; 18 Apr 2007 at 11:16 AM.

  10. #230
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Admin Profiles Support Thread

    Have you thought about a reinstall? Have you downloaded all of your files to see if they are still correct...use winmerge to compare them to stock ones. I would start there. If you did a backup or something ftp clients can mess them up.
    Skin Evolution.
    Lynda.com,its a great place to learn.
    Camelot Hosting,it's where my site calls home!

    E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

 

 

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR