• Resolved ZaacWilliam

    (@omo9jatoja)


    Hello anyone, I seriously need assistance In adding mycred custom point type for each membership levels.
    Which means

    Level 1 earnings = custom point type1 and cannot earn from other point-types

    Level 2 earnings = custom point type2 and cannot earn from other point-types

    Level 3 earnings = custom point type3 and cannot earn from other point-types.

    I’m broke currently can’t afford paid support that’s why I’m here! I’ll seriously appreciate any suggestions and assistance.

    • This topic was modified 4 years, 6 months ago by ZaacWilliam.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    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.

    Plugin Author Andrew Lima

    (@andrewza)

    Looking into this further it seems the mycred_add function does support type according to their codex – https://codex.mycred.me/functions/mycred_add/

    Thread Starter ZaacWilliam

    (@omo9jatoja)

    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.

    Thread Starter ZaacWilliam

    (@omo9jatoja)

    @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.

    Plugin Author Andrew Lima

    (@andrewza)

    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.

    Thread Starter ZaacWilliam

    (@omo9jatoja)

    OK!

    Thread Starter ZaacWilliam

    (@omo9jatoja)

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘I seriously need assistance In adding mycred custom point type for each member’ is closed to new replies.