[BETA] Birthday Extension for Topic Calendar

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Xiph3r
Registered User
Posts: 342
Joined: Sun Oct 27, 2002 8:21 pm
Location: the wired
Contact:

Post by Xiph3r »

how do i add this to the mini cal:) and btw the mod works and kicks ass
i3racer
Registered User
Posts: 6
Joined: Wed Nov 27, 2002 11:38 am

Post by i3racer »

yup, it works great!

same question: is it possible for this to work wif mincal?
User avatar
Vampy
Registered User
Posts: 140
Joined: Mon May 12, 2003 4:25 pm

Post by Vampy »

daniel33 wrote: From the technical side it's not so a big Problem.
But I think that most admins don't want that.

If you have +1000 registered Users you'll have about 3 birthdays a day. That are 3 topics/threads a day extra.

But let's hear what other people think.


Agreed but I was actually thinking of only generating at most 1 topic/thread each day for birthdays. I think this could be achieved by getting all the birthday alerts for that day and then printing it into the thread itself.
Julian
helluvaguy
Registered User
Posts: 155
Joined: Fri Sep 07, 2001 12:06 pm

Post by helluvaguy »

Any chance to put another line into this, so the overview window also displays " helluvaguy is turning XX today", where XX stands for the age.
EB 22
Registered User
Posts: 208
Joined: Fri Jun 13, 2003 7:53 pm

Post by EB 22 »

Great job.

I've been looking for something like this a long time. I'll install it tonight and posts thoughts or concerns.
EB 22
Registered User
Posts: 208
Joined: Fri Jun 13, 2003 7:53 pm

Post by EB 22 »

One question.

Everything works. The names appear on the calendar. How do I get it to see it's their birthday. Cause on the calendar, when it shows their names, it shows the topic as blank.

Is there any way to get it to say something about how it's their birthday?
helluvaguy
Registered User
Posts: 155
Joined: Fri Sep 07, 2001 12:06 pm

Post by helluvaguy »

Are you talking of the overview window? The one that pops up when you hover the mouse over the event?

If you followed this code it should display
Happy Birthday!

EB 22 has birthday today!
OlafOnline.nl
Registered User
Posts: 80
Joined: Mon Nov 25, 2002 10:38 pm

Post by OlafOnline.nl »

Looks nice.
EB 22
Registered User
Posts: 208
Joined: Fri Jun 13, 2003 7:53 pm

Post by EB 22 »

Thanks got it to work.

GREAT MOD!
MaltraiN
Registered User
Posts: 10
Joined: Sat Apr 03, 2004 1:54 am

Post by MaltraiN »

EB 22 wrote: Thanks got it to work.

GREAT MOD!
muriellelapuce
Registered User
Posts: 1
Joined: Mon May 24, 2004 3:37 pm

problème d'installation

Post by muriellelapuce »

voilà j'ai une erreur suite à l'install de ces mods
j'ai installé birthday 1.54 em et mod Topic_calendar v1.01 et j'ai voulu installé ce mod pour visualiser les anniversaires dans mon calendrier mais j'ai cette erreur
Parse error: parse error, unexpected T_STRING in c:\program files\easyphp1-7\www\language\lang_french\lang_extend_topic_calendar.php on line 64


mais dans mon fichier lang_extend_topic_calendar.php ça correspnod à la ligne en rouge
$lang['birthday_header'] = 'Joyeux anniversaire!';
$lang['birthday'] = '<b>%s</b> fete son anniversaire aujourd'hui!';

?>

je ne vois pas d'erreur
vous avez une idée de ce qui coince
CICarScene
Registered User
Posts: 176
Joined: Thu Apr 24, 2003 8:12 am
Contact:

Post by CICarScene »

Ptirhiik - RPGnet-fr wrote: Advice : add a new field to the users table, and translate once for all users the birthday date into a flat format (AAAAMMDD) : this has to be done on user editing and registering (usercp_register/admin_users), and you will have to write a little tool to initiate this fields for existing users (to run once, should be similar for a large part to the migration tool delivered with the PCP). This is the only way I figure to avoid a too high sql/php ressource consumption. Although it is a duplication of data, it will improve drasticely the process. You will also be able to use a copy of the today PCP process (the PCP stores its date onto AAAAMMJJ format).


has anyone done this for neils birthday mod?
User avatar
thedom
Registered User
Posts: 29
Joined: Fri Sep 17, 2004 11:13 pm
Contact:

Post by thedom »

Just perfect !!!
Thank you very much !!!
tfs
Registered User
Posts: 5
Joined: Fri Aug 13, 2004 6:28 pm

Re: problème d'installation

Post by tfs »

muriellelapuce wrote: voilà j'ai une erreur suite à l'install de ces mods
j'ai installé birthday 1.54 em et mod Topic_calendar v1.01 et j'ai voulu installé ce mod pour visualiser les anniversaires dans mon calendrier mais j'ai cette erreur
Parse error: parse error, unexpected T_STRING in c:\program files\easyphp1-7\www\language\lang_french\lang_extend_topic_calendar.php on line 64


mais dans mon fichier lang_extend_topic_calendar.php ça correspnod à la ligne en rouge
$lang['birthday_header'] = 'Joyeux anniversaire!';
$lang['birthday'] = '<b>%s</b> fete son anniversaire aujourd'hui!';

?>

je ne vois pas d'erreur
vous avez une idée de ce qui coince


Your error is the value of $lang['birthday'] which contains a quote ' in the word "aujourd'hui"
Escape it whit a slash : aujourd\'hui

It should be :

Code: Select all

$lang['birthday'] = '<b>%s</b> fete son anniversaire aujourd\'hui!';
Khai
Registered User
Posts: 42
Joined: Wed Aug 27, 2003 8:35 am
Location: The Netherlands
Contact:

Post by Khai »

Hi,

I've just installed Birthday Extention 0.9.6. And it works great!

BUT.........

Only the users who have their anniversary in December aren't displayed in the month December. All other users who have their birthday in January to November are displayed in the corresponding month.

I'm pretty sure I followed the code correctly. What could I have done wrong?

Thanks in advance,
Image
Post Reply

Return to “[2.0.x] MODs in Development”