MyBB Community Forums

Full Version: Cannot select posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, i've had this problem for a while now, but i am just starting to really need this feature. The problem is that if i select the little white box the (0) doesnt change to (1)
What mybb version are you using? Can we have your forum url?
I've managed to fix the JS error for you, but there is now another error in the form of an errr 500 internal server error. I've not got time right now to debug that or track it down, but this is the error log I was provided:

[Sun Feb 26 17:57:00.700797 2017] [:error] [pid 134474] [client 108.162.219.147:22432] SoftException in Application.cpp:256: File "/home/bananane/public_html/forums/moderation.php" is writeable by group, referer: https://banananetwork.xyz/forums/forumdi...php?fid=11

[Sun Feb 26 17:53:03.674219 2017] [:error] [pid 128170] [client 108.162.219.147:20535] SoftException in Application.cpp:256: File "/home/bananane/public_html/forums/moderation.php" is writeable by group, referer: https://banananetwork.xyz/forums/forumdi...php?fid=11

[Sun Feb 26 17:52:53.223495 2017] [:error] [pid 128151] [client 108.162.219.147:17689] SoftException in Application.cpp:256: File "/home/bananane/public_html/forums/moderation.php" is writeable by group, referer: https://banananetwork.xyz/forums/forumdi...php?fid=11

[Sun Feb 26 17:40:32.157436 2017] [:error] [pid 107097] [client 108.162.219.147:16432] SoftException in Application.cpp:256: File "/home/bananane/public_html/forums/moderation.php" is writeable by group, referer: https://banananetwork.xyz/forums/forumdisplay.php?fid=5

[Sun Feb 26 17:40:18.218912 2017] [:error] [pid 105224] [client 108.162.219.147:11794] SoftException in Application.cpp:256: File "/home/bananane/public_html/forums/moderation.php" is writeable by group, referer: https://banananetwork.xyz/forums/forumdisplay.php?fid=5

[Sun Feb 26 17:38:51.419968 2017] [:error] [pid 107072] [client 108.162.219.147:9783] SoftException in Application.cpp:256: File "/home/bananane/public_html/forums/moderation.php" is writeable by group, referer: https://banananetwork.xyz/forums/forumdisplay.php?fid=5

[Sun Feb 26 17:33:41.650424 2017] [:error] [pid 87901] [client 108.162.219.147:28673] SoftException in Application.cpp:256: File "/home/bananane/public_html/forums/moderation.php" is writeable by group, referer: https://banananetwork.xyz/forums/forumdi...php?fid=11

[Sun Feb 26 17:32:36.557029 2017] [:error] [pid 92918] [client 108.162.219.147:9776] SoftException in Application.cpp:256: File "/home/bananane/public_html/forums/moderation.php" is writeable by group, referer: https://banananetwork.xyz/forums/forumdi...php?fid=11

[Sun Feb 26 17:32:22.294699 2017] [:error] [pid 82511] [client 108.162.219.147:11371] SoftException in Application.cpp:256: File "/home/bananane/public_html/forums/moderation.php" is writeable by group, referer: https://banananetwork.xyz/forums/forumdi...php?fid=11

[Sun Feb 26 07:19:13.027488 2017] [:error] [pid 112759] [client 108.162.246.28:36646] File does not exist: /home/bananane/public_html/alerts.php

[Sun Feb 26 06:14:56.829357 2017] [:error] [pid 10339] [client 108.162.246.64:16231] File does not exist: /home/bananane/public_html/search.php
UPDATE: i just had to change my themes toggle.js forums/images/yourtheme/style/toggle.js to

;(function($){
$(".collapse").hide();
$(".expand").click(function() {
$("#container, .wrap, .header, #menu").stop(true, true).delay(0).css({width: '95%'}, 300);
$(this).hide();
$(".collapse").show();
$.cookie("resize","collapsed", {expires: 365});

return false;
});

$(".collapse").click(function() {
$("#container, .wrap, .header, #menu").stop(true, true).delay(0).css({width: '960px'}, 300);
$(this).hide();
$(".expand").show();
$.cookie("resize","expanded", {expires: 365});

return false;
});

if($.cookie("resize") == "collapsed") {
$(".expand").hide();
$(".collapse").show();
$("#container, .wrap, .header, #menu").css({width: '95%'});
}
})(jQuery);


then, i had to delete my forums/moderation.php file and re-upload it

thank you Euan for the help
There were a few other changes I made, such as removing old references to prototype.js and several repeated references to jQuery.