How to install MKPortal with vBulletin
Please note:
- Warning: vBulletin 3.6+ is required to install MKPortal 1.1.1. You cannot install MKPortal M 1.1.1 with vB 3.0.x
- Before installing this product, we recommend that you backup your database.
Installing MKPortal is very simple:
The installation package (zip file) contains the "upload" folder. You should transfer the content of the "upload" folder to your webspace (for example http://www.example.com/) according to this scheme:
/forum (or any other name of the folder containing the board installed)
/mkportal (containing the content of "upload" folder)
/index.php (included in mkportal package)
You should obtain this structure (it's the only structure to make mkportal work correctly) :
http://www.example.com/forum
http://www.example.com/mkportal
http://www.example.com/index.php (mkportal main index)
If you have the board index on your website root you should move it into a subfolder (as shown in the example above).
Give write permissions (chmod 777) to the following files and directories and their content:
mkportal/conf_mk.php
mkportal/cache
mkportal/blog
mkportal/blog/images
mkportal/templates/*
mkportal/lang/*
mkportal/modules/downloads/file
mkportal/modules/gallery/album
mkportal/modules/gallery/album/tmp
mkportal/modules/reviews/images
mkportal/modules/reviews/images/tmp
mkportal/blog/images/tmp
Now you can start the installation by typing the url:
http://www.example.com/mkportal/mk_install.php
Just follow the instructions and you're done
Important security notice: Remove the mk_install.php file and the mkportal/upgrades folder from the server.
The installation is finished!!
Have fun!!
If you want to view the board inside MKPortal you have to:
set in the Mkportal Control Panel -> preferences the option "view the forum inside portal"
and modify this board file:
includes/functions.php (backup the file before modifying it!)
as follows:
open vBulletin forum file includes/functions.php
Find code:
โค้ด:
if (!is_demo_mode())
{
($hook = vBulletinHook::fetch_hook('global_complete')) ? eval($hook) : false;
}
Add below:
โค้ด:
//added from MKportal
define ( 'IN_MKP', 1 );
require_once "../mkportal/include/VB/vb_out.php";
$output = mkportal_board_out($output);
//end added
Bookmarks