Forums / Extensions / eZ Newsletter / Subscription of registered users

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Subscription of registered users

Author Message

Nicolas Lescure

Monday 29 October 2007 3:43:48 am

Hi,

I created a subscription list with "auto confirm registered users" and "auto approve registered users" off.

But it seems this behaviour is not supported.

In the file register_subscription.php, when the user is not anonymous, the function called for subscription is "$subscriptionList->registerUser()". This function automatically confirm the user.

Is it normal ?

So, to do what I expected, I add in register_subscription.php at line 80 :

if ( $user && $subscriptionList->attribute( 'auto_confirm_registered' ) )

instead of

if ( $user )

It seems to work fine. <b>BUT</b> you need to override "register_subscription.tpl" and change all the <i>disabled="disabled"</i> in <i>readonly="readonly"</i>.