Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-6973

Custom BBCode {EMAIL} -->$this->bbcode_specialchars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0.1
    • 3.0.0
    • Posting
    • None
    • PHP Environment:
      Database:

      Create a new custom bbcode:

      BBCode:

      [mail={EMAIL}]{TEXT}[/mail]

      HTML Replacement:

      <a href="mailto:{EMAIL}">{TEXT}</a>

      Now use the new bbcode like this in a new post:

      [mail=dr.death@dummy.de]Test[/mail]

      result:

      [mail=$this->bbcode_specialchars('dr.death@dummy.de')]Test[/mail]

            Acyd Burn Meik Sievertsen [X] (Inactive)
            Dr.Death Dr.Death
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: