Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Access With Levels v. 1.5.1


djmonkey1

Recommended Posts

Ok-

 

I've installed the following contribution-

 

http://www.oscommerce.com/community/contributions,1/page,2

 

I melded it with PayPal IPN so everything shows up in the left column properly, etc. It's very nice.

 

But- I want the store owner to be able to access Customers, Reports, and PayPal IPN as well as Send Email, Newsletter Manager, and Who's Online (these last three are in the tools section, and PayPal IPN is it's own section).

 

Problem #1- Adding access to PayPal IPN isn't an option on the administrators page, where access permissions are defined, and I can't figure out how to add it. I can set PayPal IPN to 'require' instead of 'If CanShowBox' but then it shows up on the login page too.

 

Problem #2- I added links to Send Email, Newsletter Manager, and Who's Online to the Reports box, but they don't work. IE shows a 404 error and Mozilla Firebird returns a message that says

Redirection limit for this URL exceeded.  Unable to load the requested page.  This may be caused by cookies that are blocked.
The original links in that box all work. If only this problem could be solved then problem #1 can be ignored, since I can just add more links to the Reports box.

 

I've dug around the forums to see if others had similar issues but there are so many admin levels contributions being discussed I nearly had to turn to the bottle.

 

Any help, much appreciated.

 

Cheers,

Stew

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

Hopefully your using PayPal_Shopping_Cart_IPN :D

 

Anyway, have a look at admin/administrators.php you will find an associative array that 'associates' specific files to particular files from each category box, for example, you may need to associate packingslip.php to the customers.php file, so too for invoice.php, and now paypal_ipn.php, etc...

 

HTH.

"Any fool can know. The point is to understand." -- Albert Einstein

Link to comment
Share on other sites

Hopefully your using PayPal_Shopping_Cart_IPN

 

No. Should I add another GAAAAAAAAAAAHHHHHHHHHHHH for that too?

 

Thanks for the tips, I'm going to take a break and come back to this later.

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

Ok, I've obliterated PayPal IPN and installed Greg's coolio PayPal_Shopping_Cart_IPN mod, so now Problem #1 is moot.

 

But, for Problem #2 I'm stuck. I thought that it would be admin/administrators.php, and looked again after your suggestion, but still no luck. That's not to say it's not in there somewhere, but I haven't found it yet.

 

If you have any more specific advice I will, in the spirit of some of your other posts, buy you a beer....

 

:D

 

stew

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

My mistake, I meant admin/includes/functions/administrators.php

 

Here's the top part of the array that needs to be amended (not might not be exactly the same as yours, but gives the idea - i.e. customers.php).

    $aADMPages = array( 'configuration.php'            => 'configuration.php',
                       'index.php'                    => '*',
                       'categories.php'               => '*',
                       'categories.php'               => 'catalog.php',
                       'products_attributes.php'      => 'catalog.php',
                       'manufacturers.php'            => 'catalog.php',
                       'reviews.php'                  => 'catalog.php',
                       'specials.php'                 => 'catalog.php',
                       'featured.php'                 => 'catalog.php',
                       'products_expected.php'        => 'catalog.php',
                       'define_mainpage.php'          => 'catalog.php',
                       'modules.php'                  => 'modules.php',
                       'customers.php'                => 'customers.php',
                       'members.php'                  => 'customers.php',
                       'orders.php'                   => 'customers.php',
                       'invoice.php'                  => 'customers.php',
                       'packingslip.php'              => 'customers.php',

Edited by gregbaboolal

"Any fool can know. The point is to understand." -- Albert Einstein

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...