content restriction problems

14 years 8 months ago #104866 by delliott
content restriction problems was created by delliott
This is really proving to be a lot harder to integrate than the documentation would suggest!

Now, the problem I have is this scenario:

1. I set up a donation plan to have a few menu items restricted (only visible via this plan)

2. I copied the plan to make a child plan

3. On the child plan, I removed the content restriction

4. I signed up on the parent plan -- and I cannot see the content that is supposed to be revealed once I am paid and login.

5. I looked in the database and the child plan still had the restriction on the content menu items.

6. I manually removed that from the db, (I mimicked what it should look like for a fresh plan with no restrictions)

7. I still can't see the content logged in a subscriber to the parent plan!!!!

It seems as tho' CB Subs is now stuck in some loop of restricting that content to any subscriber of my parent or child plans. This seems to be a bug.

Joomla 1.5.9
CB 1.2.1
CBSubs 1.0.1

I need to know how to fix this. I've already gone thru a complete reinstall 1x because of my last post with the email checker and password checker not working right. I would really like to not have to do that again.

Please advise how to fix this situation.

Please Log in to join the conversation.

14 years 8 months ago #104876 by beat
Replied by beat on topic Re:content restriction problems
Sorry to ask, but it looks very much like you accessed the database directly ?

can you detail your "6." ?

why not do it in edit plan in backend ?

CBSubs is a beast, and manipulating the database is at your own risk, as it might break consistance, and behavior of CBSubs...

Without manipulating database, works fine here...

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

14 years 8 months ago #104895 by delliott
Replied by delliott on topic Re:content restriction problems
I tried it many many times before looking at what was actually in the field in the database. This appears to be a bug...removing the content menu options chosen to be restricted does not remove it off the database entry that documents it. You can see it at work on my website, I'll give you access to look if you'd like. It is truly not working--I am an experienced joomla administrator and developer in general...this really looks like a bug by the manner in which the code is behaving.

Please Log in to join the conversation.

14 years 8 months ago #104897 by delliott
Replied by delliott on topic Re:content restriction problems
let me be sure I am clear here with what I did... I tried to use the backend first many many times and it did not make a difference. When I could see that regardless of what what shown in the backend as restrictions and yet the content was still be restricted I knew it had to still be set somewhere in the db. So, I went to the db to look to see what was different between a new dummy plan with no restrictions and the ones I was trying to edit.

I then made my parent and child one look like the dummy one I created in just 1 field. That still did not fix it. So, there are 2 levels of this not working:

1. the backend admin panel does not reset the content restriction regardless of what it says. It seems to restrict it 1x for all time.

2. editing the db didn't help either...didn't change a thing

Please Log in to join the conversation.

14 years 8 months ago #104898 by krileon
Replied by krileon on topic Re:content restriction problems
To clarify:

You have 1 parent subscription ( herein called Plan A ) and 1 child subscription for the parent ( herein called Plan B ).

You subscribed to Plan A to gain access to restricted content from Plan A, correct? Yet you do not have access?

Parent and children plans are meant to work together. If you restrict something with a parent, I do believe the restrictions extend to the child. The child can be used to further customize the parent. The way you're wanting it you need 2 desperate plans; both being parents.

I'm just confused on what you're trying to do; please clarify for further assistance.

Post edited by: krileon, at: 2009/07/14 19:17


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

14 years 8 months ago #104901 by delliott
Replied by delliott on topic Re:content restriction problems
Originally I had:

1 parent, with a child plan
A conference registration (parent) with the option to add spouse registration(child).

Child initially copied from Parent plan (in the backend)

CHild plan then modified to not have the restrictions (in the backend ) that the parent had

Parent plan subscribed to....no access to what hte parent plan was supposed to allow access to.

Next..

I made the child plan not be a child of the parent but rather no parent-- in the backend again.

Dropped my users and resubscribed to the original parent plan (which is no longer a parent but it's own plan).

Still no access to the restricted content.

At this point, I started looking in the db to see what the exact documented settings were.

I'd be happy to give admin access to my site so you can see this for yourselves. I'd prefer to email the credentials to you rather than post in here.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.219 seconds

Facebook Twitter LinkedIn