I can't reproduce the problem even with a config similar to yours.
I figured it out.. It didnt like that (menu) draft button
I can't reproduce the problem even with a config similar to yours.
I don't understand, could you explain what you did to fix your problem, so I can check if there's no an automatic way to prevent it.I figured it out.. It didnt like that (menu) draft button
{
//Php cache conditional
}
else
{
if(!empty($rendererStates['bbmPreCacheInit']))
{
$this->pushBbmPreCacheData('tinhteAioAttachementIds', $attachmentId);
}
elseif(!empty($rendererStates['bbmPreCacheComplete']))
{
$bbmPreCacheAio = $this->getBbmPreCacheData('tinhteAioAttachementData');
if(isset($bbmPreCacheAio[$attachmentId]))
{
$attachment_check = $bbmPreCacheAio[$attachmentId];
}
else
{
//Fallback (should not been needed)
$attachment_check = $this->_getAttachmentModel()->getAttachmentById($attachmentId);
}
}
else
{
//Fallback
$attachment_check = $this->_getAttachmentModel()->getAttachmentById($attachmentId);
}
}
public static function bbmPreCache(array &$preCache, array &$rendererStates)
{
if(empty($preCache['tinhteAioAttachementIds']))
{
return false;
}
$attachementsIds = array_unique($preCache['tinhteAioAttachementIds']);
$attachementsData = XenForo_Model::create('XenForo_Model_Attachment')->aioGetAttachmentByIds($attachementsIds); //The attachment model has been extended with this new method
$preCache['tinhteAioAttachementData'] = $attachementsData;
}
New JavaScript zLoader (will extend the XenForo ExtLoader)
"My" loader is just a basic JS modification of the original "Ext loader". At this level, you only have 1 information, the JS url; that's why I use a dummy prefix system to sort the url to load (that's not pretty, but at least I don't have any errors and I can use this system for the new Bb Codes I'm currently coding).Considering you've made your own custom loader anyway, would it be possible to add the HTML5 attributes async and defer to these scripts whenever possible? Would be nice if the loading of the editor wouldn't block the rest of the page from rendering, especially considering it tends to be at the bottom of the page most of the time.
(defer does the exact same thing as async except that all scripts with the defer attribute are guaranteed to be executed in the order in which they are on the page. When both attributes are present, async overrides defer. They don't need to have a value set, so just <script async src="you-know-the-deal"></script> or <script async>inline stuff</script> should be enough)
I can't reproduce. Check your javascript console to detect any errors. Try to update to last version of the addon too, same thing for TinyMCE if you use it.Hello! I am having issues with the addon causing the "Reply" post button to function incorrectly. It goes to the fast reply box with no quote text inside and posting a response shows the quote, but with no body text that was entered. How should I go about solving this?
Thank you for your response Cedric!I can't reproduce. Check your javascript console to detect any errors. Try to update to last version of the addon too, same thing for TinyMCE if you use it.
If you don't have any error in the console, I don't have any ideas. This addon doesn't modify or interfer with the reply XenForo JS functions.Thank you for your response Cedric!
Unfortunately, nothing is coming up on the Javascript console and I am running both newest versions. This only occurs in the richtext editor it seems. I recently updated Xenforo to 1.2.5 as well, but it happened before in .4 as well. Any ideas?
I am using Bb Codes & Buttons Manager 2.6.2.3 and TinyMCE Quattro 2.1.1.2. I reinstalled BBM as well as TinyMCE, but that did not fix it. It seems that disabling TinyMCE also fixes the problem. I'm not sure which one is the issue, BBM or TinyMCE...If you don't have any error in the console, I don't have any ideas. This addon doesn't modify or interfer with the reply XenForo JS functions.
You didn't reply me. Do you use the last version of this addon (and TinyMCE Quattro if you have it)?
If when you disable the BBM addon, your problem is solved, then contact me by pm with your website, a temporary admin account and a ftp access to the bbm libraries and javascript.
Yes, see my previous post. Are you using the bbm options that allows you to have a different editor configuration according to the ControllerName/action or view ? If yes, what is its configuration?I am using Bb Codes & Buttons Manager 2.6.2.3 and TinyMCE Quattro 2.1.1.2. I reinstalled BBM as well as TinyMCE, but that did not fix it. It seems that disabling TinyMCE also fixes the problem. I'm not sure which one is the issue, BBM or TinyMCE...
I would appreciate it if you were okay with looking at my forum's files and seeing for yourself, would this be okay with you?
a) Edit your post code to delete the center Bb Code (the addon can't add it itself, it must be in the post)When I turn off the BBCODE add-on, it's gone, when I turn on, it's show like that
<script src="{$jQuerySource}"></script>
<xen:if is="{$jQuerySource} != {$jQuerySourceLocal}">
<script>if (!window.jQuery) { document.write('<scr'+'ipt type="text/javascript" src="{$jQuerySourceLocal}"><\/scr'+'ipt>'); }</script>
</xen:if><xen:if is="{$xenOptions.uncompressedJs} == 1 OR {$xenOptions.uncompressedJs} == 3">
<script src="{$javaScriptSource}/jquery/jquery.xenforo.rollup.js?_v={$xenOptions.jsVersion}"></script></xen:if>
<script src="{xen:helper javaScriptUrl, '{$javaScriptSource}/xenforo/xenforo.js?_v={$xenOptions.jsVersion}'}"></script>
<!--XenForo_Require:JS-->
Find:
<!--XenForo_Require:JS-->
Replace:
$0
<xen:include template="bbm_page_container_js_head" />
We use essential cookies to make this site work, and optional cookies to enhance your experience.