Lack of interest add view object to bbcode media callback

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

xf_phantom

Well-known member
It would be very nice, if we could have access to the view object (from the bbcode parser) inside the media callback method.

we could use templates instead of putting the output code into the callback class (with all the advantages like style properties) and customizations

A probably much better alternative would be to have the XenForo_BbCode_Formatter_Base class as 3. param, this would allow us to get the view object because since 1.3.0 Beta 2 there's finally a getView method:)
 
Last edited by a moderator:
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Top Bottom