Registration of multiple user roles from different registration pages with Profile 2 module

Posted on Monday, December 9, 2013
Registration of multiple user roles from different registration pages with Profile 2 module

 

Drupal got a great user registration system and management but it can be made awesome with Profile 2 and Profile 2 Registration Path modules.

Drupal 7 allow us to add field to user registration form using "admin/config/people/accounts/fields" page and anonymous user can fill these fields from user registration form. But these fields will be same for all user roles, hence providing the same privileges to all registered users. Take a scenario in one of your Drupal development project where you have two roles teacher and student and you want them to have different user registration fields and privileges. In this scenario Drupal Profile 2 module (http://drupal.org/project/profile2) and Profile2 Registration Path module (http://drupal.org/project/profile2_regpath) allow you to create two different user registration form with different fields for both user roles. It also allows you to assign different roles according to registration form and have different privileges on their respective accounts.

To make the above scenario work within your Drupal development project, first you need to enable Drupal Profile 2 module and Profile2 Registration Path module. (shown in the image below) After enabling both Drupal modules add two different user roles teacher and student for which you need different user registration forms. For this, you need to create two profile type for these user roles from "admin/structure/profiles/add" page. Here add profile type for teacher role called "Teacher". Enable unique path registration option which is provided by Profile2 Registration path module. This option allow us to set unique url path like "teacher/register" in which teacher registration profile form will open. Now select role which will be assigned to user on registration based on registration path provided above and save profile type. Now in "admin/structure/profiles" page you have teacher profile type. Go to manage fields page "admin/structure/profiles/manage/teacher/fields" to add field to teacher profile type such as teaching field, previous school and mobile. And these fields will be shown on teacher registration page. Following the above step you can create student profile type with unique registration path "student/register". And add fields to student profile type such as gender and class. Now you have got two user registration forms for teacher and student user roles with different registration paths "teacher/register" and "student/register". And appropriate role will be assigned to user based on registration path. Profile2 registration path module also provides options such as:

  • Custom title for login, register and forgot password pages.
  • Display a confirmation message to user after successful registration.
  • Wrapping profile fields in a fieldset.
  • Showing profile type fields to core user registration forms and administrator add user forms.
  • You can also assign profile type to Drupal core user registration path "user/register" from unique registration path option.

Using the above information you would be able to assign different user roles/privileges using seperate registration forms.

Comments

custom essay (not verified)

Friday, February 24, 2017

Wonderful site and I wanted to post a note to let you know, ""Good job""! I’m glad I found this site. Brilliant and wonderful job ! Your site has presented me most of the strategies based on drupal7 which I like. Thanks for sharing this. And, to tell the truth, sometimes I ask for online homework help on (http://www.writemyessayz.co/) custom essay writing service .

Anonymous (not verified)

Wednesday, March 22, 2017

Your article could be very nice thanks for share this statistics. It’s very beneficial for all peoples there are all opportunities to provide for this blog. i am a writer working with on line writing provider it's going to deliver us the pleasant desire of writing carrier for your educational lifestyles. custom dissertation writing service

Danette (not verified)

Thursday, June 29, 2017

From this post, I came to know about the user registration system set by the user. It deals with the registration of multiple user roles from different registration pages. Can you please update more details of this registration purposes. www.manufacturedhomesloan.com

fatihin nurul (not verified)

Tuesday, August 22, 2017

n yang dipecat juga Makarov dan pria itu dite Pabrik Welded Beam
Pabrik Welded Beam
Jual atap spandek
Pabrik Besi Beton
Jual besi cnp
undangan pernikahan animasi
Harga Plat Bordes Kembang
Pabrik Besi H beam Baja
Pabrik Plat Bordes
harga besi beton psi Ulir Polos
Distributor Besi Beton
Distributor Besi Beton
Jual baja ringan
Agen Besi Beton
www.gudangbesibaja.com
undangan pernikahan cantik
Harga Plat Besi Hitam
Distributor Atap Spandek
Distributor Bondek Cor
harga besi beton perwira
Harga Besi Beton
Harga Besi Beton
Jual bondek
Toko Besi Beton
harga besi Wf Baja
undangan pernikahan cantik elegan
Harga Plat Kapal Bki Krakatau Steel
Supplier Atap Spandek
Harga Bondek Cor
harga besi beton PAS
Jual Besi Beton
Jual Besi Beton
Jual Plat kapal besi baja bki krakatau steel
Supplier Besi Beton
Harga bondek
undangan pernikahan cetak
Harga Jual Besi Siku Baja
Agen Atap Spandek
Jual Bondek Cor
harga besi beton master steel ms
Supplier Besi Beton
Supplier Besi Beton
Jual besi siku
Distributor Besi Beton
harga wiremesh
undangan pernikahan custom
Harga Besi Unp Baja Profil Kanal
Toko Atap Spandek
Supplier Bondek Cor
harga besi beton ksty
Toko Besi Beton
Toko Besi Beton
Jual pipa besi baja sch 40 sch 80
Harga Besi Beton
Harga pipa besi baja sch 40 sch 80
undangan pernikahan bagus
Harga Besi Cnp Profil Baja Gording
Jual Atap Spandek
Toko Bondek Cor
harga besi beton krakatau steel
Agen Besi Beton
Agen Besi Beton
Jual Plat besi
Jual Besi Beton
harga besi hollow
undangan pernikahan anime
Harga Besi Hollow
Harga Atap Spandek
Agen Bondek Cor
harga besi beton jcac
Pabrik Besi Beton
Pabrik Besi Beton
Jual besi h beam
Pabrik Besi Beton
harga besi beton Sni Ulir Polos
undangan pernikahan aneh
Harga Wiremesh
Pabrik Atap Spandek
Pabrik Bondek Cor
harga besi beton interworld steel is
Distributor besi unp baja
Distributor besi unp baja
Jual besi wf
Distributor besi unp baja
harga besi wf baja
undangan pernikahan elegan
Harga Besi Pipa Baja Schedule 80
Distributor Bondek Cor
Distributor Atap Spandek
harga besi beton gunung garuda
Harga besi unp baja
Harga besi unp baja
Jual wiremesh
Harga besi unp baja
harga besi unp
undangan pernikahan casual
Harga Besi Pipa Baja Schedule 40
Supplier Bondek Cor
Harga Atap Spandek
harga besi beton delcoprima
Jual besi unp baja
Jual besi unp baja
Jual besi unp
Jual besi unp baja
harga besi siku
undangan pernikahan ala india
Harga Pipa Besi Hitam Medium
Agen Bondek Cor
Jual Atap Spandek
harga besi beton cakra steel cs
Supplier besi unp baja
Supplier besi unp baja
Jual besi cnp
Supplier besi unp baja
harga Plat besi plat kapal
undangan pernikahan chinese
Harga Besi Wf
Toko Bondek Cor
Supplier Atap Spandek
harga besi beton bjku
Toko besi unp baja
Toko besi unp baja
Jual besi hollow
Toko besi unp baja
harga besi h beam baja
undangan pernikahan anime
Harga Besi H beam
Jual Bondek Cor
Toko Atap Spandek
harga besi beton Sni Ulir Polos
Agen besi unp baja
Agen besi unp baja
Jual besi beton Sni Ulir Polos
Agen besi unp baja
harga besi cnp
undangan pernikahan klub bola
Harga Besi Beton
Harga Bondek Cor
Agen Atap Spandek
harga besi beton ais
Pabrik besi unp baja
Pabrik besi unp baja
ironsteelcenter.com
Pabrik besi unp baja
www.gudangbesibaja.com
undangan pernikahan ada foto
www.sentrabesibaja.com
Pabrik Bondek Cor
Pabrik Atap Spandek
harga besi beton
Jual Jaket Parka Jual Jaket Parka
Jaket Parka Jaket Parka
undangan pernikahan kalender
undangan pernikahan bahasa inggris islam
undangan pernikahan islami
undangan pernikahan unik dan murah
undangan pernikahan modern
undangan pernikahan online
undangan pernikahan
undangan pernikahan amplop surat
undangan pernikahan simple
undangan pernikahan murah
undangan pernikahan unik
undangan pernikahan artis
undangan pernikahan modern
undangan pernikahan artis
undangan pernikahan arab
undangan pernikahan
undangan pernikahan
link 3

fatihin nurul (not verified)

Tuesday, August 22, 2017

jebak di fossa iliaka, yang tidak ada dokter Supplier sch 40
Supplier sch 40
Supplier Plat kapal besi baja bki krakatau steel
Supplier besi Pipa sch 80 baja
Supplier besi beton Sni Ulir Polos
undangan pernikahan ala jepang
Pabrik Besi Pipa Baja Schedule 40
Toko Besi Unp Baja
Supplier besi wf
www.jualbesibajamurah.com
Toko sch 40
Toko sch 40
Supplier besi siku
Toko besi Pipa sch 80 baja
Supplier besi wf baja
undangan pernikahan islami
Pabrik Pipa Besi Hitam Medium
Jual Besi Unp Baja
Toko besi wf
Distributor besi beton Sni Ulir Polos polos ulir
Agen sch 40
Agen sch 40
Supplier pipa besi baja sch 40 sch 80
Agen besi Pipa sch 80 baja
Supplier besi unp
undangan pernikahan ada fotonya
Pabrik Besi Wf
Harga Besi Unp Baja
Agen besi wf
Distributor besi beton sii
Pabrik sch 40
Pabrik sch 40
Supplier Plat besi
Pabrik besi Pipa sch 80 baja
Supplier besi siku
undangan pernikahan ala india
Pabrik Besi H beam
Pabrik Besi Unp Baja
Pabrik besi wf
Distributor besi beton psi Ulir Polos
Distributor besi Pipa sch 80 baja
Distributor besi Pipa sch 80 baja
Supplier besi h beam
Distributor Plat Bordes
Supplier Plat besi plat kapal
undangan pernikahan
Pabrik Besi Beton
Distributor Besi Cnp Baja
Distributor Besi Beton
Distributor besi beton perwira
Harga besi Pipa sch 80 baja
Harga besi Pipa sch 80 baja
Supplier besi wf
Harga Plat Bordes
Supplier besi h beam baja
undangan pernikahan simple
www.sentrabesibaja.com
Supplier Besi Cnp Baja
Harga Besi Beton
Distributor besi beton PAS
Jual besi Pipa sch 80 baja
Jual besi Pipa sch 80 baja
Supplier wiremesh
Jual Plat Bordes
Supplier besi cnp
undangan pernikahan bermanfaat
Distributor Welded Beam T beam King Queen Cross Castellated Beam
Agen Besi Cnp Baja
Jual Besi Beton
Distributor besi beton master steel ms
Supplier besi Pipa sch 80 baja
Supplier besi Pipa sch 80 baja
Supplier besi unp
Supplier Plat Bordes
www.gudangbesibaja.com
undangan pernikahan islami
Distributor Bondek Cor
Toko Besi Cnp Baja
Supplier Besi Beton
Distributor besi beton ksty
Toko besi Pipa sch 80 baja
Toko besi Pipa sch 80 baja
Supplier besi cnp
Toko Plat Bordes
Pabrik besi Wf Baja
undangan pernikahan amplop surat
Distributor Atap Spandek Sni
Jual Besi Cnp Baja
Toko Besi Beton
Distributor besi beton krakatau steel
Agen besi Pipa sch 80 baja
Agen besi Pipa sch 80 baja
Supplier besi hollow
Agen Plat Bordes
Pabrik bondek
undangan pernikahan bentuk dompet
Distributor Plat Bordes Kembang
Harga Besi Cnp Baja
Agen Besi Beton
Distributor besi beton jcac
Pabrik besi Pipa sch 80 baja
Pabrik besi Pipa sch 80 baja
Supplier besi beton Sni Ulir Polos
Pabrik Plat Bordes
Pabrik wiremesh
undangan pernikahan chinese
Distributor Plat Besi Hitam
Pabrik Besi Cnp Baja
Pabrik Besi Beton
Distributor besi beton interworld steel is
Distributor Plat Bordes
Distributor Plat Bordes
ironsteelcenter.com
Distributor Wiremesh Besi
Pabrik pipa besi baja sch 40 sch 80
undangan pernikahan lucu
Distributor Plat Kapal Bki Krakatau Steel
Distributor Besi Hollow Baja
Distributor besi hollow
Distributor besi beton gunung garuda
Harga Plat Bordes
Harga Plat Bordes
Pabrik stainless steel
Harga Wiremesh Besi
Pabrik besi hollow
undangan pernikahan bagus
Distributor Jual Besi Siku Baja
Supplier Besi Hollow Baja
Harga besi hollow
Distributor besi beton delcoprima
Jual Plat Bordes
Jual Plat Bordes
Pabrik atap spandek
Jual Wiremesh Besi
Pabrik besi beton Sni Ulir Polos
undangan pernikahan bahasa inggris islam
Distributor Besi Unp Baja Profil Kanal
Agen Besi Hollow Baja
Jual besi hollow
Distributor besi beton cakra steel cs
Supplier Plat Bordes
Supplier Plat Bordes
Pabrik baja ringan
Supplier Wiremesh Besi
Pabrik besi wf baja
undangan pernikahan contoh
Distributor Besi Cnp Profil Baja Gording
Toko Besi Hollow Baja
Supplier besi hollow
Distributor besi beton bjku
Jual Jaket Parka Jual Jaket Parka
Jaket Parka Jaket Parka
undangan pernikahan kalender
undangan pernikahan bahasa inggris islam
undangan pernikahan islami
undangan pernikahan unik dan murah
undangan pernikahan modern
undangan pernikahan online
undangan pernikahan
undangan pernikahan amplop surat
undangan pernikahan simple
undangan pernikahan murah
undangan pernikahan unik
undangan pernikahan artis
undangan pernikahan modern
undangan pernikahan artis
undangan pernikahan arab
undangan pernikahan
undangan pernikahan
LINK 6

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.