View Full Version : Administration Access Level Accounts 2.0

10-16-2008, 03:01 AM
Access with Level Account (v. 2.3.0) for the Administration Area of osCommerce (MS2) with categories extension


Version Information:

This is the full previous Admin-Access-Level package (2.1_1) with UPDATE to be compatible with osCommerce-2.2ms2-051113

This package has been originally written for osCommerce's Administration Tool (MS1) by Zaenal Muttaqin (donation to http://www.stormpay.com )

After, customized by Seth Lake to works on osCommerce (MS2) and refinements by Herald Ponce De Leon ([email protected])

Then, the existing works have been joined by Piero Trono (http://php-multishop.com) in this package that include the complete translation in German, Spanish, Italian and French (translation in French thanks to CRDD - [email protected]), including the button images and some missing variables.
Note: as I don't speak German, some German Definitions are written in English, I'm sorry.

This package is released under the GNU/GPL License with absolutely no warranty
(read LICENSE.txt file).

In addition, it includes the contribution Extension to Administration Access Level Accounts 2.0 by Oliswiss http://forums.oscommerce.de/index.php?showuser=6697 with the corrections from Thomas ****tli and me, Pedro Parrilla.


# Main Features

- Login box to access the Administration Panel
- Password forgotten - email password feature.
- Logoff function
- Create, edit and delete multiple administration accounts
- Create, edit and delete multiple administration groups
- Assign and define boxes and file permissions for individual groups
- Head Administrator can add and remove boxes as well as files from certain groups
- Automatically displays accessable boxes and files in the Left Menu
- Email notification when you create an administrator account

# Added features with categories access contribution:

- It is possible to set rights to product categories on their highest level for administrators.
- The Administrators see only those categories, on which them corresponding rights possess.
- Administrators of the group 1, thus the Top administrators, have full rights for all categories.
- The options for categories (new category, edit, delete, move) as well as those for products (new product, edit, delete, copy, move) can be assigned to each administrators, which are not member from the Top-Admin group.

# Added features my me:

- I have added more text to the emails to indicate the name of the corresponding admin, as well as an email copy for the store admin email so that we can always track any changes on any account, even the password changes.

- Spanish text correction.

- I have added a drop down menu on the login_admin.php form so that it is possible to select the language from the beginning.

- The user/admin logging into the administrative area will be redirected the categories page, as it does not make sense to go into the main admin page, where most of the links won't be accessible, depending on the rights defined for that admin.

- Now, the code pay attention to the rights defined not only for the main categories, but also for the sub-categories, which makes much more sense to me.

# Bugs fixed:

Apart from the integration of all the bugs posted at http://www.oscommerce.com/community/contributions,1359, I have fixed and added some bug fixes from the forum>

- I have cleaned up some links and drop down menus which should not appear in a restricted access for an admin not in the Top admin group.

- Problems with the name of the categories when editing a member.

- Database problems, as the warning one with the function tep_num_rows.

- Some general bugs regarding basic operations, as delete admin... or the edition of the categories for the top admin members.

- Of course, all bugs fixes by Thomas posted at http://www.oscommerce.com/community/contributions,1359, 6-June-2006.

- ...and the rest of the fixes posted till the current date 16-Oct-2008, including the register globals issue, the "idden" issue and so on.


NOTE: This contribution comes from several contributions and fixes which I decided to integrate to help anyone which might be interested on it, given that there were some bugs and many questions on the forum, so I thought that I might share my work on trying to improve it with eveybody.

I would like to thank all people who have done/collaborated in it, starting from Zaenal Muttaqin, Seth Lak, Piero Tron, Oliswiss, of course, and Thomas ****tli.

This set of contributions (let's call this that way) has been tested with Oscommerce 2.2 Ms2.

More... (http://addons.oscommerce.com/info/1359)