MyBB Community Forums

Full Version: Missing Toolbox when trying to reply
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi. So I'm missing the toolbox (Font, Text size, Italic, etc) from my 1.6.9 installation. I've been trying to fix it for hours, but I can't find the solution.
I've disabled recently installed plugins, made sure I didn't delete anything important, but yeah.

For the record, I'm not using CloudFlare.

Please help me.

Thanks
Site link?
(2013-02-25, 03:11 PM)effone Wrote: [ -> ]Site link?

Sent it to you.
The very same old problem.

You might be suffering from Javascript conflict.

Try adding this to the headerinclude template of your theme.
jQuery.noConflict();
(2013-02-25, 03:18 PM)ElectricShock Wrote: [ -> ]The very same old problem.

You might be suffering from Javascript conflict.

Try adding this to the headerinclude template of your theme.
jQuery.noConflict();

It's already there. I've seen many possible solutions with this, but it didn't work in my case. I'm using the default theme.

I can post my headerinclude if you want.
You are suffering jQuery conflict at your site. Your other javascripts are not working if you can see (like thead expand-collapse).

Open your headerinclude template and find:

<script src="http://code.jquery.com/jquery-latest.js"></script>

And change it to:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript">
jQuery.noConflict();
</script>

(I suggest not to set dynamic version for jQ library: which 'latest' does. It may occur trouble in future again.)

Load the jQuery library before your jquery functions and use noConflict just after loading the library.
(2013-02-25, 03:21 PM)effone Wrote: [ -> ]You are suffering jQuery conflict at your site. Your other javascripts are not working if you can see (like thead expand-collapse).

Open your headerinclude template and find:

<script src="http://code.jquery.com/jquery-latest.js"></script>

And change it to:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript">
jQuery.noConflict();
</script>

(I suggest not to set dynamic version for jQ library: which 'latest' does. It may occur trouble in future again.)

Load the jQuery library before your jquery functions and use noConflict just after loading the library.

Hey, here's my header thing:

<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
{$stylesheets} <script type="text/javascript">jQuery.noConflict();
jQuery(function($) { $(".close").click(function () {
  $(".avviso").fadeOut("slow");
  }); });</script> <script src="http://code.jquery.com/jquery-latest.js"></script> {$avvisospiti} <script type="text/javascript">jQuery.noConflict();
jQuery(function($) { $(".close").click(function () {
  $(".avviso").fadeOut("slow");
  }); });</script> <script src="http://code.jquery.com/jquery-latest.js"></script> {$avvisospiti}
<script type="text/javascript">
<!--
	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var deleteevent_confirm = "{$lang->deleteevent_confirm}";
	var removeattach_confirm = "{$lang->removeattach_confirm}";
	var loading_text = '{$lang->ajax_loading}';
	var saving_changes = '{$lang->saving_changes}';
	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
	var my_post_key = "{$mybb->post_code}";
	var imagepath = "{$theme['imgdir']}";
// -->
</script>

That line is duplicated. Where should I place that code exactly?
Your headerinclude appears messed up.
Replace with this:
{$stylesheets}
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();
jQuery(function($) { $(".close").click(function () {
  $(".avviso").fadeOut("slow");
  }); });</script>{$avvisospiti}
<script type="text/javascript">
<!--
    var cookieDomain = "{$mybb->settings['cookiedomain']}";
    var cookiePath = "{$mybb->settings['cookiepath']}";
    var cookiePrefix = "{$mybb->settings['cookieprefix']}";
    var deleteevent_confirm = "{$lang->deleteevent_confirm}";
    var removeattach_confirm = "{$lang->removeattach_confirm}";
    var loading_text = '{$lang->ajax_loading}';
    var saving_changes = '{$lang->saving_changes}';
    var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
    var my_post_key = "{$mybb->post_code}";
    var imagepath = "{$theme['imgdir']}";
// -->
</script>
Delete duplicates of this:

<script src="http://code.jquery.com/jquery-latest.js"></script>
(2013-02-25, 03:29 PM)ElectricShock Wrote: [ -> ]Your headerinclude appears messed up.
Replace with this:
{$stylesheets}
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();
jQuery(function($) { $(".close").click(function () {
  $(".avviso").fadeOut("slow");
  }); });</script>{$avvisospiti}
<script type="text/javascript">
<!--
    var cookieDomain = "{$mybb->settings['cookiedomain']}";
    var cookiePath = "{$mybb->settings['cookiepath']}";
    var cookiePrefix = "{$mybb->settings['cookieprefix']}";
    var deleteevent_confirm = "{$lang->deleteevent_confirm}";
    var removeattach_confirm = "{$lang->removeattach_confirm}";
    var loading_text = '{$lang->ajax_loading}';
    var saving_changes = '{$lang->saving_changes}';
    var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
    var my_post_key = "{$mybb->post_code}";
    var imagepath = "{$theme['imgdir']}";
// -->
</script>

Dang. That worked. They are showing up now, and I can also collapse forums now. What was the problem? Could plugins mess with my header file? Should I change permissions or what? Because I didn't touch it.


@effone, what do you think, is the code posted above fully correct?
Pages: 1 2