Email notification on SelfRegistration anothergroup action

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
nikkio
Forum Members
Forum Members
Posts: 63
Joined: Sun Jun 08, 2008 12:34 pm

Email notification on SelfRegistration anothergroup action

Post by nikkio »

Hi,

I need to send a notification email to the client, when a user add himself to another FEU group with Selfregistration module...

There is a way to achieve that?

Can you point me in the right direction?...

Any help is appreciated...

.nicola
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Email notification on SelfRegistration anothergroup acti

Post by Rolf »

Isnt that a default setting/feature in SelfRef?
If not, you can use a mail UDT and an event to trigger a mail

A mail UDT: http://docs.cmsmadesimple.org/general-i ... s#mail-udt Need to be changed for your purpose of course
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
nikkio
Forum Members
Forum Members
Posts: 63
Joined: Sun Jun 08, 2008 12:34 pm

Re: Email notification on SelfRegistration anothergroup acti

Post by nikkio »

Hi Rolf,

thank you for replying,

I've checked and the notification is sent when a new user complete the registration process, not when he register for a new group.

I was thinking also about a UDT triggered by an event... but which event?

I've found only "onNewUser" and "onUserRegistered" regarding selfreg...

.nicola
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Email notification on SelfRegistration anothergroup acti

Post by Rolf »

nikkio wrote:... not when he register for a new group.
I think this isnt a job for SelfReg, but for FEU. The user is already registrered and changes his account data in FEU. So you might check the events there... Not sure it is possible though.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
nikkio
Forum Members
Forum Members
Posts: 63
Joined: Sun Jun 08, 2008 12:34 pm

Re: Email notification on SelfRegistration anothergroup acti

Post by nikkio »

In SelfReg there is an action called "anothergroup" to add user to another group so i used this function.

I've found in the Another Group Template this if statement

Code: Select all

{if isset($final_message)}
...
{else}
...
{/if}
so i put the UDT call in this statement and it works :)

thank for the link to the UDT!

.nicola
Post Reply

Return to “Modules/Add-Ons”