• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Disable quoting of a media site

EQnoble

Well-known member
#1
So I have made a new media site definition and when it get's quoted in another post , it throws a whole bunch of errors...this is only when it is quoted though.

I am in need of a way to either:

disable quoting of a specific 'media=mediasite'
or
change the contents of the bbcode itself so it renders as a link or something else...even nothing would be fine.


Can anyone point me in the right direction?
 

Jake Bunce

XenForo moderator
Staff member
#2
Idea.

Extend XenForo_ControllerPublic_Post::actionQuote or XenForo_Model_Post::getQuoteTextForPost. That should allow you to operate on the quoted text to add plain tags around any media tags.