integration with myCred

5.75K viewsWordPress
1

first of all, this is a wonderful plugin, I just tried around it today. thanks for the great work.

i wanted to integrate anspress with myCred

and i found this url http://mycred.me/support/forums/topic/anspress-hook/

and follow the instruction

“You can connect AnsPress with myCRED as both plugins save a users balance as a custom user meta.

Create a new points type in myCRED and use ap_points as your new types Meta Key.”

I created a new points type in myCRED and use ap_points, and saved.

but when i create new question, answer from AnsPress, i don’t see myCred is picking up the events when i check the logs.

 

so my question is: is AnsPress still using ap_points as meta key? and what did i miss?

thanks!

HI,
I will like to give points to the author of the best answer

@HDcms, me too. would like to know that is the hook for that.

2

Yes ap_point  has been updated to ap_reputation

I will install myCred in my free time and will respond to you.

ap_reputation works, but i guess thats not what we wanted.

after creating a new myCred point type using the same meta name ap_reputation, when Point is updated from AP answer, i could see the points Point is updated in myCred. Point get updated when we do new question, new answer, votes…

the desire behaviour we would like to achieve is: when the author’s answer is selected as best answer, we give myCred points to the Author.

we might need some myCred hook to achieve that?

Here is the AnsPress hook where it adding point after selecting answer https://github.com/anspress/anspress/blob/master/includes/reputation.php#L111