Jump to content
Sign in to follow this  
djmonkey1

Admin Access With Levels v. 1.5.1

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.

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×