Support » Plugin: Client Portal - Private user pages and login » Major Conflict with Ultimate Member

  • Resolved qeyduey

    (@qeyduey)


    Hello @gabrielberzescu,

    We are currently experiencing a MAJOR issue with Client Portal and Ultimate Member. At some point or another, (I believe) the two were playing fine; however, as of right now, when Client Portal is activated, a user cannot complete an Ultimate Member registration form.

    When a user tries to register for an account, they are redirected to the home page and the registration form is not processed correctly. The user is created successfully, but they are 1) not assigned a role; 2) missing their first and last name fields; 3) they are not assigned any custom fields; 4) unable to login with the username and password they just signed up with.

    As soon as you deactivate Client Portal, everything goes back to normal and is working perfectly fine. User can register, all signup information is saved, role is assigned, and they are redirected to the correct signup page.

    Please advise!

    Client Portal version 1.0.9
    Ultimate Member version 2.0.56

    Thank you in advance for your help with this!

Viewing 8 replies - 1 through 8 (of 8 total)
  • So, it seems, more specifically, it is the cp_create_private_page function, which is tapping into the user_register hook.

    If this function is commented out, the conflict is eliminated and the UM form registration begins working normally again; however, then no private pages are created on registration, of course, and this will have to be done manually each time new users are created by hitting the “Generate pages for existing users” button in Private Pages > Settings.

    Surely there is a quick fix for this?

    Again, many thanks in advance for your help resolving this! =D

    Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Hello @qeyduey

    Just to make sure, we are talking about this plugin, right?

    https://wordpress.org/plugins/ultimate-member/

    Because I have just tried this on my test rig with Client Portal active, and their registration seems to be working properly.

    Do you know of some setting that I should make in order to reproduce the problem?

    With best regards,
    Gabriel

    qeyduey

    (@qeyduey)

    Hey @gabrielberzescu,

    Yes. That’s the correct plugin.

    I’m not sure that there are any settings I have that might be causing the issue. There are no special registration settings within Ultimate Member (UM).

    However, did you try this with the version that I had listed? I am using UM version 2.0.56 for compatibility reasons.

    I’ve tried everything (down to disabling all other plugins) and as soon as I have CP activated with UM, the registration stops working.

    And, again, if I keep CP activated but block out the cp_create_private_page function, everything works perfectly.

    Thanks in advance for your help with this! =D

    Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Hi @qeyduey

    OK, I missed that, sorry…

    I have just tested this with UM 2.0.56 and indeed I could experience a problem.

    Their auto-login appears to not be working with this older version, but the user is created and I could log in with the username and password they I signed up with.

    But in any case, we have no resources to fix compatibility issues with legacy versions of other plugins.

    Can you please test this with the latest UM version and see if you can reproduce? Maybe use a staging site for this.

    Then we can take a look. But as I said, I have tested it and it appeared to be working properly.

    With best of regards,
    Gabriel

    That’s unfortunate, but understandable I suppose?

    We don’t really want to update to the newer version of UM because of some issues we’ve heard others running into. And as it stands, we have everything set up running perfectly stable and bug-free.

    I understand your time is likely spread thin across a multitude of different things, but if you could help me out with this it would be GREATLY appreciated. Your plugin has been a Godsend for us and we’ve made so many customizations to get things to work. This is literally the only thing we’re stuck on right now and to search for an alternative would be a MAJOR pain in the ass right now.

    Thanks in advance for your consideration.

    • This reply was modified 4 months, 3 weeks ago by qeyduey.
    Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Hi @qeyduey

    Sorry, but there is little that I can do about it — our policy prevents me from taking this do development.

    Perhaps you can auto-trigger the “Generate pages for existing users” after each user registration?

    There is probably a function, right?

    With best regards,
    Gabriel

    Hey @gabrielberzescu,

    Thank you for at least getting my brain working here!

    After investigating this further, I was able to make a small modification to the CP plugin to get this to work.

    If anyone is having issues with this, simply tap into one of UM’s registration hooks. In my case, I utilized the um_registration_after_auto_login hook to resolve my specific issue.

    Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Glad to hear @qeyduey

    Thanks for letting us know, and sorry we could not help more.

    Best of regards,
    Gabriel

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.