Forums / All Other Contributions/Addons / Bulletin Board Integration [Support Thread]

Bulletin Board Integration [Support Thread]

Results 1 to 20 of 51
14 Jan 2013, 21:23
#1
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Bulletin Board Integration [Support Thread]

This support thread applies to a series of plugins:

1) A replacement for the core Zen Cart phpbb class plugin, making it possible for other bulletin-boards to be more easily bridged from Zen Cart.
2) An implementation, using the above plugin, to implement the phpBB bridge (see http://www.zen-cart.com/showthread.php?204139-account_edit-Duplicate-phpbb-email-addresses-allowed for details).

I'll be submitting the "base" followed by the phpBB implementation shortly.
19 Jan 2013, 16:55
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

These two plugins are now available for download:

1) Bulletin Board Integration via Notifier Hooks: http://www.zen-cart.com/downloads.php?do=file&id=1597
2) phpBB Integration via Notifier Hooks: http://www.zen-cart.com/downloads.php?do=file&id=1598

Please note that the Bulletin Board Integration plugin is a pre-requisite for the phpBB plugin.
22 Jan 2013, 13:13
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

Hulamac asked, in the thread that spawned these plugins, "... i noticed as quoted above that this would be only for version 1.5.1 how different would this be for 1.5.0, because of the addons im using i have to use 1.5 still would the resulting changes be similar or how could i figure out have to integrate this with my current install?"

Although I've only tested these plugins using v1.5.1, the overall concept should work on v1.5.0 ... with one very important change. In the zc_bb (the base Bulletin Board) plugin, you'll need to edit the file /includes/auto_loaders/overrides/config.core.php, starting at line 74. Find the following lines and either remove them or comment them out:
/*
$autoLoadConfig[0][] = array('autoType'=>'class',
                               'loadFile'=>'query_cache.php');

  $autoLoadConfig[0][] = array('autoType'=>'classInstantiate',
                               'className'=>'QueryCache',
                               'objectName'=>'queryCache',
                               'checkInstantiated'=>true);
*/                                


