UserPro Private Messaging

Description

The myCRED for UserPro plugin provides a custom hook that allows you to reward or charge your users for sending private messages using the Private Messages for UserPro plugin.

You can use the mycred_userpro_insufficient filter to adjust the message the user sees if they run out of points and can not send messages.

Available since version 1.1.3

Known Issues

Requires version 4.9 of the Private Messages for UserPro plugin.

Setup

If you want to reward your users with points for sending / receiving messages, make sure you set a point value other than zero to enable the hook and make sure you have provided a log entry template.

 

If on the other hand you want to charge your users, make sure you set a negative value for sending messages. Make sure you also tick the “Prohibit users with zero points from sending messages.” checkbox! If you do not tick this checkbox, a user will be able to continue to submit new messages and gain a negative balance!

 

If a user can not afford to send further messages, they will see an error message in the chat window and the “Send Message” buttons will be hidden.

 

Supported Instances

Instance Reference Description
new_message Give or take points from users for sending or receiving a new message.