PHPmotion Wiki : Smfbridge

HomePage :: Contents :: PageIndex :: Login/Register

Revision [402]

This is an old revision of Smfbridge made by InMotion on 2009-05-05 05:48:38.
 

Installing Video Embedder Power Tool


SMF Bridge


Back to Installation



Before you begin


Before you start installing the SMF Forum(tm) Bridge make sure you have done the following

- Ordered and received our copy of the license file
- You have received a copy of the installation files (sent along with your license file)



General Instructions


Before you install the bridge, you need to decide which of these two categories your site falls into:

  1. A site with existing members and videos
  2. A new site with NO members or videos

The setup Instruction that follow are the same for both EXCEPT for one additional step (for a site with members) that is given at the end of these instructions


Unpacking the Files

  • Unzip the downloaded file onto your computer. You will now have a folder called smf_mod_files
  • Inside that folder will be 2 further zip files. no_video_members and video_members Delete the one that does not apply to you.
  • Unzip the remain one from the set above.
  • Depending on which you have chose, you will now have on your local computer
    1. /smf_mod_files/no_video_members
    2. /smf_mod_files/video_members


  • Installing SMF Forum

    If you already have installed your forum before receiving these files, make sure that the above was done, or this smf integration may not run.

  • The first step is to install the actual SMF Forum sofwtare (not to be confused with the SMF Bridge which is when you received from PHPmotion)
  • Download the Forum from SMF website http://download.simplemachines.org/
  • You MUST install version 1.18 which is what our Bridge has been tested on
  • Upload the SMF Forum files into a folder in your website names forum
  • In your web broswer, open the example url (http://www.yourdomain.com/forum/install.php)
    1. Make sure you use the same database as main PHPmotion site
    2. Do not change the default "smf_" database prefix.
    3. Select utf-8 database option.




  • Forum Settings


    Once the forum installation is complete, login to the forum and do the following

    PHPMotion V2 Users (using the Default PHPmotion Theme)


    Note:
    If you have purchased a custom smf theme from http://www.phpmotiontemplates.com the same steps above apply, expect you will be installing the theme your own theme





    Completing The installation


    Upload SMF Bridge Files
    You must now upload the following files that where provided with the smf bridge into your site. Upload them into the respective locations in your FTP

    Files on your computer FTP Destination
    /classes /classes
    /phpmotion_template/templates /templates
    /phpmotion_template/images /images
    /phpmotion_template/css /css
    /forum/smf_bridge.inc.php /forum


    Edite SMF Forum (index.php) file
    Download the SMF Forum index file from your FTP /forum/index.php. Edit it as follows
    INSTRUCTION: Look for this line
    -------------------------------
    
    require_once(dirname(__FILE__) . '/Settings.php');
    
    
    INSTRUCTION: Add just below it the following code
    -------------------------------------------------
    
    //////////////////////////////////////////////////////////////
    // load some extra function for the smf integration
    require_once(dirname(__FILE__) . '/smf_bridge.inc.php');
    //////////////////////////////////////////////////////////////




    For PHPmotion Sites that already have members (as discusses at the top of this page)











    Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
    Page was generated in 0.0512 seconds