Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [JavaScript] Inline Moderation Problems
#11
Not Solved
(08-17-2018, 11:28 AM)NoRules Wrote: Hi,

in your headerinclude template, you have a javascript inside another javascript that's making some errors.

Clean first this (red color the problem):


Quote:<script type="text/javascript" src="http://www.vykorps.com/forums/images/generic/js/theme.js"></script>

<script type="text/javascript">
<!--
lang.unknown_error = "An unknown error has occurred.";

lang.select2_match = "One result is available, press enter to select it.";
lang.select2_matches = "{1} results are available, use up and down arrow keys to navigate.";
lang.select2_nomatches = "No matches found";
lang.select2_inputtooshort_single = "Please enter one or more character";
lang.select2_inputtooshort_plural = "Please enter {1} or more characters";
lang.select2_inputtoolong_single = "Please delete one character";
lang.select2_inputtoolong_plural = "Please delete {1} characters";
lang.select2_selectiontoobig_single = "You can only select one item";
lang.select2_selectiontoobig_plural = "You can only select {1} items";
lang.select2_loadmore = "Loading more results…";
lang.select2_searching = "Searching…";

var cookieDomain = ".vykorps.com";
var cookiePath = "/forums/";
var cookiePrefix = "";
var cookieSecureFlag = "0";
var deleteevent_confirm = "Are you sure you want to delete this event?";
var removeattach_confirm = "Are you sure you want to remove the selected attachment from this post?";
var loading_text = 'Loading. <br />Please Wait..';
var saving_changes = 'Saving changes..';
var use_xmlhttprequest = "1";
var my_post_key = "8e4e967f0c26a88838adee43e578f384";
var rootpath = "http://www.vykorps.com/forums";
var imagepath = "http://www.vykorps.com/forums/images/generic";
  var yes_confirm = "Yes";
var no_confirm = "No";
var MyBBEditor = null;
var spinner_image = "http://www.vykorps.com/forums/images/generic/spinner.gif";
var spinner = "<img src='" + spinner_image +"' alt='' />";
var modal_zindex = 9999;
// -->
<script type="text/javascript" src="http://www.vykorps.com/forums/jscripts/tabcontent.js">
</script>

to this:
Quote:<script type="text/javascript" src="http://www.vykorps.com/forums/images/generic/js/theme.js"></script>
<script type="text/javascript" src="http://www.vykorps.com/forums/jscripts/tabcontent.js">

<script type="text/javascript">
<!--
lang.unknown_error = "An unknown error has occurred.";

lang.select2_match = "One result is available, press enter to select it.";
lang.select2_matches = "{1} results are available, use up and down arrow keys to navigate.";
lang.select2_nomatches = "No matches found";
lang.select2_inputtooshort_single = "Please enter one or more character";
lang.select2_inputtooshort_plural = "Please enter {1} or more characters";
lang.select2_inputtoolong_single = "Please delete one character";
lang.select2_inputtoolong_plural = "Please delete {1} characters";
lang.select2_selectiontoobig_single = "You can only select one item";
lang.select2_selectiontoobig_plural = "You can only select {1} items";
lang.select2_loadmore = "Loading more results…";
lang.select2_searching = "Searching…";

var cookieDomain = ".vykorps.com";
var cookiePath = "/forums/";
var cookiePrefix = "";
var cookieSecureFlag = "0";
var deleteevent_confirm = "Are you sure you want to delete this event?";
var removeattach_confirm = "Are you sure you want to remove the selected attachment from this post?";
var loading_text = 'Loading. <br />Please Wait..';
var saving_changes = 'Saving changes..';
var use_xmlhttprequest = "1";
var my_post_key = "8e4e967f0c26a88838adee43e578f384";
var rootpath = "http://www.vykorps.com/forums";
var imagepath = "http://www.vykorps.com/forums/images/generic";
  var yes_confirm = "Yes";
var no_confirm = "No";
var MyBBEditor = null;
var spinner_image = "http://www.vykorps.com/forums/images/generic/spinner.gif";
var spinner = "<img src='" + spinner_image +"' alt='' />";
var modal_zindex = 9999;
// -->
</script>

Thank you so much! <3

BTW, this particular javascript (tabcontent.js) it's not found.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)