Hi,
I am running a WordPress and phpBB pair of sites and their user lists are kept synchronised using the BridgeDD WP plugin which is working well.
New users are created in WP, and a new user is created programatically in phpBB by BridgeDD with the same username, email and password.
All good so far and this is working fine.
What's not quite perfect is that the newly created phpBB user is not given my chosen default for Digest frequency. The new user has Digests set to None (unsubscribe).
Does anyone else have my configuration and if so, do your sites work similarly?
@ Mark: do you think there is a reason why these programmatically created phpBB accounts are not picking up the Digests defauls. Users created "normally" using the phpBB interface do pick up the desired default.
Many thanks for your thoughts, David
defaults for externally created new users. - Digests
-
- Registered User
- Posts: 10
- Joined: Fri Oct 05, 2012 8:57 pm
Re: defaults for externally created new users.
You should be able to set the defaults for a digest and these should get saved for new users when they are created. This can include setting them up to receive a digest too.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA
Re: defaults for externally created new users.
Thanks for the reply Mark,
I agree with you that when phpBB user accounts are created internally within phpBB (for example using the "ACP add user" extension because our site doesn't permit user self-registration) the Digests defaults are correctly attributed. This is working fine.
My question relates to when a user account is created programatically by an external WP plugin - BridgeDD.
When these accounts are created, the Digests default frequency is not set.
In that scenario, what would BridgeDD have to do in order to trigger the setting of Digests defaults?
Many thanks, David.
I agree with you that when phpBB user accounts are created internally within phpBB (for example using the "ACP add user" extension because our site doesn't permit user self-registration) the Digests defaults are correctly attributed. This is working fine.
My question relates to when a user account is created programatically by an external WP plugin - BridgeDD.
When these accounts are created, the Digests default frequency is not set.
In that scenario, what would BridgeDD have to do in order to trigger the setting of Digests defaults?
Many thanks, David.
-
- Registered User
- Posts: 10
- Joined: Fri Oct 05, 2012 8:57 pm
Re: defaults for externally created new users.
ACP User Default Settings for digests allow you to select the type of default digest created: Daily, Weekly or Monthly. I suspect these would get set when Bridge DD creates a new row on the phpbb_users table. This should trigger the subscribe_digests_on_registration event in /
https://github.com/MarkDHamill/digests/ ... p#L72-L109
phpbbservices/digests/event/main_listener
. I haven't used Bridge DD but at some point it should execute some phpBB code and when it does it should trigger the event.https://github.com/MarkDHamill/digests/ ... p#L72-L109
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
-
- Registered User
- Posts: 4933
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Florence, MA USA