Forums / All Other Contributions/Addons / Category Specific Access Restriction (CSAR) - [Support Thread]

Category Specific Access Restriction (CSAR) - [Support Thread]

Views: 33,213

Results 121 to 140 of 188
8 Oct 2014, 2:46 AM
#121
imagixx avatar

imagixx

New Zenner

Join Date:
Oct 2014
Location:
Miami
Posts:
7
Plugin Contributions:
0

Category Specific Access Restriction (CSAR) - [Support Thread]

Nope, now I'm still not seeing it even with Special Privileges, simply locked out. ...

8 Oct 2014, 9:23 AM
#122
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

imagixx:

OK, got it. These were linked products, so you have to include all their respective linked products, categories.. Neat stuff, Frank!

If CSAR is installed as per instructions you should only have to enter the master_categories_id

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

8 Oct 2014, 6:53 PM
#123
imagixx avatar

imagixx

New Zenner

Join Date:
Oct 2014
Location:
Miami
Posts:
7
Plugin Contributions:
0

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

Thanx Frank. I think the issue may be Zen 1.5.3. Has this been tested/working on the current version? I remain locked out of categories despite my privileged user status.

8 Oct 2014, 9:06 PM
#124
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

imagixx:

Thanx Frank. I think the issue may be Zen 1.5.3. Has this been tested/working on the current version? I remain locked out of categories despite my privileged user status.

CSAR works fine with ZC 1.5.3 - I have this running without a glitch on my production site, local dev sites and performed several installations for clients, all on the latest version of ZC.

What other modules are installed on your site?
Were all files merged correctly?
Are all files uploaded to the correct locations?

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

8 Oct 2014, 9:26 PM
#125
imagixx avatar

imagixx

New Zenner

Join Date:
Oct 2014
Location:
Miami
Posts:
7
Plugin Contributions:
0

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

Hi Frank, It must be my install - I just dropped your files into the new install, thinking that would be fine (quick and easy). Mea culpa. Oh well. I should have known. Any idea what part may be preventing the recognition of a privileged user? I'm going to hate to start from the beginning. (Yes, I should do this, and not waste any more of your time. But if you have a quick pointer ... ).

8 Oct 2014, 9:41 PM
#126
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

imagixx:

Hi Frank, It must be my install - I just dropped your files into the new install, thinking that would be fine (quick and easy). Mea culpa. Oh well. I should have known. Any idea what part may be preventing the recognition of a privileged user? I'm going to hate to start from the beginning. (Yes, I should do this, and not waste any more of your time. But if you have a quick pointer ... ).

I'm afraid you will need to follow the installation instructions to a T. Most headaches happen when shortcuts are chosen (this applies to almost all contributions...)

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

8 Oct 2014, 9:45 PM
#127
imagixx avatar

imagixx

New Zenner

Join Date:
Oct 2014
Location:
Miami
Posts:
7
Plugin Contributions:
0

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

Thanx Frank. Although you might consider simply doing a drop and replace in a clean install, but I know there are other considerations and everyone does have to make a living. But, I do thank you for making the contribution available to the community. Best,

10 Feb 2015, 2:35 PM
#128
lavendersblue avatar

lavendersblue

New Zenner

Join Date:
Mar 2011
Posts:
22
Plugin Contributions:
0

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

I have installed the CSAR plug in, however it is re-directing all customers going to my website to the log in page rather than those trying to access the category that I want to restrict. If I click on a category then I can see the products in that and only the product prices from the non-restricted categories are being shown, so that is working well. Can anyone tell me what changes I need to make to the code so that all customers see my home page unless they try to access the restricted category? My website address is; thecandleandcardco.com and the restricted category is 'wholesale'. Any help would be much appreciated as if I can get this problem sorted it will be brilliant, I have been wanting to do this for ages.

10 Feb 2015, 10:29 PM
#129
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

lavendersblue:

I have installed the CSAR plug in, however it is re-directing all customers going to my website to the log in page rather than those trying to access the category that I want to restrict. If I click on a category then I can see the products in that and only the product prices from the non-restricted categories are being shown, so that is working well. Can anyone tell me what changes I need to make to the code so that all customers see my home page unless they try to access the restricted category? My website address is; thecandleandcardco.com and the restricted category is 'wholesale'. Any help would be much appreciated as if I can get this problem sorted it will be brilliant, I have been wanting to do this for ages.

Try this: Specify one category as restricted, pick one which does not exist, eg 10000 or something very high. Then check again.

If it still does not work as desired, make sure that all files have been merged properly.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

7 Sep 2015, 3:35 PM
#130
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

I copied category_specific_access_restriction_admin_page_reg.php to the Includes/functions/extra_functions folder instead of the admin/includes/functions/extra_functions and I logged in to the admin. It ran but then idiscovered my mistake. Now I have copied the category_specific_access_restriction_admin_page_reg.php to the correct folder. Now it will not run when logining into the admin. What can I do to get the Category Restriction menu item installed?

