Welcome to Our Community

Registration on our forums are now open for some days! Feel free to sign up today.

[Free Add-on ] Anchor and Go To BBCode (SMF Style) 1.0

Anchor and Go To BBCode (SMF Style)

  1. XenForo Rocks
    Compatible XF Versions:
    • 1.3
    Visible Branding:
    I was looking for a way to add in anchors like SMF uses, and reading on the forums the solutions I found just would not work and I didn't feel like installing a mod to handle it, so I fixed it myself.

    This uses the SMF style of BBCodes, [IURL] & [ANCHOR]
    This is an export of both BBCodes directly from the BB Code & Smilies section of the Xenforo Admin, so that is where you will import the XML.

    Don't wish to import it?

    Add it in yourself using the following:
    (You can of course rename these to whatever you wish.)

    <a id="#{option}">{text}</a>
    <a href="javascript:;" onclick="window.location.hash = '#{option}';">{text}</a>
    Kuroko likes this.