We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest changes in forum template vs bbcodes - not all, just this one:
fixes #3317 moved the forum template from core to plugin
c1bec2b
caused that e_bb.php doesn't work and custom bbcodes are not displayed.
The reason is using $tpl = e107::getTemplate($template, 'bbcode', $template); instead $BBCODE_TEMPLATE_FORUM;
The text was updated successfully, but these errors were encountered:
@Jimmi08 can you send me such an e_bb.php please or better the whole plugin that implements the e_bb.php?
Sorry, something went wrong.
@SimSync Forum is set to use bbcodes (system editor is Tinymce, forum plugin use bbcodes)
With version 2.1.9 it looks like this:
Before it looks like this:
That last one is from this plugin: https://www.e107.sk/download/18/spoiler-plugin
It's just fixed some old plugin. bbcode is defined this way (one plugin = one bbcode):
<?php $bb['name'] = 'sp'; $bb['onclick_var'] = "[sp][/sp]"; $bb['icon'] = e_PLUGIN_ABS."spoiler/images/spoiler.png"; $bb['helptext'] = "Spoiler: [sp=subject]Text to be hidden[/sp]"; $BBCODE_TEMPLATE .= "{BB=sp}"; $BBCODE_TEMPLATE_SUBMITNEWS .= "{BB=sp}"; $BBCODE_TEMPLATE_NEWSPOST .= "{BB=sp}"; $BBCODE_TEMPLATE_ADMIN .= "{BB=sp}"; $BBCODE_TEMPLATE_CPAGE .= "{BB=sp}"; $eplug_bb[] = $bb; ?>
but then you can have more bbcodes in one plugin.
I tried to add:
$BBCODE_TEMPLATE_FORUM .= "{BB=sp}";
It's related to using getTemplate().
3840d7d
Merge pull request #3401 from SimSync/fix_3394
4fa0b4f
fixes #3394 Moved loading of e_bb after the loading of the templates
No branches or pull requests
Latest changes in forum template vs bbcodes - not all, just this one:
c1bec2b
caused that e_bb.php doesn't work and custom bbcodes are not displayed.
The reason is using $tpl = e107::getTemplate($template, 'bbcode', $template);
instead $BBCODE_TEMPLATE_FORUM;
The text was updated successfully, but these errors were encountered: