Different User Registration Forms



Created and tested on CB 1.4
Just download, install and configure in plugin parameters
Create link to Registration Form and add "&form=[form id]" to end
For our sample i add "&form=author".
Install tips:
For install need use CB->"Plugin Manager"->"Install New Plugin".
Fixed, also added new interface
There is however an obvious problem because of which it can't be used. If I have some mandatory fields that I want to show in one form and not show in another than this doesn't work. Because when you will click on register, it will ask you to fill the mandatory fields (which may not be shown on this form). It's a real pity because otherwise this was exactly what I needed.
Thank you!
now I found this nice little free plugin, it uses joomlas user type structure, but that is ok for at least one project I need this.
Just one little issue I found that needs to be fixed/added:
When a user forgets to fill a required field, an error message pops up and after that...a redirect to the standard registration form happens. it should redirect to ...&form=author for example.
this cannot be edited in cblogin module parameters
Notice: Undefined variable: prefetchFields....on line 65
in the code the line is the following:
if ( $tabid && ! $prefetchFields ) {
after commenting the test on the prefetchField variable, the error on the page disappears.
Very good plugin.
Fixed problem.
Thank you.




