MyBB Community Forums

Full Version: help with turning off page generation stats
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
as the topic indicates, i need help turning off page generation stats on my forum.

another problem im having is while editing admin permissions i get this error:
Fatal error: Call to undefined function: arraytobits() in /home2/thedon/public_html/community/admin/adminoptions.php on line 51

any help on these 2 matters wou;d be greatly appreciated.

thanks in advance
Quote:as the topic indicates, i need help turning off page generation stats on my forum.
Go to Admin CP > Templates > Modify/Delete > footer > remove
<div id="debug"><debugstuff></div>

Quote:Fatal error: Call to undefined function: arraytobits() in /home2/thedon/public_html/community/admin/adminoptions.php on line 51
Theres two way. Open admin/adminoptions.php and comment out (//) line 51, eg:
// arraytobits(bleh);
or open up inc/functions.php and add something like
function arraytobits() {
return TRUE;
}
or something like that.

Hopes this has helped.
ok, thanks for hte help in turning off page generation stats, but now for the second part

adminoptions.php doesnt have line 51 commented out

could u pleas ehelp me with the other suggestion u gave me
no, I dont think you understood me. You have to comment out line 51. Add // at the beggining of the line. It works for me.