How to install MKPortal with phpBB

Please note:

  • phpBB 2.0.x is required to install this version of MKPortal.
  • Before installing this product we recommend that you backup your database.
     
 

Installing MKPortal is very simple:

  1. 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).


     
  2. Set write permissions (chmod 777) for the following files and directories and to 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


     
  3. 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


     
  4. Important security notice: Remove the mk_install.php file and the mkportal/upgrades folder from the server.


  5.  
  6. open forum file: login.php

Find the string:

Attention, this string occurs 3 times in login.php! You must substitute this string in all 3 occurrences. Remove them and insert instead:

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 these board files (backup the files before modifying them!):

  • includes/page_tail.php
  • includes/template.php
  • includes/page_header.php
  • templates/xxxx/overall_header.tpl

as follows:

open forum file includes/page_header.php

Find the string (around 460):

Replace with:

open forum file includes/page_tail.php

Find the string:

Add below:

open forum file includes/template.php

Find the string (around 127):

Replace with:

Optional: The next modification is useful to remove the forum header and is skin-dependent

open forum file templates/subSilver/overall_header.tpl

Remove all the following code: (around 230):