Support

Home Forums Event Espresso Premium WordPress User in WPMU

WordPress User in WPMU

Posted: August 1, 2013 at 2:38 pm


Marco Genovese

August 1, 2013 at 2:38 pm

I’m trying to run this snippet so that when a user registers for an event, it is also registered as a wordpress user.

The code works only on the main domain (aicsturitalia.it) but not on the subdirectory (aicsturitalia.it/agenzie).
The flow seems to work well, in fact is also received the email with username and password. However on the backend the new user is not created, but the administrator data is refreshed.

Do you know the reason for this strange behavior?
Could you help me solve this problem?

Thanks in advance


Marco Genovese

August 2, 2013 at 2:59 am

Is there anyone who can help me with this problem?


Dean

August 2, 2013 at 3:11 am

Hello Marco,

It is the expected behaviour, the code is designed to work on single sites, not multi sites.

Whilst Event Espresso can function on a Multi Site, it isn’t specifically designed to do so.

You could try modifying the function to be more Multi site friendly. I am no expert when it comes to it, but perhaps using a function such as http://codex.wordpress.org/WPMU_Functions/add_user_to_blog

Resources: http://codex.wordpress.org/WPMU_Functions


Marco Genovese

August 2, 2013 at 3:17 am

Hi Dean,
thank you very much for your reply.
I will try to follow your suggestion

Regards


Marco Genovese

August 2, 2013 at 7:36 am

I tried to change the function but I can not make it work.
Please, can someone help me?


Josh

  • Support Staff

August 6, 2013 at 2:44 pm

I believe this has been resolved here:

http://wordpress.org/support/topic/user-in-multisite-with-event-espresso?replies=7#post-4489156

The support post ‘WordPress User in WPMU’ 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