1. JacoboPSanudo
  2. Presales Question
  3. Tuesday, March 18 2014, 02:42 PM
Does the module allows to show users in order, depending on certain fields? For example, if we include a field say "height", can we show users by that field the tallest the first?

And can we make some calculations from fields? For example, if square meters and kwh consumption are two fields to be filled by the user, can we have another field that is automatically completed with the result?

If the user doesn't complete all the fields (not mandatory ones) Is there a reminder for the user that he/she should be completing the fields, like in LinkedIn?

Thanks very much!!
Accepted Answer
admin Accepted Answer
Admin
Hi,
sorry for late reply.

Does the module allows to show users in order, depending on certain fields?
Yes. you can choose the order based on field value (ASCENDING or DESCENDING).

And can we make some calculations from fields?
No, but you can do this, with our skeleton plugin (documentation at https://www.easy-profile.com/docs/44-triggers.html). example for sum of fields.
create 3 fields:
f1 - visible on edit but hidden on profile page
f2 - visible on edit but hidden on profile page
f3 - hidden on edit but visible on profile page
in skeleton plugin put this code:
public function triggerProfileUpdate($user,$data,$changed,$isNew)
{
$data['f3']=$data['f1']+$data['f2'];
}

Now in profile page you can view the sum of field f1,f2
This method allows you to manipulate all the fields, but requires a minimum of PHP knowledge (however, we help our clients).

If the user doesn't complete all the fields
No, but you can do this:
create a field of type delimiter(static html field) with this text 'you have not entered a date of birth' (no edit profile, no registration, no profile page).
now set condition on date of birth - if date of birth is not empty hide delimiter field.
You can put delimiter field on article or module with our content plugin (documentation at https://www.easy-profile.com/docs/26-plugin-content.html).
Now if the date of bird is not complete you can see a text in module.
NOTE: you can use this method only with coming soon version (will be released today or tomorrow)
  1. more than a month ago
  2. Presales Question
  3. # Permalink
JacoboPSanudo Accepted Answer
Ok, great. Thanks for the answer. I´ll wait then for that coming version!
  1. more than a month ago
  2. Presales Question
  3. # 1
  • 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.