XenForo
Administrative
- Thread starter
- Admin
- #1
I'm trying for few days to integrate the footer and header of XenForo on a standalone PHP file but stuck.
The same thing was done before here for XenForo 1
xenforo.com
In file separate.php
Code:
Header.php
Code:
Read more
ادامه مطلب...
The same thing was done before here for XenForo 1

Unmaintained - Kotomi - Generic script bridge
This is mainly intended for developer use. It lets you embed a non-XenForo/non-MVC script (just about any PHP script should work) into the XenForo page and use XenForo functions such as permissions while still accessing the script from a standard...
In file separate.php
Code:
Code:
$container = true;
$fileDir = dirname(__FILE__)."/{$indexFilePath}";
$dir = __DIR__;
require($dir . '/src/XF.php');
\XF::start($dir);
require "{$fileDir}src/AddonPath/Header.php";
Header.php
Code:
...
Read more
ادامه مطلب...