Support

  1. cheshirealan
  2. Bug Report
  3. Monday, November 06 2017, 12:40 PM
I am testing out an integration of EasyProfile basic with Membership Pro and Profile History (Richey Web).

All looking positive but I notice one issue so far is I have set up a select field to set and unset membership of a Joomla group. Profile History tracks group changes but not when executed via your feature. I think its because you aren't using a method that triggers the onUserBeforeSave / onUserAfterSave events
Accepted Answer
admin Accepted Answer
Admin
That is the issue as changing the groups needs to retrigger the event
This is not a good way because it can create loops and bad performance.

then this should occur but perhaps you are using some other method?
the other methods come from JUserHelper class (for example like JUserHelper::addUserToGroup( $user_id, $group_id ) ), but this method can be used out the event onUserAfterSave event.
  1. more than a month ago
  2. Bug Report
  3. # Permalink
admin Accepted Answer
Admin
Hi,
groups are assigned by conditions, there is not any field that set usergroup (of course in backend there is).

The conditions assigns usergroups during "onUserAfterSave" event, so it's possible that you need to change order of your users plugins (this is only a supposition because we does not have experience and we does not know how works Profile History).
  1. more than a month ago
  2. Bug Report
  3. # 1
cheshirealan Accepted Answer
Yes it was the conditions I am using. I tried reordering the plugins but that has no affect. The Profile History is detecting and recording the field change itself but not the action of the group change.

I will take a look at your code to see if I can debug it. Can you point me at the relevant plugin?
  1. more than a month ago
  2. Bug Report
  3. # 2
cheshirealan Accepted Answer
Hi, after looking at what you said I can see that you said that you did this in a plugin that has been executed by the onUserAfterSave event. That is the issue as changing the groups needs to retrigger the event.

If you change the groups using:

JUserHelper::addUserToGroup($userid,$groupid)
JUserHelper::removeUserFromGroup($userid,$groupid)

then this should occur but perhaps you are using some other method?
  1. more than a month ago
  2. Bug Report
  3. # 3
itadminMC Accepted Answer
Hello Alan,

Could you, please, tell us if the "History Profile" works well with Easy-Profile.

Thanks for your advise.

Bertrand
  1. more than a month ago
  2. Bug Report
  3. # 4
  • Page :
  • 1


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

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.