Page 50 of 124 FirstFirst ... 40484950515260100 ... LastLast
Results 491 to 500 of 1238
  1. #491
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by mipavluk View Post
    Is there a way, to give partial access to categories? for example, if I have 10 categories, I like give to the user Mod 1, only access to the category 1 and give to the user Mod 2, only access to the category2 .
    what do you think?
    Already discussed. See post 437.
    Kuroi Web Design and Development | Twitter

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

  2. #492
    Join Date
    Mar 2007
    Posts
    153
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    I have such a mod, but spent plenty on getting written...

  3. #493
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Admin Profiles Support Thread

    Hi Kuroi,

    I'm just wondering if we can tweak the logic of the module a bit, I take customers_dhtml.php as an example:

    PHP Code:
    <?php
    /**
     * @package admin
     * @copyright Copyright 2003-2007 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: customers_dhtml.php 6027 2007-03-21 09:11:58Z drbyte $
     */
    if (!defined('IS_ADMIN_FLAG')) {
      die(
    'Illegal Access');
    }
      
    $za_contents = array();
      
    $za_heading = array();
      
    $za_heading = array('text' => BOX_HEADING_CUSTOMERS'link' => zen_href_link(FILENAME_ALT_NAV'''NONSSL'));
      
    $za_contents[] = array('text' => BOX_CUSTOMERS_CUSTOMERS'link' => zen_href_link(FILENAME_CUSTOMERS'''NONSSL'));
      
    $za_contents[] = array('text' => BOX_CUSTOMERS_ORDERS'link' => zen_href_link(FILENAME_ORDERS'''NONSSL'));
      
    $za_contents[] = array('text' => BOX_CUSTOMERS_GROUP_PRICING'link' => zen_href_link(FILENAME_GROUP_PRICING'''NONSSL'));
      
    $za_contents[] = array('text' => BOX_CUSTOMERS_PAYPAL'link' => zen_href_link(FILENAME_PAYPAL'''NONSSL'));
    if (
    $za_dir = @dir(DIR_WS_BOXES 'extra_boxes')) {
      while (
    $zv_file $za_dir->read()) {
        if (
    preg_match('/customers_dhtml.php$/'$zv_file)) {
          require(
    DIR_WS_BOXES 'extra_boxes/' $zv_file);
        }
      }
      
    $za_dir->close();
    }
    ?>
    <!-- customers //-->
    <?php
    echo zen_draw_admin_box($za_heading$za_contents);
    ?>
    <!-- customers_eof //-->
    So say right before zen_draw_admin_box, we loop thru $za_contents and remove any one that we dont want (unset). If we do it that way then perhaps we dont need to change anything in the extra boxes?

    Regards
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

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

    Default Re: Admin Profiles Support Thread

    @yellow1912

    I'm considering a very radical overhaul of this mod for the the next release of Zen Cart. Personally I don't like all this box model stuff, or the way that the mod is resolutely monolingual.
    Kuroi Web Design and Development | Twitter

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

  5. #495
    Join Date
    Mar 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Hey Kuroisan,

    Considering how solid and useful the current mod is, I for one very much look forward to seeing and implementing your 'radical overhaul'.

    Happy coding.

    Pierrick

  6. #496
    Join Date
    May 2008
    Posts
    3
    Plugin Contributions
    0

    Default Security Clearance

    I get this error: (Sorry, your security clearance does not allow you to access this resource.
    Please contact your site administrator if you believe this to be incorrect.
    Sorry for any inconvenience)
    When I click on the permissions link for a new admin user.

    What did I jack up to make this happen.
    Since I am admin 1 I am locked out of a few things, like posting a new product under free shipping, I am blocked.
    I went through the intall file, installed sql, which worked with flying colors.
    uploaded all the files, did the box thing. Checked and rechecked file locations.
    I am using the lastest greatest verison of Zen Cart from a clean install.
    The only add-on i have is the auction product type and it works fine.
    Anyone?

  7. #497
    Join Date
    Mar 2007
    Posts
    153
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    if anyone is interested, I had the Admin mod revised (paid programming) to do full restrictions on category assignments, support for custom sales report, multiple owners for manufactures, ++++++++++ many things....

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

    Default Re: Security Clearance

    Quote Originally Posted by duketrac View Post
    I get this error: (Sorry, your security clearance does not allow you to access this resource.
    Please contact your site administrator if you believe this to be incorrect.
    Sorry for any inconvenience)
    When I click on the permissions link for a new admin user.

    What did I jack up to make this happen.
    Since I am admin 1 I am locked out of a few things, like posting a new product under free shipping, I am blocked.
    I went through the intall file, installed sql, which worked with flying colors.
    uploaded all the files, did the box thing. Checked and rechecked file locations.
    I am using the lastest greatest verison of Zen Cart from a clean install.
    The only add-on i have is the auction product type and it works fine.
    Anyone?
    In your admin_allowed_pages table, do you have an entry with page_id = 76 and admin_id = 1?
    Kuroi Web Design and Development | Twitter

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

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

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by AndyII View Post
    if anyone is interested, I had the Admin mod revised (paid programming) to do full restrictions on category assignments, support for custom sales report, multiple owners for manufactures, ++++++++++ many things....
    So you keep telling us ....
    Kuroi Web Design and Development | Twitter

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

  10. #500
    Join Date
    May 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Security Clearance

    Quote Originally Posted by kuroi View Post
    In your admin_allowed_pages table, do you have an entry with page_id = 76 and admin_id = 1?
    Yes. All the pages go from 1 - 88.
    All the admin_id's are 1's.

 

 
Page 50 of 124 FirstFirst ... 40484950515260100 ... LastLast

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