Hi @omo9jatoja
Thank you for using Paid Memberships Pro.
This would require custom code, I have previously built a code snippet to award points for every time an order is created inside Paid Memberships Pro.
Here is a link to the code snippet – https://gist.github.com/andrewlimaza/7cd3ac904add204d8f8f3b25e10397c2
I hope this is enough to get you started, and that it can be adjusted to support point types.
Looking into this further it seems the mycred_add
function does support type according to their codex – https://codex.mycred.me/functions/mycred_add/
Thanks you very much sir, can you please assist me with this issue. Have tried all my best to that scope working before I come here but I’m not sure I’m writing it right.
@andrewza, I’m in need of your response sir and I’m sorry if I’m disturbing you too much but it’s just that I want it ⚒ as soon as I can.
Unfortunately our support doesn’t cover troubleshooting custom code as it can often be really time consuming. I would recommend in reaching out a local WordPress developer for assistance or MyCred support may be able to assist you with more examples of how to use the mycred_add
function.
Here is examples of awarding and deducting points with the mycred_add
function – https://codex.mycred.me/functions/mycred_add/#examples
I hope this helps get you started, thank you for understanding.
I wrote the below already for mycred support, but that place is just slow!
I need a snippets that can make me permanently make a paid membership pro has a custom point type for earnings, eg
Level 1 pmpro would always earn from mycred_default point type and most not earn from other point-types.
Level 2 pmpro would always earn from mycred_custompoint point type and most not earn from other point-types.
Level 3 pmpro would always earn from mycred_custompoint point type and most not earn from other point-types.
Thanks