• Resolved sslv

    (@sslv)


    Hi I’m using Limit Posts Per User on gd_place = 6 & Limit Posts Per User on gd_event = 6

    I have also added the following code which changes the message displayed on the front end when the user is unable to add more posts:

    /* Change alert message when user tries to add a more than 6 shops */
    add_filter('geodir_user_posts_limit_message','_my_custom_limit_message',10,5);
    function _my_custom_limit_message($message, $posts_limit, $posts_count, $posts_limits, $params ){
        $message = "You have reached the limit of posts you can add at this time. If you want to add a new post please contact our Customer Support Team!";
        return $message;
    }

    Question 1: Does the limit applies to admin user also, or the remaining users (I’m also using Custom Roles) ?

    Question 2: Does the Limit counter still continues when a post is transferred to a user? (For example. Let’s say user A has 4 posts, and user B has transfer 2 post to user A. Will the user A has 4 or 6 posts)?

Viewing 1 replies (of 1 total)
  • Thread Starter sslv

    (@sslv)

    Answer 1: It doesn’t apply on admin users. It will still work on Custom Roles as well.

    Answer 2: Yes, The limit will be applied when the user has reached the specified number, even if the posts are transferred and not created by that user

Viewing 1 replies (of 1 total)
  • The topic ‘Question related to Limit Posts Per User’ is closed to new replies.