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.
Hi,
I am using the documentation to add user points to my component. I have done that just fine.
The problem I am facing now is removing let's say 1 point per item removed.
I have a listings page, where the user can delete multiple listing at once. Bulk delete.
In my code I run a foreach loop and inside the look I call CuserPoints::assignPoint('myrule.removepoints');
It works do a degree, but it only delete 1 point at the time. no matter how many item I have in the array used in the foreach. It only delete on point.
What would be the way to delete multiple points at once?
I'm sorry but your question is beyond scope of our technical support.
You need to have access to Developer Forum where you’ll be able to ask about extension development.
To do that you nee to hold JomSocial Developer License:
www.jomsocial.com/products/products/4-di...social-developer/215
- 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