Resource icon

Beta [thread] and [post] BBCode 1.0.1

No permission to download
Compatible XF 2.x versions
2.0
License
MIT
Visible branding
No
This XenForo 2.0 addon adds [thread] and [post] BBCode tags.

This basically does the same job as @Xon's Thread & Post BB Code for XF2 addon - but mine is (deliberately) much less sophisticated and does no permission checking or thread/post lookups.

I've basically aimed to reproduce the original vBulletin (v3.8.x) functionality of simply rendering a link to a thread or post with the user supplied link text - if the user does not have permission to access the thread or post, they'll find out when they click the link! Thread titles are not rendered automatically, so there is no risk of information leakage.

The main reason you'd want to use this addon is if you have migrated content from vBulletin or another forum which uses [thread] and [post] BBCodes.

Requirements

This addon requires PHP 5.4 or higher and only works on XenForo 2.0.x

Usage

If this was implemented here on XenForo.com, the following code:

Rich (BB code):
[thread=133851]Xon's addon[/thread]
... would be rendered as:

Xon's addon (note the URL: https://xenforo.com/community/threads/133851/)​

Similarly:

Rich (BB code):
[post=1221876]Latest update[/post]
... would be rendered as:

Latest update (URL: https://xenforo.com/community/posts/1221876/)​

Note that the addon also supports the following BBCode:

Rich (BB code):
[thread]133851[/thread] ... and ... [post]1221876[/post]
... which would be rendered as:

Author
Sim
Downloads
32
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Sim

Latest updates

  1. v1.0.1 bug fix

    remove link class and target attributes when using SimpleHtml or EmailHtml based renderers Note...
  2. v1.0.0a re-release

    Same version, new addon_id. If you already have v1.0.0 installed, there is no need to upgrade...
Top