Rules Scheduler and Content Access
Hi,
I'm working on a site where we are going to streaming live events. I have, with help from Commerceguys in this tutorial managed to sell access to nodes per user. So far so good.
My problem is that i want to be able to set a date on every premium node (e.g +1 day, fixed date). So if you buy a recorded event you're supposed to have access to the node for 24 h and if you buy a live event you will have access to it for a specific date/time.
Read moreHelp with rule designating user's role
I have a rule with the following traits that doesn't work as expected.
If a field in the user's profile = "yes", then user's role should be set to "organization rep." This is not happening with the current settings. Does anyone know what is wrong here? Thanks.
Events:
After saving a new user account
After updating an existing user account
Conditions/Elements:
Data comparison
Parameter: Data to compare: [site:current-user:field..., Data value: Yes]
Actions/Elements:
Add user role
Parameter: User: [account], Roles: organization rep]
CiviCRM 3.4.1 ACL Is Now Ignored When Calling API Via PHP in Content Template
I've posted this over in CiviCRM forums but I'm thinking that if Gregory Heller or someone similar sees this post, he/they might be able to help.
I've just upgraded to CiviCRM 3.4.1. I am wondering if that's what caused what I'm describing here.
If you refer to
Re: Trying to print CiviCRM_Address fields for Contact Refernce Via a NODE
(http://forum.civicrm.org/index.php/topic,19637.msg81734.html#msg81734)
