- Compatible XF Versions
- 1.1
- 1.2
- 1.3
- 1.4
- 1.5
License:
Creative Commons BY 3.0 license
Bb Codes & Buttons Manager
Addon Presentation
This addon allows you to create some Bb Codes & Buttons and to configure some of the XenForo default Bb Codes. You can also position Bb Codes with a button in the editor toolbar (compatible with the XenForo redactor editor and with the TinyMCE Quattro editor).
Bb Codes creation
Creative Commons BY 3.0 license
Bb Codes & Buttons Manager
Addon Presentation
This addon allows you to create some Bb Codes & Buttons and to configure some of the XenForo default Bb Codes. You can also position Bb Codes with a button in the editor toolbar (compatible with the XenForo redactor editor and with the TinyMCE Quattro editor).
Bb Codes creation
- Parsing methods
You've got three different ways to create your Bb Codes:- direct replacement with fallbacks (not recommended to deal with options)
- Template (callbacks available - see the FAQ)
- Php callback
- Parser options
The XenForo original parser options are there, some new ones to:- Stop auto-linking (compatible with former XenForo versions)
- Parse tag options
- Empty content check (don't parse if content empty)
- Wrapping tag
- Etc.
- Parser permissions (who can use the Bb Code)
- The permissions are available for the Bbm Bb Codes and the XenForo default Bb Codes. Important: this feature is experimental.
-
[*]Retrieving posts datas can not be easily done: the way XenForo parses messages is not post by post but at once by page with all posts information provided also at once. These posts information are used to create a map of the tags and each time a Bb Code is processed, a function tries to locate it on the map. Even if this feature has been tested, be sure to check if this feature is working fine with your forum (just try to perform a check in a thread with many posts)
[*]
- View permissions (who can see the Bb Code content)
A BbCode Content Protection System (BCPS) has been included (you must activate it first and carefully read the disclaimer). This BCPS is needed in some areas of your website to securise the content of your Bb Codes. It is compatible with the Bbm Bb Codes and some of the XenForo default Bb Codes - Editor button
- Configure a button for your Bb Code, you can give it some permissions, preset its options and/or content
- You can also customize its return (overlay/direct code insertion) - only compatible with TinyMCE Quattro
- If you only need to create an orphan button (a button without a Bb Code), the creation procedure is the same. Just put the character "@" before its tag name.
Bb Codes Import/Export system- Support bulk Bb Codes import/export
- A bulk export utility provided (Bb Codes can be exported by addons)
Editor layout configuration & Buttons Manager- Left to right/Right to left language configuration (only for TinyMCE Quattro)
- Create your own editor configuration
- Configure your editor for mobiles deviced
- Configure your editor for tablets (requires an extra addon)
- Configure your editor by Controller & View => this will allow you for example to have another layout for the fast reply editor
- Configure your editor by forum
- Enable/disable them
- Permissions
- Add them a wrapper (callback available - see demo in the extras directory)
- Empty content check (don't parse if content empty)
- highlighter
- h2 paragraph
- spoiler
- protected (uses the view permissions)
- raw (html)
This Bb Code is experimental (as it's using the parser permissions)
It allows to inject html code in your posts. For a similar Bb Code but written by a professional coder.
Installation/Update- Use an installer or the manual method:
upload the CONTENT of the "upload" directory (of the archive) inside your forum directory and THEN import the addon xml file (from the EXTRA directory)
- Important
- Custom BB Code Manager addon. To prevent any errors on your forum, this addon will not be active on the public section if you have on your server the Custom BB Code Manager addon. This system lets you have temporarily both addon installed so you can take your time to migrate from one to another one. For more information, read the red notice on the main page of the administration.
- Note for PHP 5.2.x users. You will need to modify a XenForo file. See the point 5 of the FAQ.
Configure the addon in:- ADMIN->HOME->Bb Codes & Buttons Manager (will redirected to all available sections)
- ADMIN->Appearance->Style Properties->BBM Bb Codes (to controle the appearance of some Bb Codes)