Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Enabling both options of registration basic and invitation,

How can I enable both options in registration?

  1. Basic: New users fill out a simple form and are granted access immediately.

  2. Invitation: Existing members send invitations to new members.

Not only of them.

Comments

  • Options

    One*

  • Options

    Thank you @vrijvlinder, but that discussion covers the registration through approval process, my case is enabling anyone to register and invite, so just want multi select the two options.

  • Options
    edited January 2013

    Can I add the following codes to config.php in addition to the existing Basic registration settings?

    $Configuration['Garden']['Title'] = '***';

    $Configuration['Garden']['Cookie']['Salt'] = '***';

    $Configuration['Garden']['Cookie']['Domain'] = '.***.com';

    $Configuration['Garden']['Registration']['ConfirmEmail'] = '1';

    $Configuration['Garden']['Registration']['Method'] = 'Captcha';

    $Configuration['Garden']['Registration']['Method'] = 'Invitation';

    $Configuration['Garden']['Registration']['CaptchaPrivateKey'] = '***';

    $Configuration['Garden']['Registration']['CaptchaPublicKey'] = '***';

    $Configuration['Garden']['Registration']['InviteExpiration'] = FALSE;

    $Configuration['Garden']['Registration']['ConfirmEmailRole'] = '8';

    $Configuration['Garden']['Registration']['InviteRoles'] = 'a:5:{i:3;s:1:"0";i:4;s:1:"0";i:8;s:2:"-1";i:16;s:2:"-1";i:32;s:1:"0";}';

    $Configuration['Garden']['Email']['SupportName'] = '***';

  • Options

    OH! Didn't work :(

  • Options

    I' m also interested in this feature, please let me know if you have been able to resolve this.
    thank you.

  • Options

    not really @bullx :(

  • Options
    hgtonighthgtonight ∞ · New Moderator

    It is possible but will require some tweaking.

    First, you need to allow people to invite users (generate invites)

    Second you need to check for invite codes, but not require them during registration.

    Third, you need to expire the invites.

    I wrote a plugin called Invite Roles that assigns users to different roles based on whether or not they have an invite code during registration. That will take care of parts 2 and 3. You can find it here: https://github.com/hgtonight/Plugin-InviteRoles

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.