1. nshui
  2. General
  3. Tuesday, July 18 2017, 07:33 AM
There is a menu pointing to the user list. This table shows the user's requirements information field, and how to use the filter to filter the user's blank fields and filter out users who do not fill in the field
Attachments (1)
admin Accepted Answer
Admin
Hi,
sorry this is not possible, empty filter mean "filter not set" so it show all users. Keep in mind that Easy Profile is mainly a profiler extension, not directory extension so search features are limited. Anyway we will add this in our TODO list.
  1. more than a month ago
  2. General
  3. # 1
nshui Accepted Answer
Basic
The only way, I can do this is to add these users in the field to the new group,Then:group_id IN (12)
  1. more than a month ago
  2. General
  3. # 2
nshui Accepted Answer
Basic
Content Protected
  1. more than a month ago
  2. General
  3. # 3
nshui Accepted Answer
Basic
how to do?
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
Hi,

With our APIs you can build a simple plugin that do this (docs with example plugin at http://docs.easy-profile.com/index.php/article/triggers)
- Download, Install and Enable Skeleton Plugin (you will find it at http://docs.easy-profile.com/index.php/article/triggers)
- Open file /plugins/jsn/skeleton/skeleton.php
- remove samples functions: triggerFieldAvatarUpdate, triggerProfileUpdate
- add function like this:
public function triggerProfileUpdate($user, &$data, $changed, $isNew)
{
if(!$isNew && in_array( 'your_field_alias' , $changed ) )
{
// Start body of email
$body=$user->name." updated user profile. \n\n";

// Add fields to body email
foreach($changed as $fieldalias){
$body.=$fieldalias .": ". $data[$fieldalias] ."\n";
}

// Send Email
$result=JFactory::getMailer()->sendMail(
$user->email, // Sender Mail
$user->name, // Sender Name
'here-your-admin@email.com', // Receiver Mail
'Profile Updated', // Subject Mail
$body // Body Mail
);
}
}

NOTE: This code is not tested and not supported, this is only for example purpose.
  1. more than a month ago
  2. General
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.