ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Registration Form and Usergroups

June 10, 2008 6:37pm

Subscribe [3]
  • #1 / Jun 10, 2008 6:37pm

    Michael C.

    29 posts

    Is it possible to have custom user registration forms? I’d like to allow general user registration on a site, and then when a user registers through a specific page, have a (custom?) registration form that hard-codes the usergroup that user gets assigned to.

    For example, I have a normal site, with user registration and all, for an ongoing yearly competition. But I also want to have a “Register your team” page on the site. This page would be a SAEF form, accessible only to a specific “Team leader” usergroup. Users would be free to join that usergroup (it’s not a high-security thing) at will, thus getting access to the team registration page.

    That deals with users already registered on the site. For those users who have NOT yet registered on the site, however, I’d like to have the following:

    - Unregistered user goes to Team Registration page, is asked to login or register
    - User clicks “register”, is taken to a fairly standard registration form, with one twist in that this form automatically adds the user to the “Team leader” usergroup.
    - Once registered, the user is taken to the team registration form, and all’s well.

    So, is it possible to hard-code a user registration form like that?

  • #2 / Jun 10, 2008 9:49pm

    Greg Aker

    6022 posts

    I’m not totally sure about exactly how to use multiple member groups for registration, but the Stand Alone Registration Form should hopefully at least get you started.  😊

    -greg

  • #3 / Jun 11, 2008 7:24am

    Michael C.

    29 posts

    Ooh, cool. Thanks. 😊

    FYI, I don’t need multiple membergroups upon registration, I just need to assign the member to one specific one.

  • #4 / Jun 27, 2008 9:52am

    Michael C.

    29 posts

    Ok, I’ve looked into the SARF, but I still don’t see where (if anywhere) I can define the usergroup upon registration.

  • #5 / Jun 27, 2008 9:59am

    Mark Bowen

    12637 posts

    I don’t think that there is a way out of the box to do what you need other than the standard :

    Admin->Members and Groups->Membership Preferences

    where you can set up a default member group that is assigned to new members. Would probably require some kind of extension I would think. Having said that though I’m pretty sure that the User Module from Solspace allows something along these lines to be done though.

    Don’t know if that helps at all?

    Best wishes,

    Mark

  • #6 / Jun 27, 2008 10:09am

    Michael C.

    29 posts

    Hmm, ok. I’ll see if my client is willing to fork over the extra cash for the SolSpace User doozazzle thingy. :p Meantime, I guess setting it to default will suffice.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases