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
Yes that is but I'm not sure why parsing showing broken. The code is correct though.
(2013-02-25, 03:34 PM)effone Wrote: [ -> ]Yes that is.

Could you tell me what altered the code? Plugins or what? Again, I have not touched to manually.

It also fixed my "Change question" button in the Security Question plugin.


Thank you guys both!
Happy to help.

Including the jQuery library interferes with the already existing prototype JS library and both conflict.

Both have use the $ sign so the browser is confused which one to choose. And the browser ends up with using nothing.

Therefore, the noConflict(); statement is called, which states that the browser renders (?) only those jQ functions outlined within a specific statement.

I might be drastically wrong, but that is how my brains render it.
where to find headerinclude? in my template?
(2013-02-26, 09:30 AM)roney Wrote: [ -> ]where to find headerinclude? in my template?

Templates and Styles > Templates > Default templates > Ungrouped Templates
[/php][/quote]
(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>

I have exactly same issue, but when I replaced current script with the version above, I get an error " A potential security issue was found in the template. Please review your changes or contact the MyBB Group for support."

My current headerinclude is below

[php]<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"><!-- 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><script type="text/javascript" src="jscripts/thx.js"></script>{$newpmmsg}
Pages: 1 2