[thread] and [post] BBCode xenforo 2

admin

Administrator
Staff member
#1
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: Thread & Post BB Code for XF2)

Similarly:

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]
Download
tuoitreit.vn_Hampel-ThreadPostBbCode.zip - Fshare
 

Facebook Comments

New posts Latest threads Latest profile posts

Top