• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Create Thread On Warning w/ Conversation Message

Create Thread On Warning w/ Conversation Message 1.1.0

No permission to download

Brent W

Well-known member
#1
BamaStangGuy submitted a new resource:

Create Thread On Warning w/ Conversation Message - Creates a new thread when you issue a warning to a user. Includes conversation message in thread.

In order for the thread to be created, you must have a conversation message included in the warning.

This add-on creates a new thread when you issue a warning to a member AND you include a conversation message with the warning. Please read the read warning above. This add-on will not create a thread if you do not also send a conversation to the member as well.


View attachment 145117 View attachment 145118
Read more about this resource...
 
#2
BamaStangGuy submitted a new resource:

Create Thread On Warning w/ Conversation Message - Creates a new thread when you issue a warning to a user. Includes conversation message in thread.



Read more about this resource...
Hi Brent,
when installed your addon and added other one, the following error occurs when sending private messages (error in javascript console0:


Code:
xenforo.js?_v=0452db26:233 PHP <br />
<b>Fatal error</b>:  Access level to DigitalPointBetterAnalytics_DataWriter_ConversationMessage::_postSave() must be public (as in class XFResource_ThreadOnWarning_XenForo_DataWriter_ConversationMessage) in <b>/home/forumbuk/public_html/forum/library/DigitalPointBetterAnalytics/DataWriter/ConversationMessage.php</b> on line <b>30</b><br />
It looks like _postSave in yout addon is made public, but should not.

EDIT
Confirmed: chaing public to protected in _postSave methods helps solve issues and do not breaks your addon :)
 
Last edited: