Email on birthday

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Get Involved
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Email on birthday

Post by Hartenheer »

I sought, not found

Is there an extension to automatically send an e-mail if one's birthday/
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 8073
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: Email on birthday

Post by Raul [ThE KuKa] »

It is possible on soon...
https://github.com/ForumHulp/emailonbirthday

Best regards.
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: Email on birthday

Post by Hartenheer »

Special thanks
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: Email on birthday

Post by Hartenheer »

I had this before, but did not work.

It says shift in html.
This does not work either.
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: Email on birthday

Post by John P »

What means shift in html?

The extension is for validating since July 3 2015
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 8073
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: Email on birthday

Post by Raul [ThE KuKa] »

John P, yes. Your extension is in the process of validation.

But Hartenheer he's right.

On ACP - Board Configuration - Board features

E-mail on your birthday: (Yes or No)
Send every member a birthday email on his / her birthday

Use html in email: (Yes or No) (Only possible with enabled extension forumhulp\htmlemail)
Send a html email instead of plain-text.

I think this option (Use html in email) should only be displayed if the extension is installed.
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: Email on birthday

Post by John P »

It's a point Raul although it's explained and not switchable unless the html extension is enabled.
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
User avatar
Galixte de EzCom
Registered User
Posts: 1090
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: Email on birthday

Post by Galixte de EzCom »

Hi,

the « HTML email » extension is here: https://github.com/ForumHulp/htmlemail.
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.2.x & 3.3.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
User avatar
Siava
Registered User
Posts: 145
Joined: Wed Jan 26, 2005 10:07 am
Contact:

Re: Email on birthday

Post by Siava »

John P wrote:The extension is for validating since July 3 2015
I have a problem with this extension.
After send birthday emails got error in cron (I'm using system cron):

Code: Select all

PHP Fatal error:  SQL ERROR [ mysqli ]<br /><br />Column 'user_id' cannot be null [1048]<br /><br />
......
in /.../forum/phpbb/db/driver/driver.php on line 855
and cron locks.

This piece of code caused the error:
/ext/forumhulp/emailonbirthday/cron/task/core/birthday.php

Code: Select all

				$userlist = array_map(function ($entry)
				{
					return $entry['name'];
				}, $msg_list);

				$this->log->add('admin', $this->user->data['user_id'], $this->user->data['session_ip'], 'BIRTHDAYSEND', false, array(implode(', ', $userlist)));

Code: Select all

PHP Fatal error:  SQL ERROR [ mysqli ]<br /><br />Column 'user_id' cannot be null [1048]<br /><br />SQL<br /><br />INSERT INTO phpbb_log  (user_id, log_ip, log_time, log_operation, log_type, log_data) VALUES (NULL, NULL, 1451772784, 'BIRTHDAYSEND', 0, ' ..... 
User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: Email on birthday

Post by John P »

Looks like system cron is running without a user.
Investigating...
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
User avatar
Siava
Registered User
Posts: 145
Joined: Wed Jan 26, 2005 10:07 am
Contact:

Re: Email on birthday

Post by Siava »

cron/task/core/birthday.php
find

Code: Select all

				$this->log->add('admin', $this->user->data['user_id'], $this->user->data['session_ip'], 'BIRTHDAYSEND', false, array(implode(', ', $userlist)));
replace with

Code: Select all

				$user_id = (empty($this->user->data)) ? ANONYMOUS : $this->user->data['user_id'];
				$user_ip = (empty($this->user->ip)) ? '' : $this->user->ip;
				$this->log->add('admin', $user_id, $user_ip, 'BIRTHDAYSEND', false, array(implode(', ', $userlist)));
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21302
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Email on birthday

Post by RMcGirr83 »

Anonymous is still a user of the forum (the guest user account).
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
cally6008
Registered User
Posts: 286
Joined: Wed Nov 26, 2008 10:18 pm

Re: Email on birthday

Post by cally6008 »

Does this work yet ? Has it been validated ?
User avatar
thejdm
Registered User
Posts: 438
Joined: Sun Dec 21, 2003 4:18 pm
Location: pennsylvania
Contact:

Re: Email on birthday

Post by thejdm »

Looking for an email on birthday and this is what came up. Tried the zip file from the gitHub link, uploaded as per directions and no luck. It doesn't show in the Extensions Manager to enable it in 3.2
www.thejdm.com ...turn it on, y0
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: Email on birthday

Post by Hartenheer »

For me it works perfectly 3. 2.
You just need to download the three extensions and activation
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
Post Reply

Return to “Extension Requests”