Hi. I recently installed osCMax, and I just modified and installed the MVS (Multi Vendor Shipping) contribution into my copy of osCMax.
Perhaps when I get it working properly, I can post the contribution to oscdox--is there a way to do that?
I'm having a little trouble getting things to work properly with the "Admin w/access levels" contribution.
Initially, when I went to the admin page, and clicked on any of the vendor links (Vendor management, Vendors, Product Reports, or Vendors Orders List), I got an error-- something like "No Right Permission Access". It basically said that I didn't have permission to access that link.
I looked around in the code, and found the admin_files database table, and it looked like I needed to have entries in that table for the files: vendors.php, prods_by_vendor.php, orders_by_vendor.php, move_vendor_prods.php.
I couldn't find any documentation on this table (is there anything I could look at???), but I guessed as follows:
I inserted 4 records into the table:
insert into admin_files (admin_files_id, admin_files_name, admin_files_is_boxes, admin_files_to_boxes, admin_groups_id) values ('124', 'vendors.php', '0', '124', '1');
insert into admin_files (admin_files_id, admin_files_name, admin_files_is_boxes, admin_files_to_boxes, admin_groups_id) values ('125', 'prods_by_vendor.php', '0', '124', '1');
insert into admin_files (admin_files_id, admin_files_name, admin_files_is_boxes, admin_files_to_boxes, admin_groups_id) values ('126', 'orders_by_vendor.php', '0', '124', '1');
insert into admin_files (admin_files_id, admin_files_name, admin_files_is_boxes, admin_files_to_boxes, admin_groups_id) values ('127', 'move_vendor_prods.php', '0', '124', '1');
I was then able to click on the vendor links.
But then when I went to the links, I noticed that the vendor links didn't show up in the box on the left, so I went to the "File Access" link (admin_files.php), and for "Vendors", I clicked on the green button to install the vendors box.
The Vendors links now show up in the box on the left, but I now have 2 records in the admin_files table for "vendors.php".
What should I do to fix this? Should I not have done the original inserts into the table? Should I have just gone to the admin_files.php and clicked on the green button?
Should I now remove the 4 entries that I added?
Thanks very much for any help with this.
I'm hoping I didn't totally mess things up. I looked all over the forums to try to find any kind of description of the admin_files table.
By the way, I initially posted this question in forums.oscommerce.com, in a thread for the Multi-Vendor Shipping contribution, and I got scolded for posting about osCMax. Yikes! I thought it was a reasonable question about getting mvs to work with "Admin with Access Levels".
Bookmarks