• Resolved Kathy_Goss

    (@kathy_goss)


    Hi Justin,
    Thank you for your plugin. CI haven’t installed it yet. Could you please clarify for my use case. I provide a replicated website solution within a multisite. The only registration capability on the subsites is for an online courses program that has it’s own ajax registration and new users are subscribers with no dashboard access.

    Most of my sales for websites comes from referrals from existing sites. Typically someone will check out an associate’s site including registering for the online course. If they do, then they have the problem with the username / email that your plugin is solving.

    Questions:
    1. Will this work even though we are using the courses registration form on the subsites?
    2. I currently have 150 subsites – would I have to go in an change the configuration of all subsites? The primary problem is when they decide to create a website if they had tested the courses program on a subsite so it is really one directional. In other words, if they have a website with the courses, they would never be trying to register on a subsite. I hope this distinction makes sense.

    I am really hoping this will work in my use case. I see so many failed potential site registrations!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Justin Fletcher

    (@justinticktock)

    Hi Kathy,

    Its not too clear to me how your Network (multi-site) is working for registration, as it sounds like you are registering on subsites already for courses registration. For that to happen you will have already done something non-standard as for a Network you will always need to register on the main site.

    Some attempts to answer you,
    1) if your courses registration handles registration in a WordPress way then yes it should. However, I don’t quite understand your setup from your words.

    2) to allow registration on all sites then yes you would need to go into each site and configure the NSUR plugin settings to enable registration.

    Thread Starter Kathy_Goss

    (@kathy_goss)

    Hi Justin, thank you for your response.
    The course program that I’m using is CoursePress Pro. Visitors can register on a subsite to enroll in courses. However, as in all multisites, their user information is also in the network. Therefore, if they then decide to sign-up for a site, they are not able to because of the duplicate email address issue from the network user table.

    Is this what your plugin solves for?

    Plugin Author Justin Fletcher

    (@justinticktock)

    Yes that should work for you, the plugin will give existing registered users on the network access to a new site if they attempt to register with the same email address.

    if the user is already logged into the network then they wouldn’t need to register on the subsite, they would be given “subscriber” access automatically.

    it would be a fairly quick test for you to load the plugin and enable registering on one of your subsites and see the response for an existing user who doesn’t have access to the subsite.

    since the use case is so narrow, perhaps just a snippet would do?

    I found this at StackExchange, and at first glance it seems like it might do the trick:

    add_filter('wpmu_validate_user_signup', 'skip_email_exist');
    function skip_email_exist($result){
        if(isset($result['errors']->errors['user_email']) && ($key = array_search(__('Sorry, that email address is already used!'), $result['errors']->errors['user_email'])) !== false) {
            unset($result['errors']->errors['user_email'][$key]);
            if (empty($result['errors']->errors['user_email'])) unset($result['errors']->errors['user_email']);
        }
        define( 'WP_IMPORTING', 'SKIP_EMAIL_EXIST' );
        return $result;
    }

    …though it evidently only allows a total of two accounts (for probably fascinatingly silly reasons) – however, sounds like one additional account per email address might be all you really need to capture those attempted signups.

    Hope this is useful, stay well ??

    Cheers, Max

    • This reply was modified 6 years, 8 months ago by max.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multisite with create site capability’ is closed to new replies.