7 Sep 2015, 5:47 PM
#131
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

My mistake this was a duplicate to previous post.

7 Sep 2015, 10:43 PM
#132
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

jodean:

I copied category_specific_access_restriction_admin_page_reg.php to the Includes/functions/extra_functions folder instead of the admin/includes/functions/extra_functions and I logged in to the admin. It ran but then idiscovered my mistake. Now I have copied the category_specific_access_restriction_admin_page_reg.php to the correct folder. Now it will not run when logining into the admin. What can I do to get the Category Restriction menu item installed?

Delete the file category_specific_access_restriction_admin_page_reg.php, backup your DB and then run the CSAR_uninstall.sql patch.

Now carefully study the Readme.html file and follow the instructions step by step - make sure that all files contained in the package are properly merged and uploaded to the correct folders.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

8 Sep 2015, 12:03 AM
#133
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

I found that the SQL code and the PHP code un the installation was using gID 32. Unfortunetly this was already used by another plugin. I restored the SQL from before this plugin. I changed the SQL Install to reflect an unused gID and ran the install SQL. I then checked out the records that were built by the install SQL and they looked OK now. I changed the category_specific_access_restriction_admin_page_reg.php to reflect the change gID. copied it over to the server and logged in to Admin. The category_specific_access_restriction_admin_page_reg.php is not deleted so I can only assume the php is not executing. Still the Category Restriction menu item is not visible.

I have not gone any further in the instructions since step 7 is not passing.

8 Sep 2015, 12:51 AM
#134
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

jodean:

I found that the SQL code and the PHP code un the installation was using gID 32. Unfortunetly this was already used by another plugin. I restored the SQL from before this plugin. I changed the SQL Install to reflect an unused gID and ran the install SQL. I then checked out the records that were built by the install SQL and they looked OK now. I changed the category_specific_access_restriction_admin_page_reg.php to reflect the change gID. copied it over to the server and logged in to Admin. The category_specific_access_restriction_admin_page_reg.php is not deleted so I can only assume the php is not executing. Still the Category Restriction menu item is not visible.

I have not gone any further in the instructions since step 7 is not passing.

Please PM me your email address and I send you an updated package (not published), include your ZC version in the PM.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

9 Sep 2015, 11:41 PM
#135
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

Thanks for your PM:

Flashbackryan:

Hey there. I've been meaning to add your CSAR to my site but have a question. I recently upgraded last week to version 1.5.4. Will the CSAR still work ? And if not do you plan on upgrading it so it will? Thanks in advance for your time. I truely appreciate it.

Ryan

I have the current (official) version working on a ZC 1.5.4 installation. A new upgraded version for ZC 1.5.4 is in the making.

Please post any future requests here in this thread instead of PM, thanks.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

14 Sep 2015, 11:46 PM
#136
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

CSAR version 2.1.x for ZC 1.5.4 is in the testing phase and will be submitted to the Plugins within the next few days.

Changes are:

Version 2.1.1 (2015-09-15)

1. Changes to installation procedure:

    - added auto-installer to comply with latest Zen Cart plugin procedures
    - eliminated the need of manually running sql install patch
    - updated sql uninstall patch

2. Changes to includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php:

    - eliminated having to enter the master categories ID AND the corresponding full cPath (eg 4_12_100) in admin
    - added snapshot to 'Login for Price' so customer is automatically directed back to the selected product page after logging in

3. Added appropriate code to 'Document Product' to incorporate this product type into CSAR

4. Changes to includes/functions/functions_prices.php:

    - made 'Login for price' in the listings 'clickable' (= directing to the login page)

5. Minor bug fixes

Cheers / Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

20 Sep 2015, 3:01 PM
#137
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

CSAR Version 2.1.1 for ZC 1.5.4 is now available from the plugins area: https://www.zen-cart.com/downloads.php?do=file&id=1234

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

2 Nov 2015, 5:24 AM
#138
resqjoc avatar

resqjoc

New Zenner

Join Date:
Jan 2015
Posts:
19
Plugin Contributions:
0

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

This plug in is not installing properly. I have done all merging of the files, but when I login to my admin, I get a page error message. I have to disable the auto installer file to be able to login to my admin.

When I able to login to my admin, the customers do not show up. I have to change my "customers.php" file from admin folder back to the original file. This is on a test site.

I am running ZC Ver. 1.5.4 and CSAR 2.1.1

Any ideas?

Thanks
Stan

2 Nov 2015, 9:54 AM
#139
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

resqjoc:

.....but when I login to my admin, I get a page error message.

What does the error say?

Also pls check your /logs folder and post the errors here

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

2 Nov 2015, 11:39 AM
#140
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Category Specific Access Restriction (CSAR) - [Support Thread]

frank18:

What does the error say?

Also pls check your /logs folder and post the errors here
Also, since you indicated that the error occurs when you access your admin, make sure to xxx-out any reference to your admin folder's name if you are going to post the contents of one or more of the myDEBUG-adm-*.log files!