PDA

ดูเวอร์ชั่นเต็ม : ช่วยแนะนำการติดตั้ง mkportal + vbulletin บน localhost ด้วยครับ


pisit
03-25-2007, 01:55 AM
รบกวนแนะนำการติดตั้ง mkportal + vbulletin บน localhost ด้วยครับ ขอบคุณมากครับ :'( :(

บ่าวกันต์
03-26-2007, 05:19 PM
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

pisit
03-26-2007, 10:35 PM
ขอเป็นภาษาไทยได้มั้ยครับ ความรู้น้อย ทำตามแล้วมันเปิดไม่ได้ ดาต้าเออเร่อ ช่วยแนะนำวิธี config ด้วยครับ... :'(

บ่าวกันต์
03-27-2007, 02:47 AM
error ยังไง ขอดูหน่อยได้มั้ย

แบบว่า วิธีที่นำมาลงน่ะ มันก็พอเห็นทางอยู่แล้ว

pisit
03-28-2007, 09:09 AM
ติดตั้งได้แล้วครับ ฮิฮิฮิ แล้วจะแก้ไขข้อความตรงนี้ต้องทำไงครับ(ตามรูป) แล้วมี template สวยๆ หรือไม่ก็วิธีทำ template ก็ได้ครับ ขอบคุณครับ

pisit
03-28-2007, 09:15 AM
ติดตั้งได้แล้วครับ ฮิฮิฮิ แล้วจะแก้ไขข้อความตรงนี้ต้องทำไงครับ(ตามรูป) แล้วมี template สวยๆ หรือไม่ก็วิธีทำ template ก็ได้ครับ ขอบคุณครับ