It should work without any problem. No object is serialized here.I ask since there are some fundamental changes that could affect addons according to XF team.
Version 3.3.2 released
- Improve the "Buttons" helper
Add a "Phrase Wrapper" coded by Xon which improves performance and which doesn't require anymore to set phrases as global in the Bb Codes options. A big thank to him as usual.
- Fix a bug with the "Bb Code" helper
The getSpecialTags fonction had two bugs that made it incompatible with several different special tags. Thanks to Aivaras
P.S: The addon...
Thank, no it's my fault. I was doing two things at the same time this morning and since I'm not a woman I failed@cclaerhout I've submitted a pull-request with a bugfix. I suspect it is a warning in older versions of php which is now an error in php7.
Version 3.3.2.1 released
- Small fix for the 3.3.2 version with a variable. I still increment the addon version with x.x.x.1 to avoid any confusion.
Oh, I will change a little thing to support for boards using php < 5.5Something wrong, it breaks website.
Error
Version 3.3.2.2 released
- Modify a part of the code to make it compatible with versions of PHP below 5.5 [ref]
Will that fix my problem?cclaerhout updated BbCodes & Buttons Manager with a new update entry:
Version 3.3.2.2 released
Read the rest of this update entry...
It worked.@Maester Aemon
Use this version, it will work.
See the example "How to create a Bb Code with the template render and a callback?" in the FAQ.Though I'm a bit confused on how to create a tag.
You're resquesting a double level of wrapping: a custom tag that will be wrapped by the XenForo Img Tag, which will wrapped with a Spoiler tag. That's out of the scope of this addon and will require custom dev.I want to create a tag that will both make a put an image inside of a spoiler tag with a specific tag title
<?php
class YourClass_Callback
{
public static function Render(&$content, array &$options, &$templateName, &$fallBack, array $rendererStates, $parentClass)
{
$options['bbCodeParser'] = $parentClass->getTransparentParser();
}
}
<xen:if is="!{$options.1}">
<xen:set var="$bbCodeEval">[spoiler][img]{$content}[/img][/spoiler]</xen:set>
<xen:else />
<xen:set var="$bbCodeEval">[spoiler={$options.1}][img]{$content}[/img][/spoiler]</xen:set>
</xen:if>
{xen:helper bbCode, $options.bbCodeParser, $bbCodeEval}
- Fix the Bb Codes Permissions inside Signatures
=> Will only work after XenForo fixes this bug: https://xenforo.com/community/threads/112425/
Thanks!
FAQ §12 and §13.Why am i getting this
View attachment 129203
Version 3.3.3 released
- Fix the Bb Codes inside Signatures - Thanks to Gates
- A TinyMCE button icon has been disabled since it has been deleted from the original TinyMCE package
This update is recommended.
We use essential cookies to make this site work, and optional cookies to enhance your experience.