Please note that I :censored: mistakenly included the file /includes/auto_loaders/config.core.php, a core-file overwrite. This file is not needed (it's a copy of the file in the associated /overrides directory) and will be removed in the next release.
30 Jan 2013, 20:52
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

I've just submitted the Simple Machines Forum (SMF) bridge to the Zen Cart plugins.

When approved, it will provide the same level of integration as its phpBB sibling

phpBB bridge plugin: http://www.zen-cart.com/downloads.php?do=file&id=1598
SMF bridge plugin: http://www.zen-cart.com/downloads.php?do=file&id=1608

Both plugins require the installation of a prerequisite plugin:
Bulletin Board Integration via Notifier Hooks: http://www.zen-cart.com/downloads.php?do=file&id=1597
30 Jan 2013, 21:07
#5
jlizotte avatar

jlizotte

New Zenner

Join Date:
Feb 2012
Posts:
58
Plugin Contributions:
0

Re: Bulletin Board Integration [Support Thread]

You rock, lat. Thank you very much for your work on these!
30 Jan 2013, 21:45
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

jlizotte:

You rock, lat. Thank you very much for your work on these!

Thanks for the compliment; it's a learning experience and enables more Zen Cart functionality!
07 Feb 2013, 13:03
#7
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

picandnix:

... I have also installed phpBB notifier hook mod to the same test store, all works well thank you as new customers do generate forum accounts too as per your design.

My question, is it possible to offer the nick name field as optional rather than required, as I'm sure that not all customers will want to join the store's forum by default.
Thank you.

There are two trails to choose from to implement this behavior. The change must be made to the base Bulletin Board Integration plugin. If the setting Configuration->Minimum Values->Nick Name is set to 0, either:
  1. Create the bulletin-board account only if the customer has entered a Nick Name value. In this case, the customer's Nick Name value (if non-blank) will be displayed, but not changeable, on their account_edit page.
  2. Always create a bulletin-board account, using a randomly-created Nick Name value if the customer has not entered one. Another customer-table field is added to indicate whether or not the Nick Name was "system-generated". The (unchangeable) Nick Name value will be displayed on the account_edit page only if the Nick Name value was not "system-generated".

Although it's a bit more complicated, I'm leaning towards #2 because it gives the shop-owner the future flexibility to (albeit via phpMyAdmin) to link the accounts by changing the Nick Name in both the Zen Cart and bulletin-board databases if a customer changes their mind and decides that they'd like a linked bulletin-board account. I'm quite open to suggestions and opinions ...
21 Feb 2013, 16:13
#8
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

lat9:

There are two trails to choose from to implement this behavior. The change must be made to the base Bulletin Board Integration plugin. If the setting Configuration->Minimum Values->Nick Name is set to 0, either:
  1. Create the bulletin-board account only if the customer has entered a Nick Name value. In this case, the customer's Nick Name value (if non-blank) will be displayed, but not changeable, on their account_edit page.
  2. Always create a bulletin-board account, using a randomly-created Nick Name value if the customer has not entered one. Another customer-table field is added to indicate whether or not the Nick Name was "system-generated". The (unchangeable) Nick Name value will be displayed on the account_edit page only if the Nick Name value was not "system-generated".

Although it's a bit more complicated, I'm leaning towards #2 because it gives the shop-owner the future flexibility to (albeit via phpMyAdmin) to link the accounts by changing the Nick Name in both the Zen Cart and bulletin-board databases if a customer changes their mind and decides that they'd like a linked bulletin-board account. I'm quite open to suggestions and opinions ...

I've submitted v1.2.0 of the base and the phpBB interfaces to support an optional "Nick Name" using approach #1. If your Zen Cart admin's Minimum Values->Nick Name is set to 0, the Nick Name value is now and optional field for customer registration.
27 Feb 2013, 13:24
#9
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

v1.1.0 of the Simple Machines Forum ® Integration has been submitted to the Plugins area. When used in conjunction with v1.2.0 of the base bulletin-board integration class, the class will load and operate with an optional (i.e. Minimum Values->Nick Name set to 0) Nick Name field.
29 Nov 2013, 14:02
#10
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

v1.3.0 of this common base was just submitted to the Plugins area to include a couple of downwardly-compatible changes introduced in Zen Cart v1.5.2.
09 Dec 2013, 19:52
#11
crc88 avatar

crc88

New Zenner

Join Date:
Dec 2013
Posts:
2
Plugin Contributions:
0

Re: Bulletin Board Integration [Support Thread]

Hello Lat9

Can you please look at my checklist and see what I missed, I cannot get the new zen cart user to show up as a registration in the forum
• Zen Cart (v1.5.1) installed and working.
• phpBB (v3.0.11) installed and working, installed within my Zen Cart installation.
• The Zen Cart®/Bulletin Board Integration via Notifier Hooks plugin installed in the Zen Cart installation.
• Changed “YOUR-TEMPLATE” to my theme folder name in the above plugin
• Configuration->My Store->Enable phpBB linkage? is set to true.
• Nickname min value set to 3
• Email min values set to greater than 0
• Password min value set to greater than 0
• In the forum admin change nick name and re-use email set to no
• Zen config file set to define('DIR_WS_PHPBB', './forum/'); (phpBB is in the “forum” folder directly inside my zen cart installation)

I made sure the email doesn’t already exist in the forum
I am prompted for a nick name in the zen cart registration
However the new user does not show up in phpBB
I have tried with the phpBB DB as a separate database and as a db operating within the zencart DB.

I hope you can see what I am missing, sorry to be a bother I have tried to provide as much info as possible
09 Dec 2013, 20:18
#12
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

crc88:

Hello Lat9

Can you please look at my checklist and see what I missed, I cannot get the new zen cart user to show up as a registration in the forum
• Zen Cart (v1.5.1) installed and working.
• phpBB (v3.0.11) installed and working, installed within my Zen Cart installation.
• The Zen Cart®/Bulletin Board Integration via Notifier Hooks plugin installed in the Zen Cart installation.
• Changed “YOUR-TEMPLATE” to my theme folder name in the above plugin
• Configuration->My Store->Enable phpBB linkage? is set to true.
• Nickname min value set to 3
• Email min values set to greater than 0
• Password min value set to greater than 0
• In the forum admin change nick name and re-use email set to no
• Zen config file set to define('DIR_WS_PHPBB', './forum/'); (phpBB is in the “forum” folder directly inside my zen cart installation)

I made sure the email doesn’t already exist in the forum
I am prompted for a nick name in the zen cart registration
However the new user does not show up in phpBB
I have tried with the phpBB DB as a separate database and as a db operating within the zencart DB.

I hope you can see what I am missing, sorry to be a bother I have tried to provide as much info as possible

Use
define('DIR_WS_PHPBB', 'forum/');
09 Dec 2013, 20:28
#13
crc88 avatar

crc88

New Zenner

Join Date:
Dec 2013
Posts:
2
Plugin Contributions:
0

Re: Bulletin Board Integration [Support Thread]

thanks!
a file was missing from my upload, sorry.
Jody
18 Apr 2014, 10:53
#14
garabaldi avatar

garabaldi

New Zenner

Join Date:
Nov 2013
Posts:
25
Plugin Contributions:
0

Re: Bulletin Board Integration [Support Thread]

i have added the 2 files to my store and have it set up.
i am using 1.5.1 and have both configure files with "define('DIR_WS_PHPBB', 'forum/');"

i can see the forum link in the information block, the forum nickname shows in create account too. when i create a new account to test the forum account is not being made and i cannot work out why.

any help or advice will be gratefully received.
18 Apr 2014, 13:33
#15
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

garabaldi:

i have added the 2 files to my store and have it set up.
i am using 1.5.1 and have both configure files with "define('DIR_WS_PHPBB', 'forum/');"

i can see the forum link in the information block, the forum nickname shows in create account too. when i create a new account to test the forum account is not being made and i cannot work out why.

any help or advice will be gratefully received.

Did you also download and install the base code (http://www.zen-cart.com/downloads.php?do=file&id=1597)? The phpBB integration won't work without the base also being installed.
18 Apr 2014, 18:35
#16
garabaldi avatar

garabaldi

New Zenner

Join Date:
Nov 2013
Posts:
25
Plugin Contributions:
0

Re: Bulletin Board Integration [Support Thread]

i have now..

thank you :D
18 Apr 2014, 18:45
#17
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

You're very welcome.
22 Apr 2014, 16:08
#18
garabaldi avatar

garabaldi

New Zenner

Join Date:
Nov 2013
Posts:
25
Plugin Contributions:
0

Re: Bulletin Board Integration [Support Thread]

is there a way to make the zencart login auto login to forum too?

thanks
22 Apr 2014, 18:17
#19
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

garabaldi:

is there a way to make the zencart login auto login to forum too?

thanks

I'm sure there is, but it would require custom coding.
14 Jul 2014, 12:25
#20
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Bulletin Board Integration [Support Thread]

Note: Since these plugins require a change to the /includes/auto_loaders/config.core.php for their proper operation and that file has changes in both Zen Cart v1.5.2 and v1.5.3, these plugins are not ready for either Zen Cart v1.5.2 or v1.5.3 until I've got an appropriate update.