How do I get the content user info from class XenForo_BbCode_Formatter_Base?

mizter1nho

Well-known member
How do I get the content user info from class XenForo_BbCode_Formatter_Base?

Need learn user_id from content info.


Thanks.
 
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"
 
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.
 
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.
 
Top Bottom