Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

onUserAfterSave called 3 times with onAfterProfileUpdate

9 years 10 months ago
Licenses:
JomSocial Active iSEO Expired

ISSUE SUMMARY:
When I click the save button on a jomsocial profile page, all plugins that use onUserAfterSave are called twice, than onAfterProfileUpdate is called and then all plugins with onUserAfterSave are called once more.

STEPS TO REPLICATE:
1 add a message to a onUserAfterSave plugin
2 add a message to a onAfterProfileUpdate plugin
3 click on save on the jomsocial page
4 see how often the plugins are triggered
5

This behaviour causes a lot of overhead.

9 years 10 months ago
Licenses:

Hi.

I assign developer to this thread.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 9 months ago
Licenses:

Hi,

sorry for late respond. please give me time for this. developer need look deeper about this issue.

Regards

9 years 9 months ago
Licenses:

Hi,

here the fix:

This attachment is hidden for guests.
Please log in or register to see it.


unzip and put it at:
/components/com_community/models/user.php
/components/com_community/libraries/userpoints.php

dont forget to backup it first.

Regards

This message has an attachment file.
Please log in or register to see it.

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW