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.

Assign Standalone Registration Form to a Member Group

February 13, 2010 2:53pm

Subscribe [1]
  • #1 / Feb 13, 2010 2:53pm

    Denidorm

    15 posts

    Hi,

    I want people registrating at a certain page to be added to another Member group than the default one.

    I saw this topic: http://ellislab.com/forums/viewthread/134832/

    But it’s not really clear to me and I don’t wanna break anything 😉

    $data['group_id'] = 4; // set default to 'pending'
    if ($_POST['hidden_reg'] == 'regform1') $data['group_id'] = 12; // special member group 1
    if ($_POST['hidden_reg'] == 'regform2') $data['group_id'] = 14; // special member group 2

    => If this still is the only way to do it, can anyone explain to me how it works exactly?

    Thanks

  • #2 / Feb 14, 2010 9:32am

    Denidorm

    15 posts

    Seems like nobody knows, so I tried to find out 😉

    => http://www.solspace.com/software/detail/user/ does the trick

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

ExpressionEngine News!

#eecms, #events, #releases