Support

  1. klox7
  2. General
  3. Thursday, April 09 2015, 07:07 PM
Hi,

I just purchased Easy Profile and I'm in proccess of discovering what a great product it is but I have one question.

Can users during registration select user group (registered, author,...) and that based on selected value coresponding fields will appear (different fields for different user groups)?

And is it possible if they select registered they can self activate account but if they select author I as admin must activate account?

Regards
Accepted Answer
admin Accepted Answer
Admin
Hi,
sorry for late reply, it was late for us and our offices were closed :)

Can users during registration select user group (registered, author,...) and that based on selected value coresponding fields will appear (different fields for different user groups)?
Yes, you can create for example a select field with these options:
1|Registered
2|Author
3|Manager
and set following condition on this field:

Condition 1
Condition: equal
Field to compare: Custom Value
Custom Value: 2
Target Field: (leave empty)
Target Action: (not important)
Add to Usergroups: Author

Condition 2
Condition: equal
Field to compare: Custom Value
Custom Value: 3
Target Field: (leave empty)
Target Action: (not important)
Add to Usergroups: Manager

Registered usergroup is mandatory for all users because this is set in Joomla configuration at Users->User Manager->Options->New user Registration Group parameter

Now:
- if user choose "Registered" then he will be assigned to "Registered" usergroup
- if user choose "Author" then he will be assigned to "Registered" and "Author" usergroups
- if user choose "Manager" then he will be assigned to "Registered" and "Manager" usergroups

And is it possible if they select registered they can self activate account but if they select author I as admin must activate account?
No sorry this is not possible, to do this you need to develop a custom plugin, but this require PHP and Joomla devs Knowledge. here a docs with example plugin https://www.easy-profile.com/docs/44-triggers.html
  1. more than a month ago
  2. General
  3. # Permalink
klox7 Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 1
klox7 Accepted Answer
...and for storing custom field values to Joomla user profile.
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
Do you maybe have any plans for adding "country" field with predifined countries in list?
No, but select field have options to get data from DB table, so if you have a table with countries you can retrieve the data.

...and for storing custom field values to Joomla user profile.
Sorry but I not understand, "Joomla user profile" means "User - Profile" Plugin?
  1. more than a month ago
  2. General
  3. # 3
klox7 Accepted Answer
Easy Profile Support wrote:

...and for storing custom field values to Joomla user profile.
Sorry but I not understand, "Joomla user profile" means "User - Profile" Plugin?


Yes. I will explain. Since I will have select field for prefered user group I wil have also coresponding fields that will appear based on selection.

So if you select Registered some fields will appear and if you select Author other fields will appear.

Since I don't wan't to use Joomla user profile plugin because for. ex. if Country from joomla user profile plugin is activated then it will show under EasyProfile fields and it will mess with my layout. So I want to disable core plugin and create country field with easyprofile which will populate core country field upon save.

Or is there another solution? Maybe register template override?
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
it will mess with my layout
This is strange, can you please post me your site link?
  1. more than a month ago
  2. General
  3. # 5
klox7 Accepted Answer
Please check attachment.
  1. more than a month ago
  2. General
  3. # 6
admin Accepted Answer
Admin
hi,
ok now i have understand, Sorry but you can't mix User profile plugin with easy profile, the best way is to create 2 text custom fields (city and country).
  1. more than a month ago
  2. General
  3. # 7
klox7 Accepted Answer
Easy Profile Support wrote:

hi,
ok now i have understand, Sorry but you can't mix User profile plugin with easy profile, the best way is to create 2 text custom fields (city and country).


Exactly, but can I send values from EasyProfile country text field to Joomla User Profile plugin country field?
  1. more than a month ago
  2. General
  3. # 8
admin Accepted Answer
Admin
yes but you need to develop a plugin to do this, we offer api and code example plugin,see at https://www.easy-profile.com/docs/44-triggers.html
-download skeleton plugin
- install and enable it
- open file /plugins/jsn/skeleton/skeleton.php
- remove example functions: triggerFieldAvatarUpdate, triggerProfileUpdate
- write your function to store data in DB

NOTE: this require PHP and Joomla dev knowledge.
  1. more than a month ago
  2. General
  3. # 9
Tomnius Accepted Answer
Easy Profile Support wrote:


Yes, you can create for example a select field with these options:
1|Registered
2|Author
3|Manager
and set following condition on this field:

Condition 1
Condition: equal
Field to compare: Custom Value
Custom Value: 2
Target Field: (leave empty)
Target Action: (not important)
Add to Usergroups: Author

Condition 2
Condition: equal
Field to compare: Custom Value
Custom Value: 3
Target Field: (leave empty)
Target Action: (not important)
Add to Usergroups: Manager

Registered usergroup is mandatory for all users because this is set in Joomla configuration at Users->User Manager->Options->New user Registration Group parameter

Now:
- if user choose "Registered" then he will be assigned to "Registered" usergroup
- if user choose "Author" then he will be assigned to "Registered" and "Author" usergroups
- if user choose "Manager" then he will be assigned to "Registered" and "Manager" usergroups


Hi there,

I have tried the above solution but do not seam to get it right. After registration the users are only added to the default new users group.

Please view screenshot conditions and options select field.
  1. more than a month ago
  2. General
  3. # 10
admin Accepted Answer
Admin
hi,
you use multiple selection, so try to use "contain" operator instead "equal"

note:
you have choose to use numbers as values, so if you use contain operator to check for example custom value "1" then your condition will be met also for "10".
to solve this you can use options like these:
bj_chalmetlaan_55|BJ Chalmetlaan 55
bjc9|BJC9
de_katte|De Katte
.......
  1. more than a month ago
  2. General
  3. # 11
Tomnius Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 12
  • 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.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.