Jump to content

Community

Mike John

Birthday Greeter Support

Recommended Posts

I'm not quite sure what your after? Can you please clarify?

  • Smart quick tags allow you to send out birthday greetings with information such as Board Name, Member's Name and Age.

Share this post


Link to post
Share on other sites

 

  • Smart quick tags allow you to send out birthday greetings with information such as Board Name, Member's Name and Age.

The following tags are included: {member_name}, {age}, {suffix}, {birth_day}, {birth_month}, {birth_year}, {todays_date}, {board_name} and {birthday_list}.

Share this post


Link to post
Share on other sites
On 9/10/2015 4:40:03, TVplaneta said:

How I can change time to post PM and E-mail?

Please see this discussion about this here, tasks are run "daily" rather then a fixed time. If your willing to setup a cron job, that might be a solution to get a specific time though.

Share this post


Link to post
Share on other sites

Hi @Mike John We have recently set this up for posting a topic each day which is great & working well.

Yes, I had the problem of what time it posts, but have overcome that by manually running the task at the right time once, then, every day, it does it at the same time.

However, the problem I have is that our site is about 95% USA members and the title of the topic which is posted is in a format of yyyy-mm-dd and we would like it to be in the standard USA format of mm-dd-yyyy

Where can I change this?

Edited by Greg W

Share this post


Link to post
Share on other sites
On 15/11/2015, 2:23:42, Greg W said:

However, the problem I have is that our site is about 95% USA members and the title of the topic which is posted is in a format of yyyy-mm-dd and we would like it to be in the standard USA format of mm-dd-yyyy

Where can I change this?

I haven't tested it but I believe this should do the trick. Open applications/birthdaygreeter/sources/Alerts/Alerts.php

Find:

\IPS\DateTime::create()->format( 'Y-m-d' );

Replace With:

\IPS\DateTime::create()->localeDate();

I believe the local date should use the local date setting, if not change the format variables around to m-d-Y and I'll be sure to include this as a setting next version.

Share this post


Link to post
Share on other sites
8 minutes ago, Mike John said:

the local date setting, if not change the format variables around to m-d-Y and I'll be sure to include this as a setting next version.

You may have some issues with DateTime using hyphens vs slash (British vs American) and localeDate() - I know this is a huge problem when using date()/strtotime() as they will interpret based on the usage of hyphens or slash.

Just to keep in mind :p 

Share this post


Link to post
Share on other sites

Hmmm. I noticed that it stopped working this morning (no updates). So I went into settings to check is something was messed up. Now when I try to save, I get this error:

 

2016-01-21_11-26-12.thumb.jpg.bd177d5c89

Edited by Michael R

Share this post


Link to post
Share on other sites
10 hours ago, Michael R said:

Hmmm. I noticed that it stopped working this morning (no updates). So I went into settings to check is something was messed up. Now when I try to save, I get this error:

Next version due out within several days. Should patch the settings issue and will take a look at any possible reason why the alert wasn't sent out.

Share this post


Link to post
Share on other sites
8 hours ago, Mike John said:

Next version due out within several days. Should patch the settings issue and will take a look at any possible reason why the alert wasn't sent out.

:D Thanks!

Share this post


Link to post
Share on other sites

I'm having trouble reproducing the setting saving error locally. If someone who can reproduce can PM me forum login details to confirm my patch works?

I'm having trouble reproducing the setting saving error locally. If someone who can reproduce can PM me forum login details to confirm my patch works?

Share this post


Link to post
Share on other sites

Hello! I have yet to test the functionality of sending birthday greetings, but I noticed when selecting groups to exclude and saving, those groups are not re-selected after going back into the settings.

Share this post


Link to post
Share on other sites
12 hours ago, Lord Balandar said:

Hello! I have yet to test the functionality of sending birthday greetings, but I noticed when selecting groups to exclude and saving, those groups are not re-selected after going back into the settings.

Thanks for reporting, I've included a patch with the bug report if you wanted to patch this straight away. It should be saving the settings properly but just not displaying them in the settings page.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...