Skip to:

Stop a particular user from posting or commenting

  • joselawrence


    Hello, some help here please.
    I am building a buddypress community, also running mycred, and has the mycred hook to deduct points for activity posting, however, even if the user point is lower than the charged point, the user can still post.

    I want to stop users with lesser points from posting or commenting/replying to comments.
    The condition is not a problem, some body kindly help my with a code to prevent a user from posting on his/her activity stream with a custom error message, and also a separate code to prevent commenting with a custom error message, and I can add the condition check there.

    Thanks in advance

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar