1. 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

Discussion in 'XenForo Development Discussions' started by EQnoble, Dec 19, 2011.

  1. EQnoble

    EQnoble Well-Known Member

    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'
    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?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member


    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.
    EQnoble likes this.

Share This Page