mizter1nho Well-known member Feb 15, 2011 #1 How do I get the content user info from class XenForo_BbCode_Formatter_Base? Need learn user_id from content info. Thanks.
How do I get the content user info from class XenForo_BbCode_Formatter_Base? Need learn user_id from content info. Thanks.
Ajaxboy Active member Feb 16, 2011 #2 what you are asking makes no sense because I figure XenForo_BbCode_Formatter_Base only helps you with the formatting, filtering, and rendering.. not sure "user_id"
what you are asking makes no sense because I figure XenForo_BbCode_Formatter_Base only helps you with the formatting, filtering, and rendering.. not sure "user_id"
mizter1nho Well-known member Feb 16, 2011 #3 in vbulletin it was possible, "global $ postinfo;" and XenForo .... ?
Ajaxboy Active member Feb 16, 2011 #4 are you talking about properties about a thread? if so.. not sure about vbulletin.. but XenForo_Model_Thread::getThreadById($thread_id); should get you the properties of a thread.
are you talking about properties about a thread? if so.. not sure about vbulletin.. but XenForo_Model_Thread::getThreadById($thread_id); should get you the properties of a thread.
Shadab Well-known member Feb 16, 2011 #5 Shouldn't the BbCode formatter be independent of the state of the message being parsed? ie, not depend on the user who posted the message, in any way.
Shouldn't the BbCode formatter be independent of the state of the message being parsed? ie, not depend on the user who posted the message, in any way.