2015-03-12, 06:40 PM
When I click on the tickbox on a post, the inline moderation "Go (0)" button doesn't increment.
My site is:
http://www.greenpokerforum.com
I've read a few other people have had similar issues and were told to check their headerinclude file for JQuery issues. I've check mine, but I don't know enough about JQuery to know if its ok. Mine is:
I am also getting some errors in the Chrome console window, which I've added as an attachment.
I've tried adding the following to my headinclude template:
<script type="text/javascript">jQuery.noConflict();</script>
but that didn't fix it.
Any help would be very much appreciated!
Thanks,
Tom
As a follow on from my original post, I have found that "use.xmlhttprequest" that the console was saying as being undefined is in settings.php. Is settings.php not being called somewhere where it should be? I have also recently changed the name of the admin directory of my site for security reasons, I notice there are some Javascript files in that directory too, could that be causing this problem? If anyone could help me I'd be very grateful. Thanks!
I'm using 1.8.4 with my own custom built theme.
My site is:
http://www.greenpokerforum.com
I've read a few other people have had similar issues and were told to check their headerinclude file for JQuery issues. I've check mine, but I don't know enough about JQuery to know if its ok. Mine is:
<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=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myadvertisements.js"></script>
<link type="text/css" rel="stylesheet" href="cache/themes/global/thanks/thx.css" />
<script type="text/javascript" src="jscripts/thx.js"></script>
<!-- Start Twitter Follow Button Code -->
<script>window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,"script","twitter-wjs"));
</script>
<!-- End Twitter Follow Button Code -->
<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 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='' />";
// -->
</script>
I am also getting some errors in the Chrome console window, which I've added as an attachment.
I've tried adding the following to my headinclude template:
<script type="text/javascript">jQuery.noConflict();</script>
but that didn't fix it.
Any help would be very much appreciated!
Thanks,
Tom
As a follow on from my original post, I have found that "use.xmlhttprequest" that the console was saying as being undefined is in settings.php. Is settings.php not being called somewhere where it should be? I have also recently changed the name of the admin directory of my site for security reasons, I notice there are some Javascript files in that directory too, could that be causing this problem? If anyone could help me I'd be very grateful. Thanks!
I'm using 1.8.4 with my own custom built theme.