Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author myCred

    (@designbymerovingi)

    Hey Luis.

    Not sure I understand what you are trying to do. Are you looking to give post authors points for publishing posts?

    Thread Starter Luis Banazol

    (@lbanazol)

    Hey Gabriel,
    My questions is how give points to author with shortcode with mycred_link or other shortcode.

    like it’s possible with mycred_send shortcode:
    [mycred_send amount=’1′ to=’author’ log=’Post Appreciation’ ref=’post_appreciation’]

    with mycred_link shortcode how make this
    [mycred_link amount=’1′ to=’author’]
    or with
    [mycred_share_this amount=’1′ to=’author’]

    sorry my english
    Thanks

    Plugin Author myCred

    (@designbymerovingi)

    No problem. No I understand your question much better.

    Ok so the mycred_give shortcode gives points to the current user or a specific user each time the shortcode fires. That means that if you place this shortcode in a page’s content, each time someone visits that page, they will get points. Not the author, the visitor.

    The mycred_link shortcode gives points for users clicking on links. The points are given to the user that clicks on the link and not the author or any other use.

    What you are looking for is the mycred_send shortcode which allows the current user, to send a pre set number of points (if they can afford it) to a pre set user. You can use this for comments, posts, anything that has an author. I have a made a tutorial on the mycred website where you can see this done to comments. You could do the same for posts.

    Example: Offer each user the option to give the post author 1 point:

    [mycred_send amount="1" to="author" log="Post Appreciation" ref="post_appreciation"]Give Author 1 point[/mycred_send]

    Just remember:

    – If a user does not have enough points (in this example 1) the shortcode will not render.
    – Post authors can not send points to themselves.
    – If the post author is set to be “excluded” the shortcode will not render.

    Thread Starter Luis Banazol

    (@lbanazol)

    okay. I get the logic … then I’ll have to give 1 point only for site registration and then give someone.
    thanks for the clarification

    Plugin Author myCred

    (@designbymerovingi)

    It is up to you how much (if any) points a user gets for registrations. You can have it any way you want.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How add points to author with mycred_link’ is closed to new replies.