Page 42 of 124 FirstFirst ... 3240414243445292 ... LastLast
Results 411 to 420 of 1238
  1. #411
    Join Date
    Aug 2007
    Location
    Eugene, OR
    Posts
    162
    Plugin Contributions
    0

    Default Re: Adding new Contrubtions to Admin Profiles

    Quote Originally Posted by mauryg View Post
    I just added Super Orders 2.0 to my cart. I modified the "extra_boxes" files as required. I noted that, even for user #1, some of the modules appeared in the Contributions section under Permissions immediately and checked them in order to see them while others DID NOT APPEAR until I invoked them the first time (e.g. invoice or packing slip) at which point I got an "Access Denied" error message. Then I had to go back to Admin Settings and give myself permission.
    Is this normal behaviour for Admin Profiles??
    I alway get the same behavior with zen 1.3.7. It is a little confusing at first, but once you expect it to happen, it is not a problem, and everything seems to work fine after you assign the permissions.

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

    Default Re: Admin Profiles Problems

    Quote Originally Posted by mauryg View Post
    I am running version 1.38a. The only difference between the original files and the mod files which I did NOT mod was a line near the end of most of the original files (e.g. line 37 in customers_dhtml.php) and not in the mod files, which reads $za_dir->close();. This was an addition between v1.37 and v1.38a. Was it appropriate to leave it there?
    Yes.

    Quote Originally Posted by mauryg View Post
    BTW also noted in the original and mod configurations_dhtml.php file the statement: "if (1 == 1) {". When would this NOT be true? Am I misreading something or is it simply my miniscule knowledge of php?
    That's very old-fashioned coding that probably got carried over from osCommerce. As you say it has no effect and is probably there to indicate taht you could add a condition if your wanted - though I'm not sure why you would do so.

    Quote Originally Posted by mauryg View Post
    When I logged into the admin panel as user#1, I noted that:
    1. There were no duplicate dropdown entries in "Customers", as in my previous install v1.0.3. So far so good.
    2. There were no entries for the extra mods I listed above.
    3. There was no "Contributions" menu which I expected.

    After a little thinking and rereading the instructions I realized that
    1. There is no "Contributions" menu in the Admin Panel, only in the Admin Settings>Set Permissions page.
    2. I needed to check the boxes for the extra mods, even for user#1, in order for the extra mods to appear in their normal menus.
    Contributions is the dumping place for those files that are auto-added and therefore where Admin Profiles doesn't know where to put them. These might be files accessed before the box file is amended, or files that simply don't appear on the Admin menu and therefore don't have a box file entry.

    Apart from at initial installation time, the default setting for Admin Profiles is to assume that access is permitted only when explicitly granted by somebody with rights to do so. Although user #1 is the default super user at installation time, AP doesn't know what's happened since.
    Kuroi Web Design and Development | Twitter

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

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

    Default Re: Adding new Contrubtions to Admin Profiles

    Quote Originally Posted by mauryg View Post
    I just added Super Orders 2.0 to my cart. I modified the "extra_boxes" files as required. I noted that, even for user #1, some of the modules appeared in the Contributions section under Permissions immediately and checked them in order to see them while others DID NOT APPEAR until I invoked them the first time (e.g. invoice or packing slip) at which point I got an "Access Denied" error message. Then I had to go back to Admin Settings and give myself permission.
    Is this normal behaviour for Admin Profiles??
    It's normal for Super Orders which has a number of options that aren't accessed through the Zen Cart menu and so don't appear in the box files, so the first Admin Profiles knows of them is when they get auto-added when you try to access them. Being a good access control script it won't let you use them until it's told that's OK.
    Kuroi Web Design and Development | Twitter

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

  4. #414
    Join Date
    Jul 2006
    Posts
    213
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    kuroi (and thomasw98)
    thanks for the answers. I am feeling much more comfortable with both the mod and my increasing abilities with php.
    Since order processing has to be done from the Admin panel by other employees, this mod is invaluable to keep straying fingers from making inadvertant changes to the site. Thanks.

  5. #415
    Join Date
    Nov 2007
    Posts
    37
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    I'm having trouble with my install. I've tried all the patches and still don't have the little "P". Not sure I understand step 3. Do I have to do that if I'm running zencart 1.38a?

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

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by sped1530 View Post
    I'm having trouble with my install. I've tried all the patches and still don't have the little "P". Not sure I understand step 3. Do I have to do that if I'm running zencart 1.38a?
    Step 3 describes the code patches. If you don't do them, then you won't have access to the little "P" or the edit permissions button.
    Kuroi Web Design and Development | Twitter

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

  7. #417
    Join Date
    Jul 2006
    Posts
    213
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by sped1530 View Post
    I'm having trouble with my install. I've tried all the patches and still don't have the little "P". Not sure I understand step 3. Do I have to do that if I'm running zencart 1.38a?
    Kuroi is quite correct. You need to do the patches. May I suggest that if you don't already have a good text editor, download a copy of the free editor called Notebook++. (I'm assuming you're using a PC) It will show you line numbers and will highlight the php code to make it easier to follow. Open the install instructions in one window and the admin files (e.g. admin.php) in a second window. Then you can search for the lines mentioned and cut and paste the patches from the install instructions to the file. BE SURE YOU MAKE A BACKUP of the file before you edit it and don't store the backup in the same folder.
    If you've got other admin add-on modules like Easy Populate, Super Orders, How Did You Hear About Us, or Tabbed Products, you need to edit the 'box' files as described in the special set of instructions. Trust me....it's easy. Just more cut and paste between files.
    Hope this helps and happy Zenning.

  8. #418
    Join Date
    Nov 2007
    Posts
    29
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    In the install notes it says "If you are using a database prefix for your Zen Cart tables, you must either: run the install_adminlevels.sql file using Zen Cart's Admin > Tools > Install SQL Patch facility, or edit the file to change the prefix for all create table and insert statements, before running it using your preferred tool."

    however when I download the zip file from ZenCart the only files in it that were close to that are "install_admin_profiles.sql" and "upgrade_admin_profiles.sql".

    Is it a typo in the install instructions or am I missing the file "install_adminlevels.sql"

    Thanks! I really need to get this mod to work as my client has a call center set up to log in and take phone orders beginning 3/3.

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

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by Dreameffects View Post
    Is it a typo in the install instructions
    it is
    Kuroi Web Design and Development | Twitter

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

  10. #420
    Join Date
    Nov 2007
    Posts
    29
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Aw thanks! So which one am I supposed to install?

    The installation is daunting to me and I'm hoping I don't screw anything up as I have spent many many hours building the store.

    I installed ZenCart via the Godaddy automatic install and database creation. Should I just be able to drop the files in their respective folders since I haven't done any mods other then a new theme install?

 

 
Page 42 of 124 FirstFirst ... 3240414243445292 ... 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