[add-on] Birthday Mailings

3rd party code for phpList

Postby robpet » 3:45pm, Sun 01 Jun, 2008

Christian, I got your email, and promptly deleted it (by mistake). I have disabled the "are you sure" option in Outlook, so it's gone.

Can you resend to me? I'll see what I can do for you (with limited time resources - unless someone else is willing to come and help me clean my garage!).

For everyone else, I'll see what I can do about personalizing this and creating a report now that I understand PHP much better.

And for those that question whether or not this works, I'll give you a simple answer:


YES

:D
robpet
PL Nut
 
Posts: 23
Joined: 3:48am, Wed 25 Oct, 2006

Postby jimmy_b » 2:22pm, Sun 08 Jun, 2008

i am also very interested in this functionality - if anyone can help me do this please let me know! :D
jimmy_b
phpLister
 
Posts: 6
Joined: 2:19pm, Sun 08 Jun, 2008

Postby Hernol » 6:25pm, Tue 10 Jun, 2008

Hi there,

I did this long time ago, when this topic was opened. Did it for myself, for fun and then somebody asked for this. So here it's, just unzip it in your plugins directory and enable plugins in the config file.

Something might go wrong, so just let me know.

Download it here
Hernol
Admin
 
Posts: 1378
Joined: 6:39pm, Thu 18 May, 2006
Location: Argentina

Postby jimmy_b » 8:06pm, Tue 10 Jun, 2008

wow wow wow

you are amazing - i'm sure loads of others are waiting for this too!!

will report back on my findings! many thanks!

jim
jimmy_b
phpLister
 
Posts: 6
Joined: 2:19pm, Sun 08 Jun, 2008

Postby jimmy_b » 5:22pm, Sat 21 Jun, 2008

i have installed this is as a plugin, but it doesn't seem to work :cry: :cry: when I go to the plugin page, it half loads the page and then stops, no options or anything are displayed...

I am pretty new to plugins (they are enabled) but is there anything else I should be doing?

Cheers

Jim
jimmy_b
phpLister
 
Posts: 6
Joined: 2:19pm, Sun 08 Jun, 2008

Postby Hernol » 10:07pm, Sat 21 Jun, 2008

Yes, sorry, download it again.

That was an old version, with parse error, should be ok now.

First think to do is to create a date attribute called birthday, do this before using the plugin.


Sorry about that.
Hernol
Admin
 
Posts: 1378
Joined: 6:39pm, Thu 18 May, 2006
Location: Argentina

Postby jimmy_b » 11:49am, Sun 22 Jun, 2008

ah Hernol, excellent!

Now I see the page :D

But, I keep getting this message when running it - Birthday message 1 skipped for 3 users. :?

Is there something I am missing? "birthday" attribute is set and running (as a "date" select), all users have birthdays in the next 2-4 days, list is active etc....

Any help would be much appreciated! Thanks!
jimmy_b
phpLister
 
Posts: 6
Joined: 2:19pm, Sun 08 Jun, 2008

Postby Hernol » 6:10pm, Sun 22 Jun, 2008

Well, it won't send a birthday message twice in the same year... :D
Hernol
Admin
 
Posts: 1378
Joined: 6:39pm, Thu 18 May, 2006
Location: Argentina

Postby Hernol » 1:58am, Mon 23 Jun, 2008

Thanks for letting me know!

I have fixed it, try it out please.

Sorry if this is a pain, I did it but I haven't had any tests on it, so thanks for this.

Download it here
Hernol
Admin
 
Posts: 1378
Joined: 6:39pm, Thu 18 May, 2006
Location: Argentina

Postby jimmy_b » 6:17pm, Tue 24 Jun, 2008

Hey Hernol

The latest update worked - subscribers are getting Birthday mailings!

Just to let you know though, when the script is run it does throw back an error for each address it sends to :

Sorry a software error occurred:
Please report a bug when reporting the bug, please include URL and the entire content of this page.

Notice: Undefined index: signature in /home/public_html/members/admin/sendemaillib.php on line 262
phplist version 2.10.5


Other than that, its brilliant, thanks Hernol
jimmy_b
phpLister
 
Posts: 6
Joined: 2:19pm, Sun 08 Jun, 2008

Postby Hernol » 2:28pm, Thu 26 Jun, 2008

Jimmy,

Yes, you just have to edit the file admin/plugins/birthday/main.php and just delete this line
Code: Select all
error_reporting(63);


That's just to see the errors, and that error is a phplist warning, it isn't a plugin error.
Hernol
Admin
 
Posts: 1378
Joined: 6:39pm, Thu 18 May, 2006
Location: Argentina

Postby overnoise » 4:01pm, Thu 31 Jul, 2008

Hi Hernol! Many many thanks for this plugin!

I have two questions:
1)How to integrate this script with the usual cron we set for phplist?


2)I have many lists and I want to set the attribute birthday just on 1 list.
Is there a problem for the other lists withouit birthday attribute?
overnoise
phpList newbie
 
Posts: 1
Joined: 2:05pm, Mon 07 Jul, 2008

Postby jimmy_b » 4:37pm, Thu 06 Nov, 2008

at ajones request

http://www.zshare.net/download/50973900507b03c8

it needs the slight mod above made, i think, from memory...
jimmy_b
phpLister
 
Posts: 6
Joined: 2:19pm, Sun 08 Jun, 2008

Postby H2B2 » 5:41pm, Thu 06 Nov, 2008

Thanks for that DL link jimmy_b.

I have added the zip file to Mantis for continued public availability:
http://mantis.phplist.com/view.php?id=15187
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Postby J_S » 12:31pm, Fri 14 Nov, 2008

Thank you so much H2B2!
J_S
Admin
 
Posts: 674
Joined: 10:18pm, Fri 11 Apr, 2003

PreviousNext

Return to Contributions: Plug-ins, Add-ons, Mods

Who is online

Users browsing this forum: No registered users and 4 guests