Cannot auto-subscribe new users to Newsletter

Created on 20 February 2024, 11 months ago
Updated 19 March 2024, 10 months ago

Problem/Motivation

Hello. I have the following install:

Drupal Core 10.2.3
SimpleNews 4.0.0-rc1
PHP8.2

I've just started looking at SimpleNews and have created a newsletter that I want all users of Drupal to be automatically subscribed to. However, within Edit Newsletter, I've tried all variations of Subscribe new account "Default on" or "Silent", and Access "Default" and "Hidden", and no combination of these options will automatically subscribe a newly-registered user to the newsletter. It looks simple and straightforward but I cannot get it to work.

The only thing that I can guess might be causing the issue is the fact that we use the Drupal LDAP modules to create the Drupal user when they first login.

πŸ’¬ Support request
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΈπŸ‡¦Saudi Arabia ishore

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ishore
  • πŸ‡¬πŸ‡§United Kingdom adamps

    The only thing that I can guess might be causing the issue is the fact that we use the Drupal LDAP modules to create the Drupal user when they first login.

    Aha then I believe this is the cause. The setting only works on the user registration page, please see the description for the 'Subscribe new account' setting:

    'None: This newsletter is not listed on the user registration page.
    Default on: This newsletter is listed on the user registion page and is selected by default.
    Default off: This newsletter is listed on the user registion page and is not selected by default.
    Silent: A new user is automatically subscribed to this newsletter. The newsletter is not listed on the user registration page.'

  • πŸ‡ΈπŸ‡¦Saudi Arabia ishore

    If this is the case, then I upvote for #3236464, as this will hopefully be a solution to our issue.

  • Status changed to Fixed 11 months ago
  • πŸ‡¬πŸ‡§United Kingdom adamps
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024