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

Is it possible to disable auto parsing of links.

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

  1. EQnoble

    EQnoble Well-Known Member

  2. Brogan

    Brogan XenForo Moderator Staff Member

    You could look at how the plain BB Code tag works and go from there.
    EQnoble likes this.
  3. ragtek

    ragtek Guest

    EQnoble likes this.
  4. EQnoble

    EQnoble Well-Known Member

    good call...thanks....now just to find where that is defined lol
  5. EQnoble

    EQnoble Well-Known Member

    I wouldn't really know what to do with that from there but the addon looks awesome....:)

    I have tried using regex in my bbcode (created with bbcm) but the best effort I was able to yield was replacing the first instance of the tags...the rest remained the same. <Sigh>...why don't I have a clue as to what I am doing
  6. Ben Bravery

    Ben Bravery New Member

    Didnt vBulletin have this option? In the post editor? Why doesn't XenForo have such an option?
  7. xfrocks

    xfrocks Well-Known Member

    You can do that with a simple add-on. Listen to load_class_bb_code. Extend XenForo_BbCode_Formatter_BbCode_AutoLink. Do something like this

    class MyAddOn_BbCode_Formatter_BbCode_AutoLink extends XFCP_MyAddOn_BbCode_Formatter_BbCode_AutoLink {
    public function 
    filterString($string, array $rendererStates)

Share This Page