Post limit reached.
Next updates are available here
Version 1.3.6 - Change Log:
Important update
- To make it simple, the parser permissions have been fixed (they didn't work well with identical nested tags)
- the template callback variable "hasUserPerms" has been renamed to "canUseBbCode"... it's easier like this
- The "Editor Configuration Tool" by forums doesn't require any file edit anymore (see here to reverse the change you could have made)
- After the Parser permissions (permissions by posters), here comes the View permissions (permissions by viewers)
- A Bb Code Content Protection System has been included - you must activate it first and carefully read the disclaimer
- You can choose to display or not the Bb Code inside the XenForo Bb Codes Help Page
- The layout of the Bb Code add/edit page has been modified. It has now tabs inside the Bb Code Manager.
- The Button Manager still continue to use the classical view => tabs are not working with the overlay
- Many phrases have been modified (@lms sorry for this)
- Many others things I certainly forgot
To upgrade:use the Chris AutoInstaller addon or upload files/import xml
The Bbcm has finally all the functions I wanted to, except may be the wrapping function but this isn't so important. I hope XenForo developers will try to include these functions when they will release an official Bb Codes Custom Manager.
Version 1.3.5.6 - Change Log:
- Add an argument to template callback signature: &$fallBack
- Modified the formatter to add a default fallback which is the content of the Bb Code wrapped inside a div tag with a custom CSS class
- Updated the Html BbCode (Raw Bb Code) with this new fallBack argument
- When a Fallback is needed? When we are in the admin side and (may be) with email templates See here. @Thanks to Havanaclub
So as you can guess this fallback is not the most important thing for a normal use of your Forum. And there will be may be a way to fetch the public template and avoid it in a future release.
- Fix a mistake in the template callback signature ($parentClass is not in reference)
To upgrade:use the Chris AutoInstaller addon or upload files/import xml
Version 1.3.5.5 - Change Log:
- The installer has been modified:
- On a fresh install, no more Bb Code will be automatically installed.
- You will need to install the Bb Code xml file from the "extras" directory of this archive.
- New parsing method from templatesadded
- It's easy and safe to use (see the demo of the new highlighting Bb Code)
- This new template parsing method has also its own callback (easier to use than the callback parsing method)
- New parsing permissions added - only works in posts(doesn't work with XenPorta)
- Parsing permission based on usergroups
- When the user is unauthorised, the parser return can be modified
- See the demo of the new Html Bb Code (again, it will only work in posts. This is just for the demo - no support given)
- New option to parse or not Bb Codes inside the options of the opening tag
- Example: [bbcode=[b]Caption[/b]]Content[/bbcode]
- You can test this with importing again the spoiler Bb Code.
- The highlighting, Html and spoiler Bb Codes are provided with Buttons
- The layout of the Bb Code add/edit page has been modified, new phrases, new categories, new explanations, etc.
- A bug of the Button Manager has been corrected when setting permissions to the button
- Some code of the Bbcm Datawriter has been modified to give better information when an error occurs
- Tested on two forums (update) + 1 forum (fresh install)
To upgrade:use the AutoInstaller addon or upload files/import xml
Version 1.3.5.4 - Change Log:
- Add two new tools for Bb Code developers (who are using callbacks)
- A tool to render a template directly from the callback
- A tool to cache this template to avoid database queries
To upgrade:use the AutoInstaller addon or upload files/import xml
Version 1.3.5.3 - Change Log:
- Installer modified (quick fix, would need to be fully rewritten)
- Fix a bug when disable/enable buttons (quick fix too)
To upgrade:use the AutoInstaller addon or upload files/import xml
Version 1.3.5.2 - Change Log:
- The options for the Bbcm (BbCodes Custom Manager) and the Bm (Button Manager) are now separated
- The Bm can now create different layouts for the Editor
The configuration of those layouts can be set by:
- Mobile Devices with an option for Tablets
- XenForo Controller Name, Controller Action, and/or View Name
It will allow you to have for example a more basic editor for the quickreply (Threads) like on vBulletin 3.x
- Forums (you will need to manually edit 1 file)
- Modification of post #346 has been done since I've just helped a user who had a problem with this and this modification fixed the problem
- Correct a small bug with the Bm
To upgrade:use the AutoInstaller addon or upload files/import xml
Before asking questions, please read at least what I've written in the options. Thanks.
Special thanks to lms & MOZ who helped me to fix bugs and give me some ideas & feedbacks
Version 1.3.5.1 - Change Log:
- Fix an extra loop in a "for" command when using the "advanced tag" option that could generate an error about a missing key array (+ add a small piece of code to avoid any problem with this) - Thanks to Peter to have found the problem
- Fix a problem when:
1) using a single tag option but without the "advanced tag" option
2) using a percentage in the tag replacements (width/height/etc.)
Reason: the percentage needed to be doubled to be conformed to the sprintf command
The fix is automatic, no need anymore to add an extra percentage sign
To upgrade:use Chris AutoInstaller addon or only upload files (just 1 file has been modified)
Version 1.3.5 - Change Log:
- New option to disable the autolinking per Bb Code - For developers who don't use BBCM, the solution is here.
- New option (XenForo Options=> BbCode Custom Manager=>Customized BbCodes Options Separator) to customize the separator to use in the Bb Codes options
- The BbCode Base Class has been rewritten - @SchmitzIT: I've tested in Xampp (php 5.4) and didn't have any problems (I didn't proceed to the same tests with the 1.3.4 version to check if there was or not a problem before)
- Some of the tools of the StopAutoLinking Patch have been integrated: one fix for BbCodes alignment that should be included in the next version of XenForo (source: Kier) & one tool for BbCode Creators (I will publish a tutorial with a little framework, the one I've been using with my personal addons for more than a year) - edit: tutorial is here
- Fix a small bug with the category color of the orphans buttons when they were edited from the Buttons Manager
- In the 1.3.4 version the sql characters limit had been increased for the replacements fields but I had forgotten to increase this limit in the datawriter as well - @skontakt: your bug should be fixed
- Fixed a bug to be able to rename the BbCode Tag name
- The previous js fix for nested spoiler has been included
To upgrade:use Chris AutoInstaller addon or do as usual (upload files + import xml)
After more than a year, I've finally got rid of my StopAutoLinking Patch.
- For those who used it, you will need to read that post to uninstall it.
- You will have of course to edit all your Bb Codes that are using a URL and select the option to disable the autolinking in the BBCM BbCode Edit Window. Select this option: "Disable autolinking in all the tag content".
- For those you are using my Advanced BBcode ToolBar addon or those who want to be able to use tags in the bbcodes options, you will need after all this to edit 1 line of a XenForo php (see the first post of that thread). Don't worry, this will be far more cleaner than the StopAutoLinking Patch.
This version and all the procedure described have been been tested on two websites (one is using XenPortal), have been tested one pages using many bbcodes, but have been tested online only with PHP 5.3. PHP 5.4 has only been tested with Xampp.
P.S: I do not support this addon, I simply use it because I need it.
All the modifications I've made are under the
license Creative Commons BY 3.0.