Joomla Multiple registration forms plugin for Community builder
This Community builder plugin enables adding of multiple registration forms to Joomla. It is tested to be working in Community builder 1.2 with Joomla 1.5.
Install this plugin into Joomla through the community builder plugin installer and enable it.
Defining multiple forms
Click on this plugin under the plugin management tab and in the params section define the forms in this format:
- form_name is a identifier for the form you are creating. Keep it unique and without spaces. This form_name has to be passed as a GET parameter to the default CB registration page to show up only the fields you want.
- field_name1,field_name2 etc are the names of the fields under the Field management tab in CB.
An example entry could be like this :
The 2 forms can be accessed by adding &form=agent_form and &form=user_form respectively to the default CB registration form URL.
Please note that you could also have mandatory fields in any of the forms. In such a case the mandatory fields will be filled with some text to bypass the validation checks before the form is submitted.
Passing hidden data
Sometimes it is necessary to store information based on the above defined forms. For example, when the agent_form is submitted, you may want to store a specific value say ‘agent’ in one of the CB fields (say cb_usertype) so that you can know later,what form was used by the user. This can be done using the hidden data field.
The hidden data field also uses a similar format for definining the fields.
So here, once the form_name1 is submitted, the field_name1 will have the value set to value1.
Note that the value should not contain any special characters like commas or quotes. The value is added directly to the database as soon as the user registration is confirmed and hence will skip any validation checks.
One of the real world applications of this feature is by combining with the JLS grouping plugin which will add the current user to the necessary user group based on one of the CB fields.
This is Based on “Different User Registration Forms” plugin by Bog Imp
| (7737 hits) |
CB Multiple Registration forms plugin
If you need any new features on this extension, leave a comment below. I will be happy to add them
Adding form specific title/description
You can add multiple delimiter fields to your CB fields list which enables you to add any html code or static text to your form. This technique combined with the above plugin can create multiple CB forms with form specific titles. But the only limitation here is that the field names for the delimiter fields are also displayed. I dont think there is a way to avoid that.
Auto assign user group based on the registration form
I have modified Jorge Luis Savoini’s (aka BestBeast) JLS group selector plugin to make it work for Joomla 1.5 and CB2.2. This CB plugin also needs to be installed using CB plugin installer. This plugin allows you to assign different user groups based on a value from combo box which the user selects during Registration. But in real world applications, you may not want to ask the user to explicitly specify the user group, but instead you want to redirect them to the appropriate form and use the hidden data method in the above plugin to pass the required data to cb_usertype field. More details on the joomla extensions page for JLS group selector.
| (1417 hits) |
Modified JLS group selector
For those who want to display partial CB registration form as a module on your homepage , this extension might be useful.
Incoming search terms:
- community builder registration form (22)
- cb registration form (19)
- community builder multiple registration forms (19)
- joomla registration form plugin (18)
- joomla multiple registration forms (16)
- different registration forms joomla (10)
- joomla-multiple-registration-forms-plugin-for-community-builder (9)
- community builder different registration forms (8)
- thekirankumar com (8)
- joomla multiple registration (7)
|Print article||This entry was posted by Kiran Kumar on August 1, 2010 at 2:09 am, and is filed under Misc. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site.|
about 3 years ago - 1 comment
July 17th 2011 : Textoo Pro now in the apple app store. Download it here : http://textoo.in July 10th 2011 : Textoo v2.0 renamed to Textoo Pro Release of Textoo Pro has been postponed to July 15th 2011 due to app store codesign issues. Here’s a sneak peek into the brand new version of Textoo…
about 4 years ago - 9 comments
about 4 years ago - 2 comments
These are the 3 parts of the short film made for final year smriti DVD for my college engineering branch.The camera work, editing and background score stitching was done by me.
about 4 years ago - 281 comments
Update as of 5th June 2011 : Source code for the game has been published on this page. Now you can change the game as you wish, using Swishmax (www.swishzone.com) Update as of 20th Dec 2010 : I have been noticing quite a lot of visitors reaching this page through google search. So drop in…
about 4 years ago - 1 comment
I’ve been actively involved in design of a lot of print media in my college.Find all my photoshop posters, certificates, badges etc which I created for my college here.
about 4 years ago - No comments
about 4 years ago - 3 comments
An interactive website made using SwishMax 2.0 for my college’s cultural website Incident08.com. Uses some stylish “after-effects” video transitions between the different page loads.
about 4 years ago - 6 comments
Update : 17th July ’11 Textoo 1.0 is no more supported. Textoo Pro has reached the app store. Supports more gateways and has a lot of bonus features. Android version of Textoo is also being worked on. Click here to know more. Update : 22nd Sept ’10 A new page has been setup here for…
about 4 years ago - 1 comment
Flash CS3 Source code and PHP script to export drawing to JPG. I made this flash app a year ago for my college NITK Surathkal’s cult fest Incident’s website. But I did not find time to add all the features I had thought of. The plan was to have this drawing canvas as the background…
about 4 years ago - 236 comments
17th Dec ’10 : Now here’s the deal. 160by2,way2sms and freesms8 offer free SMS and earn money through the ads on their website. By using this PHP script, we are bypassing their website illegally as their ad never gets shown. I hope you will keep this in mind when you use this script. If you…