Contributions
phpBB-osCommerce Bridge
This mod acts as a bridge between phpBB and osCommerce. It includes the following features:
- Shared account creation. Accounts created in osCommerce are mirrored in phpBB.
- Shared login/logoff. Users who log into the shopping cart are also logged into phpBB. Logging off from phpBB or osCommerce logs you out of both systems. phpBB login is standardized to e-mail address + password combination like osCommerce. Logging into phpBB does NOT log you into osCommerce: this keeps users who are only signing in to post from signing into the shopping cart unaware, putting their personal information at risk should they forget to log off. Shopping carts should always require people to re-enter their password before signing into the cart area, and this emulates that behaviour.
- Usernames are created using first name + last initial. Most people don't want their last names publicized without their explicit authorization, for privacy and security reasons. Instead, this mod creates the usernames only using the last initial.
- Prevention of username collision with first name + last initial + sequential number. This mod counts how many usernames already exist similar to the first name + last initial combination (gabrielk) and automatically appends the next number to the username (gabrielk2, gabrielk3, etc) to ensure 2 users don't end up with the same auto-generated username.
- Site Name is keyed to Store Name. Editing the Store Name from the osCommerce administration panel updates your phpBB Site Name as well.
- Board Description is keyed to a new Store Slogan field. Editing the Store Slogan from the osCommerce administration panel updates your phpBB Board Description as well.
- Board E-mail is keyed to Store E-mail. Editing the Store E-Mail from the osCommerce administration panel updates your phpBB Board E-mail as well.
This mod has been tested with a clean insteall of phpBB 2.0.21 and a heavily modded install of osCommerce MS2. It is recommended to install phpBB into a subdirectory of /catalog/ and to use the same database as osCommerce for your tables.The goal of this mod is to incorporate the majority of the "bridge" functions into osCommerce, allowing simpler phpBB updates, greater security, and better reliability.
Based on:
phpBB mods:
- Username Or Email Login Mod v.1.0.4
by Johnpg82
osCommerce mods:
- pbpBB2 and osC shared account creation v.0.2
by anderskiel
- PHPBB 2.0.8a implementation
by chaveiro
Expand All / Collapse All
Found a bug in installation instructions - missing instruction about adding include directive to create_account.php file. Leaded to fatal error "unknown function session_begin". Fixed.
## v1.3 2007/02/01
## - Fixed some bugs with tep_get_zone_name
## - Fixed a bug where you weren't logged into the forums when you created a
## new account. (Thanks CThomas!)
Support thread: http://forums.oscommerce.com/index.php?showtopic=240240
## v1.2 2006/12/26
## - Fixed character escaping on the SQL statement.
## - Clarified SQL instructions.
## - Added missing code to /catalog/login.php; it now properly logs users
## into the forums.
## v1.1 2006/12/03
## - Added a better admin login. (It actually works.)
## - Fixed an issue where numbers were not being appended to forum usernames.
## - Fixed some typos.
## - Clarified a few notes.
Thanks for the assistance of jls and mckooter!
Contribution support: http://forums.oscommerce.com/index.php?showtopic=240240
This mod acts as a bridge between phpBB and osCommerce. It includes the following features:
- Shared account creation. Accounts created in osCommerce are mirrored in phpBB.
- Shared login/logoff. Users who log into the shopping cart are also logged into phpBB. Logging off from phpBB or osCommerce logs you out of both systems. phpBB login is standardized to e-mail address + password combination like osCommerce. Logging into phpBB does NOT log you into osCommerce: this keeps users who are only signing in to post from signing into the shopping cart unaware, putting their personal information at risk should they forget to log off. Shopping carts should always require people to re-enter their password before signing into the cart area, and this emulates that behaviour.
- Usernames are created using first name + last initial. Most people don't want their last names publicized without their explicit authorization, for privacy and security reasons. Instead, this mod creates the usernames only using the last initial.
- Prevention of username collision with first name + last initial + sequential number. This mod counts how many usernames already exist similar to the first name + last initial combination (gabrielk) and automatically appends the next number to the username (gabrielk2, gabrielk3, etc) to ensure 2 users don't end up with the same auto-generated username.
- Site Name is keyed to Store Name. Editing the Store Name from the osCommerce administration panel updates your phpBB Site Name as well.
- Board Description is keyed to a new Store Slogan field. Editing the Store Slogan from the osCommerce administration panel updates your phpBB Board Description as well.
- Board E-mail is keyed to Store E-mail. Editing the Store E-Mail from the osCommerce administration panel updates your phpBB Board E-mail as well.
This mod has been tested with a clean insteall of phpBB 2.0.21 and a heavily modded install of osCommerce MS2. It is recommended to install phpBB into a subdirectory of /catalog/ and to use the same database as osCommerce for your tables.The goal of this mod is to incorporate the majority of the "bridge" functions into osCommerce, allowing simpler phpBB updates, greater security, and better reliability.
Based on:
phpBB mods:
- Username Or Email Login Mod v.1.0.4
by Johnpg82
osCommerce mods:
- pbpBB2 and osC shared account creation v.0.2
by anderskiel
- PHPBB 2.0.8a implementation
by chaveiro
Note: Contributions are used at own risk.