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

XF 1.5 Creating a custom BB code with multiple options

Discussion in 'Styling and Customization Questions' started by Umut Karademir, Mar 16, 2016.

  1. Greetings everyone. I'm trying to create a bb code with multiple options but I'm not well at PHP (afaik PHP is required for bb codes with multiple options).

    This is what I want.

    BB code will be like this:

    Code:
    [customcode author="authornamehere" url="firsturlhere" source="secondurlhere"]text is here[/customcode]
    And output as HTML will be this:

    HTML:
    Sender: <strong>AUTHOR NAME WILL BE HERE</strong> (<a href="FIRST URL WILL BE HERE" target="_blank">URL</a> / <a href="SOURCE URL WILL BE HERE" target="_blank">SOURCE</a>)
    Can you guys help me to do this? I tried a few combinations but can't make it to achieve.

    @Brogan @Mike @Kier
     
  2. Terra

    Terra Member

    Was there ever an answer for this?
     

Share This Page