Support

Home Forums Event Espresso Premium Issues with EE Events Confiugrations

Issues with EE Events Confiugrations

Posted: November 3, 2014 at 11:30 am

Viewing 5 reply threads


Cliff Almeida

November 3, 2014 at 11:30 am

Hi we have had some really weird things going on with our EE setup. Here are some examples:

A couple days ago I created the following “Questions” in EE to meet the requirements of an event:
– City/Town
– State/Province
– Postal/Zip Code
– Country

These fields already existed, but the existing ones had the “Required” box checked and were also being used on the European Interop event (where they are required fields).

I had to create identically named fields, since this same list needed to be added to the OPC Day Japan event. However, since we did not want these to be required fields, I had to create a “JP Company Information” Question Group to be used on that event, where I then added these fields.

So everything was working fine until this morning when OPC-J reported to me that the fields on their event were again “required”. I looked in the backend and each of the above fields that I created with the “Required” field set to “No” is gone, or at least it’s not assigned to me anymore.

How does this happen?

Check the attached screenshot, https://www.dropbox.com/s/ox9nvur6monfitd/EE-no-user-error.jpg?dl=0 you will see that is one record for user_id = 1 but there is no record for ID = 1 in user table and I think this is the reason why we are getting such error. I think when we delete / remove any user from WP, the EE settings remains unchanged for that user which causes problems after.

Can you let us know if you can think of anything? We dont see actual coding issues.


Lorenzo Orlando Caum

  • Support Staff

November 3, 2014 at 3:18 pm

Hi,

If you are using the roles and permissions pro add-on, then other team members will not have access to your questions.

I mention this as it looks like there are several members in your screenshot.

When you login with their account, are you able to see the separate question group that was created?


Lorenzo


Cliff Almeida

November 4, 2014 at 7:15 am

Hi Lorenzo,

Yes we have several members and we are using roles and permission pro add on as well.

When we login with different accounts, we see separate question groups in My groups section and all question groups in All Groups section.

Murtaza


Josh

  • Support Staff

November 4, 2014 at 8:53 am

Hi Murtaza,

You’ll need to either: A) Make sure that you’re logged into the same account where the questions and question groups were added when you create the events that use those questions.

Or B) Add a filter function like the one below to allow all question groups to be used by all event editors. The function can be added to a custom snippets plugin.

//remove r&P question group filter so any event editor has all the questions:

add_action( 'init', 'ee3_modify_permissions_questions' );

function ee3_modify_permissions_questions() {
	remove_filter('espresso_get_question_groups_for_event_where', 'espresso_rp_basic_get_question_groups_for_event_where', 10, 3);
}


Cliff Almeida

November 5, 2014 at 8:52 am

Hi Josh,

Thank you for your response but the problem is not related to access one member groups from another member account. The main problem is, we created a group and none of the questions were required but after few days all questions were marked as required, we don’t know the reason why, that’s why we reached you guys. Please read the topic description once and let us know if you can help us with that.

Thanks.


Josh

  • Support Staff

November 5, 2014 at 10:41 am

Hi Cliff,

I did read the topic discussion. And from reading it I could discern that the issue you are seeing is from the way that the Roles and Permissions add-on manages questions and question groups on a per user account basis. The two solutions I presented earlier will help you work around that issue.

Have you tried either of the solutions I outlined?

Viewing 5 reply threads

The support post ‘Issues with EE Events Confiugrations’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso