Page 1 of 17 12311 ... LastLast
Results 1 to 10 of 169
  1. #1
    Join Date
    Jan 2004
    Posts
    64,748
    Blog Entries
    6
    Plugin Contributions
    74

    Default Configuring Zen To Work With Phpbb

    How to configure Zen Cart to work with phpBB AFTER installing Zen Cart

    1. We will assume that you have v1.2.1 or higher of Zen Cart installed already, and that you did NOT choose to integrate with phpBB during the Zen Cart installation.

    2. Install phpBB and test that it works properly. For ease of configuration, it's recommended to install phpBB to the root of your server, perhaps like this:
    'http://mysite.com/forums
    or
    'http://mysite.com/phpbb

    3. Edit the /includes/configure.php file for Zen Cart and enter the path to your phpBB folder on this line:
    Code:
      define('DIR_WS_PHPBB', '/phpBB2/');
    It NEEDS to be the full exact path to your forum folder, including the /var/www/client/public_html/ ... or whatever it is on your server ... look at your DIR_FS_CATALOG for a good hint... ... then adjust by adding your phpBB or forum or whatever to that, or maybe it's in a different folder...

    Be sure to include the / on the end.

    4. In Zen Cart's Admin area, go to Configuration, My Store, and set "Enable phpBB Linkage?" to TRUE

    Now any new users created will be asked to select a forum username during signup.


    NOTE: The above details do NOT include instructions on how to assign/edit phpBB account info for existing customers.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default

    Originally posted by DrByte@Feb 7 2005, 03:44 PM
    NOTE: The above details do NOT include instructions on how to assign/edit phpBB account info for existing customers.
    Cool.

    Now anyone have advice on how to set up existing ZenCart accounts with phpBB accounts?

    Woody

  3. #3
    Join Date
    Apr 2005
    Posts
    9
    Plugin Contributions
    0

    Default

    Newbie question time - does it work only with phpbb or will it also intergrate with CMS's based on phpbb?,

  4. #4
    Join Date
    Jan 2004
    Posts
    64,748
    Blog Entries
    6
    Plugin Contributions
    74

    Default

    Originally posted by Drac0@Apr 15 2005, 04:02 AM
    Newbie question time - does it work only with phpbb or will it also intergrate with CMS's based on phpbb?,
    It will work with a phpBB system that has not made any changes to its security components. ie: password encryption methods are the same, and database structure for members (users, groups, etc) are the same.

    ("same" meaning ... same as original phpBB)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Apr 2005
    Posts
    115
    Plugin Contributions
    0

    Default

    Hmmmm. added the phpbb as instructed, but I do not see in zen where there is a link to the forum? Plus when I make a new user there is no choice to register for the forum. Running zen 1.2.2

    I tried both '/forum/' in the configure file and '/www/forum/' which is the longer address.

    suggestions?
    Eric S.

  6. #6
    Join Date
    Jun 2003
    Posts
    33,804
    Plugin Contributions
    0

    Default

    Admin> Configuration> My Store> Enable phpBB Forum
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Jan 2004
    Posts
    64,748
    Blog Entries
    6
    Plugin Contributions
    74

    Default

    The setting for DIR_WS_PHPBB is used like this:

    Zen Cart attempts to locate a file called "config.php" in the path set for DIR_WS_PHPBB.

    So, if you have your forum in the folder "/phpBB", and "/phpBB" is a subdirectory of "/home/users/billy123/public_html", then you need to put this into DIR_WS_PHPBB:

    Code:
    define('DIR_WS_PHPBB','/home/users/billy123/public_html/forum');
    In "some" server environments, simply specifying '/forum' is enough, but not always.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Mar 2005
    Posts
    84
    Plugin Contributions
    0

    Default

    ok I have done everything that this has said and still nothing. what now?

  9. #9
    Join Date
    Jan 2004
    Posts
    64,748
    Blog Entries
    6
    Plugin Contributions
    74

    Default

    Originally posted by alliwire@Apr 27 2005, 11:54 PM
    ok I have done everything that this has said and still nothing. what now?
    1. What path is your phpBB "config.php" file located in?
    2. Post your /includes/configure.php file here, without your database password.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Mar 2005
    Posts
    84
    Plugin Contributions
    0

    Default

    Code:
    <?php
    //
    // +----------------------------------------------------------------------+
    // |Zen Cart Open Source E-commerce                    |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2004 The Zen Cart developers              |
    // |                                   |
    // | http://www.zen-cart.com/index.php                  |
    // |                                   |
    // | Portions Copyright (c) 2003 osCommerce                |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license,    |
    // | that is bundled with this package in the file LICENSE, and is    |
    // | available through the world-wide-web at the following url:      |
    // | http://www.zen-cart.com/license/2_0.txt.               |
    // | If you did not receive a copy of the Zen Cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to    |
    // | license AT zen-cart DOT com so we can mail you a copy immediately.     |
    // +----------------------------------------------------------------------+
    //
    
    // Define the webserver and path parameters
     // Main webserver: eg, http://localhost - should not be empty for productive servers
     define('HTTP_SERVER', 'http://www.alliwire.com');
     // Secure webserver: eg, https://localhost - should not be empty for productive servers
     define('HTTPS_SERVER', 'https://www.alliwire.com');
     // secure webserver for checkout procedure?
     define('ENABLE_SSL', 'false');
    
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
     // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
     define('DIR_WS_CATALOG', '/');
     define('DIR_WS_HTTPS_CATALOG', '/');
    
     define('DIR_WS_IMAGES', 'images/');
     define('DIR_WS_INCLUDES', 'includes/');
     define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
     define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
     define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
     define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
     define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
     define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
     define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
     define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
    
     define('DIR_WS_PHPBB', '/phpBB2/');
    
    // * DIR_FS_* = Filesystem directories (local/physical)
     //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
     define('DIR_FS_CATALOG', '/var/www/html/');
    
     define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
     define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
     define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
     define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
     define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    
    // define our database connection
     define('DB_TYPE', 'mysql');
     define('DB_PREFIX', '');
     define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
     define('DB_SERVER_USERNAME', 'NONYA');
     define('DB_SERVER_PASSWORD', 'NONYA');
     define('DB_DATABASE', 'NONYA');
     define('USE_PCONNECT', 'false'); // use persistent connections?
     define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'
    
     // The next 2 "defines" are for SQL cache support.
     // For SQL_CACHE_METHOD, you can select from: none, database, or file
     // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
     // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
     // ie: /path/to/your/webspace/public_html/zen/cache  -- leave no trailing slash 
     define('SQL_CACHE_METHOD', 'file'); 
     define('DIR_FS_SQL_CACHE', '/var/www/html/cache');
    
    ?>
    It's located at /var/www/html/includes/config.php

 

 
Page 1 of 17 12311 ... LastLast

Similar Threads

  1. Problems from Configuring to Work with new domain
    By reachesfar in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 23 May 2012, 01:26 PM
  2. phpBB issues Zen v1.3.9h with phpBB 2.0.23
    By stevefriedman71 in forum General Questions
    Replies: 11
    Last Post: 8 May 2011, 10:02 PM
  3. configure Zen Cart to work with phpBB problems?
    By XiaoChin in forum General Questions
    Replies: 4
    Last Post: 9 Apr 2010, 05:25 AM
  4. Need help configuring phpBB
    By defkiss in forum General Questions
    Replies: 9
    Last Post: 5 Aug 2007, 05:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR