WordPress.org

Ready to get started?Download WordPress

Forums

CubePoints
Publish content - no points granted to author (4 posts)

  1. danix1
    Member
    Posted 1 year ago #

    Author created a new post, and dont have permissions to publish it (Submit to review). Then Editor publish this post, no points granted to author.

    This cause only if post is mark as Private.

    Its bug? Please fix this. Thank you.

    http://wordpress.org/extend/plugins/cubepoints/

  2. abstraction
    Member
    Posted 1 year ago #

    I have the exact same issue.

    Jonathan Lau, if you are around, can you kindly address this issue? It makes it impossible for me to use this excellent plugin as I have a big selection of authors that are not receiving their points because of this bug.

  3. Gabriel
    Member
    Posted 1 year ago #

    Hey

    When you are approving a pending post, if you first Publish it, then change the Visibility to "Private" (plus click Update) you will award points.

    If you however change the visibility first, then Publish you will not be awarding any points. Do fix this add the following in cp_hooks.php on line 76 after the publish_post action:

    add_action( 'private_post', 'cp_newPost' );

  4. Jonathan Lau
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Could you explain further? Do you mean to say you want points to be awarded even if the post is published as a private post?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic