Register module customs fields - Newsletter registration

BoatOwner

Joined: 2006-12-25
Posts: 1
Posted: Mon, 2006-12-25 07:10

Hi and Merry Christmas.

I've been installing and customizing gallery2 and adding modules over the past few days and I'm quite happy so far.

I installed the "register" module and would like to add a few custom fields and send out that info in the email that the admin receives of new user registration.

I want to do this so that when a user registers for my Gallery they can also chose if they would like to sign up to my newsletter.

I have been able to add text and checkboxes for signing up to the news letter into the UserSelfRegistration.tpl file - i just haven't been able to figure out how to mail out this information like the module does with the email, username, and full name.

I haven't been able to figure out how to do this simply because of my limited coding knowledge - I know how to make a standalone form send information to an email address or database but I haven't been able to figure out where in the register module this happens or how to add code to include the new fields in the email so any help to make this happens will be greatly appreciated.

I think this might be a wicked option to add to the register module (being able to chose "i want to register to the newsletter")

 
SoftDux
SoftDux's picture

Joined: 2007-03-27
Posts: 56
Posted: Sat, 2007-04-07 22:03

Hi

I'm just checking in to see if you have been able to figure this out yet?

--
South African Webhosting & Domain Registrations
Website: http://www.SoftDux.com
Forum: http://Forum.SoftDux.com

 
levindenboer

Joined: 2007-06-22
Posts: 7
Posted: Fri, 2007-06-22 12:18

I would like to have a Newsletter module also. So you can send your users e html mail with the new pictures in your Gallery2 with some news.

 
skunker

Joined: 2005-02-04
Posts: 344
Posted: Sun, 2007-10-28 01:27

Does anyone have a solution for this? I too need this.

 
djpumpkin

Joined: 2006-12-06
Posts: 135
Posted: Sun, 2007-10-28 13:12

I think this would be a great feature to have. At the moment we have no way of mailing users or, perhaps more importantly, specific groups of users.

 
serbanc

Joined: 2006-05-19
Posts: 314
Posted: Mon, 2007-10-29 16:43

just developed a module for extra user fields.
check on http://www.e-poze.ro/g2mods/userdata.tgz
there are some mods for members module to display this info.

serbanc - www.e-poze.ro

 
skunker

Joined: 2005-02-04
Posts: 344
Posted: Mon, 2007-10-29 17:42

serbanc,
Thanks for working on this. I am a newbie, so I have no idea how to use TGZ files. Also, how exactly do we install this and what other mods do we need to make this work?

 
serbanc

Joined: 2006-05-19
Posts: 314
Posted: Mon, 2007-10-29 21:42

TGZ files are TAR+Gzip archives. like ZIP for windows.
A modern archiver should be able to open TGZ.

You should install the module as any other module on G2 :)

now, assuming that you installed it, configured it, one way for the others to see those extra details is to put them aside basic details in the members module. To do that, you need to modify the files (or to use some plugins, but I am not that advanced :( ). So, members.tgz is the members module modified to display this extra info.

Enjoy!
serbanc - www.e-poze.ro

 
levindenboer

Joined: 2007-06-22
Posts: 7
Posted: Wed, 2008-04-16 19:23

Is there now a module that provides a Newsletter for the members in your Gallery2?

 
serbanc

Joined: 2006-05-19
Posts: 314
Posted: Fri, 2008-04-18 08:18

nope.
I am using a shell script to send newsletters (very simple, basic)
serbanc - www.e-poze.ro