Page 55 of 124 FirstFirst ... 545535455565765105 ... LastLast
Results 541 to 550 of 1238
  1. #541
    Join Date
    Jul 2008
    Location
    Ukraine, CK
    Posts
    27
    Plugin Contributions
    3

    Default Re: Admin Profiles Support Thread

    Hello
    I decided to append the ability of choosing allowed product Categories. My aim is to create the restriction for admin, so he could see, manage and easyly add products and categories only in his own category, like moderators on forums. If anybody is being interested in such contribution, I will gladly post it to site when finish.

    I added table "admin_allowed_categories" with columns "categories_id" & "admin_id" to the database and added similar with the native ones functions check_category and category_allowed. I also added row Categories with id 21 to "admin_menu_headers" table.

    The first thing i've done was disabling disallowed Categories to show in Categories listing in Admin. That was done by verifing category id in the loop if it was allowed for current admin.

    The question is: Am I on the right way, and how it could be done easier? Because there are many "selects" of products and categories in the admin files.

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

    Default Re: Admin Profiles Support Thread

    anafor
    this is what I had coded, I needed to be able to restrict any admin to a manufacture and their associated categories.
    took some time and money but it does work perfectly so far

  3. #543
    Join Date
    Jul 2008
    Location
    Ukraine, CK
    Posts
    27
    Plugin Contributions
    3

    Default Re: Admin Profiles Support Thread

    AndyII, thank you for the reply.
    Could you post it?
    Or, at least give me some good advice how to do it myself?
    I would be very appreciate to you.

  4. #544
    Join Date
    Jul 2008
    Location
    Ukraine, CK
    Posts
    27
    Plugin Contributions
    3

    Default Re: Admin Profiles Support Thread

    Hello
    I just want to announce, that i've finished coding the ability to add permissions for categories. It seems to work fine. If you are interested in it, I think you can get it soon throught download section. If not - mail me.)

  5. #545
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Admin Profiles Support Thread

    anafor,

    Thanks for sharing this as there is a select group of Zenners that have been wanting for something like this
    Zen-Venom Get Bitten

  6. #546
    Join Date
    Aug 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Does this still exist.

  7. #547
    Join Date
    Jul 2008
    Location
    Ukraine, CK
    Posts
    27
    Plugin Contributions
    3

    Default Re: Admin Profiles Support Thread

    I'm glad of making some contribution to the community

  8. #548
    Join Date
    Nov 2003
    Posts
    1,155
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    The latest version in the downloads section is 1.0.7

    http://www.zen-cart.com/index.php?ma...products_id=86

  9. #549
    Join Date
    Jul 2008
    Location
    Ukraine, CK
    Posts
    27
    Plugin Contributions
    3

    Default Re: Admin Profiles Support Thread

    The contribution has to be checked by administrator first. It is being done twice a week, as ZenCart team tells.
    I'd better post it here too.
    NOTE: This archive differs from that I've posted to the download section. This one has not critical bug fix.
    Attached Files Attached Files

  10. #550
    Join Date
    Mar 2007
    Posts
    153
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread



    Code:
    #
    # Create table structure for table `admin_allowed_categories`
    #
    
    DROP TABLE IF EXISTS `admin_allowed_categories`;
    CREATE TABLE `admin_allowed_pages` (
      `categories_id` int(11) NOT NULL default '0',
      `admin_id` int(11) NOT NULL default '0'
    ) TYPE=MyISAM;

 

 

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