preapprove new members; add extra fields

Forum Forums Pre-Sale AJAX Login & Register Pro preapprove new members; add extra fields

This topic contains 5 replies, has 2 voices, and was last updated by  Zane M. Kolnik 3 years, 8 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #520 Reply

    pnoeric
    Participant

    Hi Zane– this plugin looks terrific, thank you for making it! Quick question, I need to let users register, but not be able to log in (i.e. not have “Subscriber” status in the userbase) until they’re approved by the site admins. It looks like that is a feature in the Pro version, correct?

    I also would like to be able to add extra fields to the registration form (for example, organization), which will be displayed inside WordPress. Is that possible, perhaps in concert with another plugin?

    Thanks again.

    best
    Eric

    #524 Reply

    Zane M. Kolnik
    Keymaster

    You can do some of this but not all, let me explain.

    User can register, but admin must approve
    You can use the “manual approval” feature, this requires admins to manually approve registered users prior to having them gain access to the site. However, you cannot set a user to “no role”, they would have to be one of the default roles.

    Extra Fields
    There’s two hooks you can use to achieve this; one allows you to add additional fields on the form, while the other allows you to filter those fields once the form is submitted. However you would still need to manually code where the additional fields are displayed in the WordPress admin.

    Let me know if you have any additional questions.

    #525 Reply

    pnoeric
    Participant

    Ok, sounds good, thank you. I’m curious for the register but admin must approve– how is the user flagged in the db before they are approved?

    #526 Reply

    Zane M. Kolnik
    Keymaster

    Its flagged in the DB via a single entry in user meta. If this flag is set the user will not be allowed to login. Once they are approved this flag is removed and an email is sent notifying the user their account is approved.

    #527 Reply

    pnoeric
    Participant

    Ok. So if I want to prevent a user from seeing a specific page until they are logged in (meaning: they registered, and admin has approved their account), I would just need to find a plugin that prevents a page from loading for non-logged-in users. Is that correct?

    #528 Reply

    Zane M. Kolnik
    Keymaster

    Yes, thats correct, you would use a plugin that “restricts content”.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: preapprove new members; add extra fields

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.