Page 47 of 124 FirstFirst ... 3745464748495797 ... LastLast
Results 461 to 470 of 1238
  1. #461
    Join Date
    Jul 2006
    Posts
    213
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Nadsab,
    If you are concerned about the changes in the 1.38a version, then simply upload the files I sent you to the box directory. They are 1.36 Admin Profile files merged with 1.38a ZenCart.

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

    Default Re: Admin Profiles Support Thread

    Can you give an example of a restriction needed for "categories"?

    Quote Originally Posted by kuroi View Post
    Yes it can be so tweaked. But to make this work would involve lots of restrictions being inserted across the Zen Cart Admin. As a starting point, I would suggest that you would need to make changes to each of the following files:
    • admin/attributes_controller.php
    • admin/categories
    • admin/coupon_admin.php
    • admin/coupon_restrict.php
    • admin/login.php
    • admin/logoff.php
    • admin/product.php
    • admin/specials.php
    • admin/includes/header.php
    • admin/includes/modules/category_products.php
    • admin/includes/modules/document_general/collect_info.php
    • admin/includes/modules/document_product/collect_info.php
    • admin/includes/modules/product/collect_info.php
    • admin/includes/modules/product_free_shipping/collect_info.php
    • admin/includes/modules/product_music/collect_info.php
    • admin/includes/init_includes/overrides/init_admin_auth.php
    • admin/admin.php

  3. #463
    Join Date
    Jan 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by mauryg View Post
    Nadsab,
    If you are concerned about the changes in the 1.38a version, then simply upload the files I sent you to the box directory. They are 1.36 Admin Profile files merged with 1.38a ZenCart.
    Mauryg,

    You have helped me and possibly many others having the same problem as nasab, thank you so much.

    I do have another question though, is there any way to also turn off the information on the admin home page (the page you land on then you log into admin).

    What I really want to achieve is not show any customer or order information to some of my employees, and this info is right there on the admin home page, any way to conceal it ?

  4. #464
    Join Date
    Mar 2007
    Posts
    153
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Anyone know what has happened to kuroi ?
    I have tried many ways to contact him, seems he has disappeared....

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

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by travel124 View Post
    I want to add the Profiles, however in reading the tuts I need to find out if I am using a prefix in the database.

    Looking at the database I have a _zc1 installed and with prefix zen with 95 files. I also have installed zenstore with 190 files with prefix of zen_ and prefix of zenstore.

    This does not look right to me and I cannot tell which one is the upgrade and whick one I should delete.
    If you go to your site's includes folder and look at the configure.php file there, it will tell you which database and what database prefix you are using (towards the bottom of the file).
    Kuroi Web Design and Development | Twitter

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

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

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by sketchhgal View Post
    Hi

    I've just added the admin profiles module to my site and I'm having a few problems.
    It looks to be installed correctly but when I go to the admin tools and click on the permissions icon I'm getting the following 404 error:

    The requested URL /store/admin/FILENAME_ADMIN_CONTROL.php was not found on this server.

    Anyone have any ideas as to where I've gone wrong with the install?

    I'd appreciate any help with this one, it looks like such a good module for a store.

    Thanks in advance:
    This suggests a problem with your installation Specifically that the packages admin/includes/extra_datafiles/admin_profiles_data.php file is not present, or is in the wrong place. However, if this is the the case, then it's possible that other components are misplaced too. I'd recommend checking all the files against the locations listed in the install.txt file that comes in the package that you downloaded.
    Kuroi Web Design and Development | Twitter

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

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

    Default Re: Admin Profiles Support Thread

    kuroi, so glad to see you here
    After several attempts to find someone to assist in witting these restriction for admin profiles, I have come up empty and only found people who are either scamming or really dont know how to do it, so I plead with you to please
    give an example of a restriction needed for "categories"?
    I would be deeply appreciative

  8. #468
    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
    Can you give an example of a restriction needed for "categories"?
    Yes. Though there are usually multiple ways of going about this and what is appropriate would depend upon the specific requirement you were trying to meet.

    For example, if you are restricting admin users to a single category, you would need suppress the dropdown menu on the categories page that allows them to navigate to other categories. To do this you would need to find the following code in the category_product_listing module, which generates that dropdown
    PHP Code:
      if ($_SESSION['display_categories_dropdown'] == 0) {
        echo 
    '<a href="' zen_href_link(FILENAME_CATEGORIES'set_display_categories_dropdown=1&cID=' $categories->fields['categories_id'] . '&cPath=' $cPath . (isset($_GET['page']) ? '&page=' $_GET['page'] : '')) . '">' zen_image(DIR_WS_ICONS 'cross.gif'IMAGE_ICON_STATUS_OFF) . '</a>&nbsp;&nbsp;';
        echo 
    zen_draw_form('goto'FILENAME_CATEGORIES'''get');
        echo 
    zen_hide_session_id();
        echo 
    HEADING_TITLE_GOTO ' ' zen_draw_pull_down_menu('cPath'zen_get_category_tree(), $current_category_id'onChange="this.form.submit();"');
        echo 
    '</form>';
      } else {
        echo 
    '<a href="' zen_href_link(FILENAME_CATEGORIES'set_display_categories_dropdown=0&cID=' $categories->fields['categories_id'] . '&cPath=' $cPath . (isset($_GET['page']) ? '&page=' $_GET['page'] : '')) . '">' zen_image(DIR_WS_ICONS 'tick.gif'IMAGE_ICON_STATUS_ON) . '</a>&nbsp;&nbsp;';
        echo 
    HEADING_TITLE_GOTO;
      } 
    and wrap an if statement around it so that it is only executed if the user is allowed to go to other categories.

    If they are allowed access to different categories, but only a limited subset, you would need to change the same bit of code in a different way. In this case you would need to replace the zen_get_categories_tree() function with an alternative that prepared a list of the categories to which the user is to have access.
    Kuroi Web Design and Development | Twitter

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

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

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by vitalwares View Post
    is there any way to also turn off the information on the admin home page (the page you land on then you log into admin).

    What I really want to achieve is not show any customer or order information to some of my employees, and this info is right there on the admin home page, any way to conceal it ?
    There are no switches to turn this off (though they are on the TO DO list for a future version of Admin Profiles.

    For the time being you would have to make code changes. These would be done in in the admin/index.php file as follows:

    1) Find out what your admin ID is (you can see it to the left of your name on the Admin Settings page

    2) Open admin index.php and fin the following lines
    PHP Code:
    <div id="coltwo">
    <
    div class="reportBox"
    3) Insert the following between them
    PHP Code:
    <?php if ($_SESSION['admin_id'] == <your admin ID>) { ?>
    4) Go down 12 lines and insert the following immediately after the </div> line
    PHP Code:
    <?php ?>
    5) Now do the same between the following lines
    PHP Code:
    <div id="colthree">
    <
    div class="reportBox"
    and after the first </div> line a further 12 lines down.
    Kuroi Web Design and Development | Twitter

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

  10. #470
    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
    Anyone know what has happened to kuroi ?
    I have tried many ways to contact him, seems he has disappeared....
    Kuroi has been working back-to-back 16 hour days to deliver a complex site in an impossibly short timeframe, and even though that's pretty well done and dusted, is still working crazy hours to catch up on work for other clients that got delayed as a result.
    Kuroi Web Design and Development | Twitter

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

 

 
Page 47 of 124 FirstFirst ... 3745464748495797 ... 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