http://www.plogger.org/demo/I ended up using plogger, is very basic, no logins needed
$startTime = microtime(true);
$kotomi_indexFile = "../forum";
$kotomi_container = true;
$fileDir = dirname(__FILE__)."/{$kotomi_indexFile}";
require "{$fileDir}/library/Dark/Kotomi/KotomiHeader.php";
<all the common.php code is here>
require "{$fileDir}/library/Dark/Kotomi/KotomiFooter.php";
This is actually what I used for the dynamic theme for wordpress, try this:I even tried adding some chdir PHP above the code then chdiring it back to the current directory at the end, but of course that means it just can't find the next .php file needed by XP to use it's framework.
I dont really know enough PHP to fix it myself.
$startTime=microtime(true);
$kotomi_container =true;
$fileDir = ABSPATH . "../forum";
require($fileDir . '/library/Dark/Kotomi/KotomiHeader.php');
Warning: require(ABSPATH../forum/library/Dark/Kotomi/KotomiHeader.php) [function.require]: failed to open stream: No such file or directory in /home/<USERNAME REMOVED>/public_html/DY/dkp/common.php on line 19
Warning: require(ABSPATH../forum/library/Dark/Kotomi/KotomiHeader.php) [function.require]: failed to open stream: No such file or directory in /home/<USERNAME REMOVED>/public_html/DY/dkp/common.php on line 19
Fatal error: require() [function.require]: Failed opening required 'ABSPATH../forum/library/Dark/Kotomi/KotomiHeader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<USERNAME REMOVED>/public_html/DY/dkp/common.php on line 19
$fileDir = "home/username/public_html/DY/forum";
Thats not what it's intended purpose is. It just allows you to use XenForo 'stuff' inside the 3rd party script. It does not change the behavious of that 3rd party script it's self. So if that script has it's own login system, it will retain it.Is there any way to integrate some external script with Xenforo by Kotomi?
I mean, merged authorization, commentaries, etc
How did this go ?Brett Peters, Aug 11, 2011: I ended up using plogger
We use essential cookies to make this site work, and optional cookies to enhance your experience.