XF 1.2 broke a 3rd party script (Kotomi)


Well-known member
Hey all,

I have finally given up trying to work out how to push the xf forum route to /forums/ (Like how Xenporta does it) so i decided to attempt a previous method that brogan pointed out to me a while back and that was to use a 3rd party script called Kotomi found: here

Now somewhere since 1.2 the script seems to have broken somehow.. I can't suss this out myself as i am only just learning XF from scratch.. but have had this working like such beforehand:

mysite.com/kotomi-index.php <--- Custom page within the xf wrapper
mysite.com/community/ <-- XF being installed here

here is the code i believe to be causing the issues.. (the actually issue now is that the wrapper "header and footer" is not being displayed nor is the stylesheet being loaded)..

$startTime = microtime(true);
$kotomi_indexFile = "community";
$kotomi_container = true;
$fileDir = dirname(__FILE__)."/{$kotomi_indexFile}";
require "{$fileDir}/library/Dark/Kotomi/KotomiHeader.php";

echo "
<title>kotomi test</title>
Hello world!
require "{$fileDir}/library/Dark/Kotomi/KotomiFooter.php";

Thanks in advance for any asistance on this topic.. I am watching / waiting with great interest in this, Cheers.

Regards, Darren