Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  Administration Access Level Accounts 2.0

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
the last upload was corrupt repacked and uploaded again
This is a full package
updated the install docs to be more compatible with 2.2 RC2A
added 3 new file for the modular index.php

NOTE: multiple reports of the zip not being able to be opened
This is a full package
updated the install docs to be more compatible with 2.2 RC2A
added 3 new file for the modular index.php
This is a Full Package for 2.2RCA2A
This is an addon for the contri Administration Access Level Accounts 2.0.

By this addon, the user which is logged of because of he didn't request a page for too long, goes back to the page where he came from before he was logged of. Installation requires the editting of 2 files! Also Dutch installation file included.

-------------------------------------------

Dit is een toevoeging op de contri Administration Access Level Accounts 2.0.

Door deze addon gaat de gebruiker, indien deze uit is gelogd doordat deze te lang geen pagina heeft aangevraagd, na het opnieuw inloggen terug naar de pagina waar de gebruiker vandaan kwam. Ik had zelf de ergenis dat ik steeds terug moest naar waar ik vandaan kwam. Nu is dat verleden tijd!

Installatie benodigd de bewerking van slechts 2 bestanden! Inclusief Engelse installatie.
If you use the categories extension for this Contribution, there are two problems inthe SQL query in admin_members.php:

1. The language_id is set to '2'. Ihave changed it to '" . (int)$languages_id . "'
2. $top_categories_query is wrong
tep_db_query("select categories_id from " . TABLE_CATEGORIES . " where parent_id = '0' order by sort_order")
If you have more then one subcategories, others then admin_id=1 cannot access these.
You need to change it to
$top_categories_query = tep_db_query("select categories_id from " . TABLE_CATEGORIES . " order by sort_order");
File is attached
I have found a typo in login_admin.php on the line 39.
Change
$login_groups_id = $check_admin[login_groups_id];
to
$login_groups_id = $check_admin['login_groups_id'];

The file is attached
I installed this great contribuition. I got stuck on the catalog files it showed error on mysql where id=1 near to line (ALL)).
I had this great idea to make another top admin so it would be different from id=1. It really worked. So I suggest if someone has the same kind of trouble just do that as well.
Bug fixed.
Thanks for this great contribuition.
No file add - just a file with this text.
WARNING: This contrib should NOT be used on version RC2a of osCommerce.

It's made for 2.2 ms2 and will not work on RC2a, since the file structure is not the same and alot of the code is not the same too.

For example: the admin/index.php in RC2a is totally diffrent than in MS2.

The contrib should be updated by someone to support version RC2a before you use it on such version.

Hopefully someone will do that soon, because it is a GREAT and popular contrib!
if u want to use this contribution and make a cron job add the following:


1. in the script u want to make: let's say test.php

add at the begining of the file (the first line is for a file that is in the admin protected area)


#!/usr/local/bin/php -q
<?

define ('execute_cron_job','1');
?>


2. in admin/includes/application_top.php

look for

// comment out below line to disable this contribution
if (basename($PHP_SELF) != FILENAME_LOGIN_ADMIN && basename($PHP_SELF) != FILENAME_PASSWORD_FORGOTTEN && basename($PHP_SELF) != FILENAME_FORBIDDEN) {
tep_admin_check_login();
}


and change with

if (basename($PHP_SELF) != FILENAME_LOGIN_ADMIN && basename($PHP_SELF) != FILENAME_PASSWORD_FORGOTTEN && basename($PHP_SELF) != FILENAME_FORBIDDEN) {
if (execute_cron_job == 1) {
$login_id = '1';
$login_groups_id = '1';
$login_firstname = 'test';

tep_session_register('login_id');
tep_session_register('login_groups_id');
tep_session_register('login_first_name');

}else{
tep_admin_check_login();
}
}


the ideea above is when u came from your script to register your sessions and not the go to the function tep_admin_check_login();


3. in the script u want to make: let's say test.php add before the ?>

// so it doesn't remain any sessions
tep_session_unregister('login_id');
tep_session_unregister('login_firstname');
tep_session_unregister('login_groups_id');



So finaly the cron job task looks like: don't forget the php from fron
00 21 * * * php /home/username/public_html/admin/test.php



The file attached containt only this explanation
version 2.3.1 with french language
Added a Configuration flag and corresponding code to categories.php to allow the disabling of user-level restrictions on catalog access and catalog operations. If Configuration flag is 'true', groups with access to categories.php will be able to view/edit all products. If 'false', category access and allowable operations will need to be expressly assigned, user by user.

This zip file is NOT the full package, only the installation SQL file and the new categories.php and installation instructions.
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 <zaenal@paramartha.org> (donation to http://www.stormpay.com <zaenal@paramartha.org>)

After, customized by Seth Lake to works on osCommerce (MS2) and refinements by Herald Ponce De Leon (hpdl@oscommerce.com)

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 - coroidedroite@yahoo.fr), 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 Shittli 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 Shittli.

This set of contributions (let's call this that way) has been tested with Oscommerce 2.2 Ms2.
   Posted on: 10/16/2008     See contribution details Request Installation with Paid service