• Resolved Nickmarshmac

    (@nickmarshmac)


    Hi

    I needs some help on this plugin. When a user currently goes to register and already exists an error message pops up to say username already exists – please choose another.

    Is it possible (don’t ask me why!) that I can change the plugin so that it lets a user register ONLY if a username already exists in the user_name field?

    https://ww.wp.xz.cn/plugins/simple-membership/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Nickmarshmac

    (@nickmarshmac)

    Forgot to say – I’ve duplicated the username field but writing the new one (username validator) to a different field.

    you need to modify codes in several places.
    1. in place where form data is validated (classes/class.bForm.php)
    2. in place where form data is saved in DB (classes/class.simple-wp-membership.php)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Register if user exists’ is closed to new replies.