• Resolved gw808092

    (@gw808092)


    Hello and thanks for this awesome plugin.

    It works great…

    But i want to know if there’s way not to give point when a user comment on post older than 2 days, or older than 1 week.

    That’s to say, no point gain for post older than 2 days.

    Is there any way to configure that? Or is there any php snippet to achieve this?

    Thanks, please reply.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WPExperts.io

    (@wpexpertsio)

    Hi @gw808092,

    You can use ‘mycred_run_this’ or ‘mycred_add’ filters to check if the post user is commenting on is older than the given timeframe, if it is older then you can use one of these 2 filters.
    ‘mycred_add’ to cancel transaction.
    ‘mycred_run_this’ to modify points before transaction (if you set points to 0 then transaction will be cancelled).

    Below are the links to the documentation for these 2 filters.
    https://codex.mycred.me/filters/mycred_run_this/
    https://codex.mycred.me/filters/mycred_add-2/

    Thanks.

    • This reply was modified 6 years, 5 months ago by WPExperts.io.
    • This reply was modified 6 years, 5 months ago by WPExperts.io.
    Thread Starter gw808092

    (@gw808092)

    Thank you so much, I checked both link, but I’m sorry i don’t understand a thing or two there.

    I’m not a developer/coder, so I couldn’t figure out how to use them.

    Please is there way to get one of your support to help out? And what will that cost me?

    Or any simpler document to read?

    I just want users not to gain point when commenting on post older than 2 days.

    Thanks

    Plugin Author WPExperts.io

    (@wpexpertsio)

    Hi @gw808092,

    Sure you can contact our support team through our website and share the details. We are not allowed to share our email address here.

    Thanks

    Thread Starter gw808092

    (@gw808092)

    Alright, I’ll go that. Please i don’t know what happen. After upgrading MyCred Plugin to latest version, it started giving point for multiple comment per post.

    It use to give point ones per post.. but now if users comment 20 times on a post, mycred will also give them point 20 times.

    Plugin Author WPExperts.io

    (@wpexpertsio)

    Have you applied the limit for the number of comments on a post for which the points will be given (see below screenshot). Because I just tested it with latest updated mycred and it is working fine.

    https://prnt.sc/pheyqd

    Thanks

    Thread Starter gw808092

    (@gw808092)

    OMG, meaning the error is from me. Chaiii, Thank you so much, Your screenshot has helped me solve the issue. I didn’t know i have to set that to 1.

    Thank you sooooooo muchhhhhhhhhhhhhhhhh

    Thread Starter gw808092

    (@gw808092)

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘No Point For Older Post’ is closed to new replies.