DSystem

Automation Rules FULL 1.4.0 and Reactions IPS 4.2 beta

Recommended Posts

I migrated to IPS 4.2 and the rule that had worked with the reputation system stopped working

My rule adds 10 credits (Points Economy) to each positive reputation received.

Can you help me solve it?

 

 

Share this post


Link to post
Share on other sites

This is the only functionality I use with the "Complete Automation Rules" and it is critical to the engagement methodology I use in my community.

Is it possible to enable this feature with a plugin or manual adaptation?

I would pay for the trouble-free service.

Share this post


Link to post
Share on other sites

SORTED OUT

I've added these lines in Reactable.php

			if ( $member->member_posts >= 5 )
			{
		    $balance = \IPS\points\Balance::get( $owner->member_id, 1, 0, $values[ 'points_rules_enforce_perms' ] );
		    $balance->credit( 10, '<i class="fa fa-thumbs-o-up"></i>  '.$member->name, 0, array(), $values[ 'points_rules_enforce_perms' ] );
		  }

And I got the expected result.

Thanks for listening.

Share this post


Link to post
Share on other sites

I see ... But while your hands are tied. I had to solve the problem.

On 2017-6-21 at 4:25 PM, Kevin Carwile said:

$owner is null in your code which will cause unexpected results

Where I added the script this variable is checked before.

On 2017-6-21 at 4:25 PM, Kevin Carwile said:

$values is null in your code which may cause unexpected results

I have followed the logs and operation and found nothing wrong. I looked at your script and still do not understand how everything works. Any suggestion?

On 2017-6-21 at 4:25 PM, Kevin Carwile said:

Your modification will break your site if the points app is disabled

Certainly. So I never disable this app. My forum depends a lot on it.

On 2017-6-21 at 4:25 PM, Kevin Carwile said:

Your changes will be wiped out with your next core upgrade

I made a script that automatically updates this adaptation whenever I install a new version of IPS.

I hope you will soon be able to resolve compatibility with IPS 4.2. So I can leave everything as it was before.

Share this post


Link to post
Share on other sites

Any prediction for this application to react to support reactions?

I see some applications and plugins already integrated with reactions in the IPS markeplace

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.