Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Months, 1 Week, 3 Days ago Rate user not work
#11
Solved: 4 Months, 1 Week, 3 Days ago
I did, not work
i delete //
any solution
thanks
Reply
#12
Solved: 4 Months, 1 Week, 3 Days ago
There's still this thing.
// --> 

Are you sure you modified it in proper theme and proper template? Could you paste your header_include template on pastebin and send here link to that paste?
Reply
#13
Solved: 4 Months, 1 Week, 3 Days ago
<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->asset_url}/jscripts/jquery.js?ver=1820"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1820"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1820"></script>
<link type="text/css" rel="stylesheet" href="cache/themes/global/thanks/thx.css" />
<script type="text/javascript" src="jscripts/thx.js"></script>
{$stylesheets}
<script type="text/javascript">
<!--
lang.unknown_error = "{$lang->unknown_error}";

lang.select2_match = "{$lang->select2_match}";
lang.select2_matches = "{$lang->select2_matches}";
lang.select2_nomatches = "{$lang->select2_nomatches}";
lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
lang.select2_loadmore = "{$lang->select2_loadmore}";
lang.select2_searching = "{$lang->select2_searching}";

var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
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 rootpath = "{$mybb->settings['bburl']}";
var imagepath = "{$theme['imgdir']}";
var yes_confirm = "{$lang->yes}";
var no_confirm = "{$lang->no}";
var MyBBEditor = null;
var spinner_image = "{$theme['imgdir']}/spinner.gif";
var spinner = "<img src='" + spinner_image +"' alt='' />";
var modal_zindex = 9999;
// -->
</script>
Reply
#14
Solved: 4 Months, 1 Week, 3 Days ago
Okay, you see on the bottom that you have line // -->

Simplest way: copy code below and replace your current one.

<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->asset_url}/jscripts/jquery.js?ver=1820"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1820"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1820"></script>
<link type="text/css" rel="stylesheet" href="cache/themes/global/thanks/thx.css" />
<script type="text/javascript" src="jscripts/thx.js"></script>
{$stylesheets}
<script type="text/javascript">
<!--
lang.unknown_error = "{$lang->unknown_error}";

lang.select2_match = "{$lang->select2_match}";
lang.select2_matches = "{$lang->select2_matches}";
lang.select2_nomatches = "{$lang->select2_nomatches}";
lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
lang.select2_loadmore = "{$lang->select2_loadmore}";
lang.select2_searching = "{$lang->select2_searching}";

var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
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 rootpath = "{$mybb->settings['bburl']}";
var imagepath = "{$theme['imgdir']}";
var yes_confirm = "{$lang->yes}";
var no_confirm = "{$lang->no}";
var MyBBEditor = null;
var spinner_image = "{$theme['imgdir']}/spinner.gif";
var spinner = "<img src='" + spinner_image +"' alt='' />";
var modal_zindex = 9999;
-->
</script>
Reply
#15
Solved: 4 Months, 1 Week, 3 Days ago
(03-05-2019, 11:26 AM)iAndrew Wrote: What is your forum url?

--- ^^^^^^ ---
[Image: logo.svg.svg]
Reply
#16
Solved: 4 Months, 1 Week, 3 Days ago
I did
Not work
Reply
#17
Solved: 4 Months, 1 Week, 3 Days ago
You have a BUNCH of console error in your pages.
But, first and foremost, 1.8.20 has jQuery upgraded to 3.0.0 and incompatible / deprecated jquery codes are the main reason to failure of javascripts.

Remove all the incompatible codes from your templates as per this diff:
https://github.com/mybb/mybb/pull/3516/files

Specially, this chunk, simply remove it from your templates. There are many templates that has this:
<script type="text/javascript">
	$(".author_avatar img").error(function () {
		$(this).unbind("error").closest('.author_avatar').remove();
	});
</script>
[Image: logo.svg.svg]
Reply
#18
Solved: 4 Months, 1 Week, 3 Days ago
Well he said that he already updated templates to 1.8.20.

I forgot about these changes too. It seems that maybe some plugins also using jquery are messing things up.
Reply
#19
Solved: 4 Months, 1 Week, 3 Days ago
(03-05-2019, 06:18 PM)effone Wrote: You have a BUNCH of console error in your pages.
But, first and foremost, 1.8.20 has jQuery upgraded to 3.0.0 and incompatible / deprecated jquery codes are the main reason to failure of javascripts.

Remove all the incompatible codes from your templates as per this diff:
https://github.com/mybb/mybb/pull/3516/files

Specially, this chunk, simply remove it from your templates. There are many templates that has this:
<script type="text/javascript">
 $(".author_avatar img").error(function () {
 $(this).unbind("error").closest('.author_avatar').remove();
 });
</script>

i delete this script
bud not work
Reply
#20
Solved: 4 Months, 1 Week, 3 Days ago
announcement, editpost, modcp_announcements_edit, modcp_announcements_new, newreply, newthread, private_read, private_send, showthread

Total 9 templates.

Also, here is your console log, resolve those:
[Image: Untitled.png]
[Image: logo.svg.svg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)