1. oharris
  2. Support
  3. Friday, December 12 2014, 02:19 AM
When users attempt to access content beyond the home page they are required to Sign In, one as a "Guest" the other as "Registered".

How can I get the form to accept two types of Registration, one for Guest the other for Registered? My form currently only has sign-up for Registered users. I need to have Guest as well. So Guest should have one set of fields and Registered the other (as now on demo site).

See demo site - http://giac.janadians.com
oharris Accepted Answer
Pro
So I would really like two usergroups. One Guest and upon selection of "guest" a guest form loads, the other Membership and upon selection another / different form loads. How can I do that?
  1. more than a month ago
  2. Support
  3. # 1
admin Accepted Answer
Admin
Hi,
guest is not a registered users, maybe you need to have two types of registered users like
- Registered
- Membership

Alternative 1 (one form with select type of user)
You can do this:
- Create a select (required) with two options like
0|Registered
1|Membership
- Set following conditions
- if value equal to custom value "0" show Registered fields
- if value equal to custom value "1" show Membership fields

Alternative 2 (two differendt forms)
- Create a hidden field with default value "0"
- Set following conditions
- if value equal to custom value "0" show Registered fields
- if value equal to custom value "1" show Membership fields
- Create a menu item for normal registration
the default value of hidden field is 0, so in normal registration form you will see the field for Registered user
- Create a menu item of type "Systems Link->External URL" and put in url the url of normal registration but at the end add this:
?alias_of_hidden_field=1
si if your link to register normal users is "http://giac.janadians.com/index.php/about-giac/register"; you will put into url paramter this "http://giac.janadians.com/index.php/about-giac/register?alias_of_hidden_field=1";.
with this you will set hidden value to 1 and the condition hide Registered field and show Membership fields. An example to set value of field with url is into our docs at https://www.easy-profile.com/docs/27-set-default-value-in-registration-from-url.html
  1. more than a month ago
  2. Support
  3. # 2
oharris Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 3
admin Accepted Answer
Admin
I have added this line at your custom.css file
.chzn-container{width:227px !important;}


227px is a default value for Joomla dropdown fields ;)
  1. more than a month ago
  2. Support
  3. # 4
oharris Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 5
admin Accepted Answer
Admin
Hi,
in your site you've done a bit of confusion.

In Users->User Manager->Options you have set these parameters:
- Guest User Group: Public -> This is a bad configuration because guest users should have a group just for them, now have same privileges of Public Users. example: if you want only a module for not loggein users with this configuration you can't.
- New Users Registration Group: Registered -> this is correct, but this parameter set group for all registered users, so all registered users must be have this group.

Joomla want:
- specific user type for Guest member
- specific user group for all registered users
if these things are not met there could be unexpected behavior of Joomla


Should do so:
set these groups
Public
|— Guest (move this under public)
|— Manager
|—|— Administrator
|— Registered
|—|— Registered Users Guest
|—|— Registered Users Member
|—|— Author
|—|— Author
|—|—|— Editor
|—|—|—|— Publisher
|— Super Users

set condition to add in these groups:
if equal to custom value "0" add "Registered Users Member" group
if equal to custom value "1" add "Registered Users Guest" group

now when user register have 2 groups "Registered" (default and assigned by Joomla) and "Registered Users ..." (assigned by conditions)
  1. more than a month ago
  2. Support
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.