Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Auto-convert Subscribers to Registered Users | Event Espresso - Staging Server

Support

Home Forums WP User Integration Auto-convert Subscribers to Registered Users

Auto-convert Subscribers to Registered Users

Posted: April 2, 2014 at 3:56 pm

Viewing 6 reply threads


Simon Barnett

April 2, 2014 at 3:56 pm

I have created a volunteer time-slot booking system based on EE.

Volunteers also need to be able to log time worked on tasks for which I created a form linked to a custom content type, so this is a separate system from EE.

But I need EE user registrations to integrate with my system ie. EE subscribers must either:
a) be allowed permission to see my “Time Log” custom post type in wp-admin as EE subscribers
– or –
b) become registered users once they have signed-up through the EE registration system

Perhaps they do become registered users on a non-multisite installation? I see them in the list at http://themeselector.com/wp-admin/network/users.php so maybe on the live single-site installation I won’t have to manually add them?

The links to the system on my staging site are here:
http://themeselector.com/ozcftests/welcome-volunteer/


Dean

  • Support Staff

April 3, 2014 at 1:38 am

Hi Simon,

When someone registers for an event with Event Espresso, they are not registered as site users, regardless of EE or WP version.

Seth (one of the developers) created a function that can be used to create users on registration.

It can be found here: https://gist.github.com/sethshoultes/5574217

I modified it slightly, and this can be found here: https://gist.github.com/Apina/9596012

If you use one of those it will create users as Subscribers (though I’m sure you can change the role as needed). It is then up to your website set up as to whether they can access other information on the site.

Please note that Event Espresso does not support Multisite installations, so be aware that the plugin and any related code may not function as intended.


Simon Barnett

April 3, 2014 at 1:41 am

Thanks for coding that, Dean!
Looks like exactly what I was after – will give it a try..


Dean

  • Support Staff

April 3, 2014 at 1:57 am

No problem, and thank Seth too! He did the original work :)


Simon Barnett

April 3, 2014 at 1:58 am

Thank you Seth :)


Simon Barnett

April 4, 2014 at 9:28 am

Just to report back: that worked like a charm : )

I changed the role it creates to my custom role: volunteer
As you suggested Dean, it did seem to prefer being on a normal WordPress install, so I had to migrate the staging site to another domain / installation.

My custom-post-type, front-end simple time-logging system was built with a combination of code and the following plugins:
Types
Members
Map Cap
Gravity Forms
Gravity Forms + Custom Post Types
Codepress Admin Columns

..so I was able to link it to the volunteer role.

The system feels very cohesive now: http://jobza.co.za/
The form is hidden behind a registration requirement, but here are some screenshots:
http://goo.gl/q2wFWc
http://goo.gl/u5jLkx


Simon Barnett

April 5, 2014 at 5:17 am

Quick question: is there a quick line of code I can add to enable admin moderation of new user registrations.

As it stands I think it may be overriding the moderation capabilities of plugins like “Simplr User Registration Form Plus” and “New User Approve”.

If I get to the answer first I’ll post the solution here.

Viewing 6 reply threads

The support post ‘Auto-convert Subscribers to Registered Users’ 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 - Staging Server