[thread] and [post] BBCode xenforo 2


Staff member
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.


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


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: Thread & Post BB Code for XF2)


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

Latest update (URL: Thread & Post BB Code for XF2)

Note that the addon also supports the following BBCode:

Rich (BB code):
[thread]133851[/thread] ... and ... [post]1221876[/post]
tuoitreit.vn_Hampel-ThreadPostBbCode.zip - Fshare

Facebook Comments

Similar threads

New posts New threads New resources