Skip to:
Content
Pages
Categories
Search
Top
Bottom

Do want to approve new user, don't want to activate


  • Mark Dek
    Participant

    @mark-dek

    WP 3.9 | BP 2.0 | single site
    I could post all the trouble I ran into on my quest, but it’s quite a list. So let me start by trying to explain what I want to achieve:

    I am making a corporate site, which is visible only to registered users (both WP content and Buddypress pages). However, anyone can request an account, providing they are actually an employee of the company. the flow I have in mind is as follows:

    Users comes to site and click register
    fills in username, email, password en confirm password + 1 or 2 custom fields. redirected to ‘account waiting approval’ temp page
    Administrator receives email that a new member wants access. Administrator checks whether user is an employee and approves user
    Now user receives email that his account is created, logs in and is redirected to his ‘edit my profile page’

    I have tried to accomplish this in many ways, but haven’t succeeded in anything else then stacking plugins.

    Registered-users-only-2: keeps unregistered users out of both WP and BP content.
    Approve New User: gives administrator the opportunity to approve or deny new users
    Erident Custom Login and Dashboard: styles my login.php
    BP Disable Activation Reloaded: kills the activation (don’t need it because I manually approve)

    This comes really close accept for the fact that the user is required to choose and confirm a new password, but then receives an e-mail with a randomly chosen password. This will not do. I see two solutions:

    kill the random password generation (because user has already chosen and confirmed one)
    remove the choose and confirm password during registration (because randomly chosen one is also fine)

    I have no idea how to achieve either one. Would anybody be so kind as to point me in the right direction?

  • The topic ‘Do want to approve new user, don't want to activate’ is closed to new replies.
Skip to toolbar