Some fixes from BigJoos
On line 165 of takemessage.php change that test code url - pdq provided the fix only i totally forgot about it being set to a test code url :
PHP Code:
if ($returnto == 'http://chat2pals.co.uk/shoutbox.php')
to this adding your own url
PHP Code:
if ($returnto == 'http://yoursite.com/shoutbox.php')
On index.php change this
PHP Code:
<?php
$cachefile = "cache/forumpost".($CURUSER['class'] >= UC_ADMINISTRATOR ? 'staff' : '').".html";
if (file_exists($cachefile))
{
include($cachefile);
}
else {
ob_start(); // start the output buffer
require_once("include/function_forumpost.php");
latestforumposts();
$fp = fopen($cachefile, 'w');
// save the contents of output buffer to the file
fwrite($fp, ob_get_contents());
// close the file
fclose($fp);
// Send the output to the browser
ob_flush();
}
?>
To this
PHP Code:
<?php
require_once("include/function_forumpost.php");
latestforumposts();
?>
Just quick fixes from last minute testing and editing i was doing today - i forgot to revert those 2 small ones back pardon.gif main files will be updated.