Forums / Extensions / eZ Newsletter / Suscrible a lot of existing users from eZ Publish.

Suscrible a lot of existing users from eZ Publish.

Author Message

Cuony Maximilien

Tuesday 07 August 2007 8:05:33 am

Hello,

Is there a way to subscribe many user already existing into eZ Publish at a subscription list ? It's possible to make this one by one with 'eZ Publish user/Select', but it's too long ;).

Thanks for the answer.

Tobias Struckmeier

Tuesday 07 August 2007 11:57:25 pm

Hi Cuony,

there is no automated way to do that.
Also it might be difficult to automatical decide which users should be added to the list as long as you don't subscribe a whole subtree of users to one list.

But back to your problem. Currently the only way you have is doing it with a small import script. A second way could be to use the import functionality with a CSV file and make the relation between the existing users and the imported users then on SQL level.

Bye
Tobias

Cuony Maximilien

Wednesday 08 August 2007 12:12:39 am

Hi,

Thanks for the quick answer, that what I thinked but I wanted to be sure.

Regards,

Tobias Struckmeier

Wednesday 08 August 2007 12:51:20 am

What we could do is maybe, that we enchance eZ Newsletter to automatically make the relation, once a user registers (also affects the import) with the same email address as an ez publish user. But you still need to export your users once to csv.

Cuony Maximilien

Wednesday 08 August 2007 1:57:39 am

Mmm, yes, it's intressting, especially if the user resgisted himself, widout be logged.

J Jones

Thursday 09 August 2007 11:25:07 am

Hi Tobias,

This is exactly what we would need too.

We just installed ezNewsletter as an integrated part of our EZ 3.9 setup.

We have a user group with a couple of hundred members that we want to send e-mails to.

Even though we could export the users to a csv and import them into EzNewsletter, we need some automation-task so when a new user has been approved by an administrator he/she will automatically also be included in the e-mail subscription list.

Since the database table-setup are different I guess there is no way to "tell" ezNewsletter to "choose" a custom user group with a specific classID from another table, rather than a subscription list?

Also, besides sending newsletters to this group on a regular basis (which the component seems very well suited for!) we want to send them an invitation letter with their username and password included. How can this be done?

I notice a password field in the table ezsubscriptionuserdata but which is empty for the imported ezusers and a hash string which is different from the one in the ezuser-table.

Thanks a lot in advance,

Jesper