Upcoming Birthday list

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: Upcoming Birthday list

Post by lefty74 » Wed Jul 15, 2009 5:51 pm

all4country wrote:I use PHPBB 3.0.5, Time: UTC+7, Upcoming_Birthdays_1_0_2 and prosilver templates but I have got this error:

Deprecated: mktime() [function.mktime]: The is_dst parameter is deprecated in D:\wamp\www\forum\includes\functions_upcbirthdays.php on line 41

Please help me!
looks like i need to look at this for >php5.1
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Lucky13ca
Registered User
Posts: 4
Joined: Fri Jul 17, 2009 3:19 pm

Upcoming in 7 days does not show

Post by Lucky13ca » Fri Jul 17, 2009 8:47 pm

Hi there,

I just installed your Mod and it works fine but the Text Upcoming birthdays in 7 days does not show.

It shows the person who has a birthday thats all.

prosilver template and no other mods.

luckyones.ca/phpBB3

Thanks
Last edited by Lucky13ca on Sat Jul 18, 2009 1:34 pm, edited 1 time in total.

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: Upcoming in 7 days does not show

Post by lefty74 » Fri Jul 17, 2009 9:29 pm

Lucky13ca wrote:Hi there,

I just installed your Mod and it works fine but the Text Upcoming birthdays in 7 days does not show.

It shows the person who has a birthday thats all.

prosilver template and no other mods.

luckyones.ca/phpBB3

Thanks
please check that you a. made the edit in language/en/common.php and b. upload the file to your server. if you have other language packs, en-us(not sure htat exists), you would need to update those too
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Lucky13ca
Registered User
Posts: 4
Joined: Fri Jul 17, 2009 3:19 pm

Re: Upcoming Birthday list

Post by Lucky13ca » Fri Jul 17, 2009 11:13 pm

Thank you very much, I did not realize I would have to do both en and en_us. That fixed the problem.
Last edited by Lucky13ca on Sat Jul 18, 2009 1:34 pm, edited 1 time in total.

all4country
Registered User
Posts: 11
Joined: Sun Dec 28, 2008 1:44 pm

Re: Upcoming Birthday list

Post by all4country » Sat Jul 18, 2009 9:42 am

lefty74 wrote:
all4country wrote:I use PHPBB 3.0.5, Time: UTC+7, Upcoming_Birthdays_1_0_2 and prosilver templates but I have got this error:

Deprecated: mktime() [function.mktime]: The is_dst parameter is deprecated in D:\wamp\www\forum\includes\functions_upcbirthdays.php on line 41

Please help me!
looks like i need to look at this for >php5.1
Yeah! I use PHP 5.3.0, please fix this!

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: Upcoming Birthday list

Post by lefty74 » Sat Jul 18, 2009 11:03 am

for now, open includes/functions_upcbirthdays.php

find

Code: Select all

    $today = (mktime(0, 0, 0, $now['mon'], $now['mday'], $now['year'], date('I')));
replace with

Code: Select all

    $today = (mktime(0, 0, 0, $now['mon'], $now['mday'], $now['year']));
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Dem0n_Hunter
Registered User
Posts: 103
Joined: Wed Aug 05, 2009 9:12 am

Re: Upcoming Birthday list

Post by Dem0n_Hunter » Sun Aug 16, 2009 8:10 pm

Hi, i don't know if this has been discussed before or not cuz I'm not planning on reading all the 20 page or so. just wanted to as if it's possible to add something like:

Code: Select all

There are no birthdays in the next 7 days.
when there are no birthdays. cuz mine doesn't show anything when there aren't any birthdays. thx

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: Upcoming Birthday list

Post by lefty74 » Sun Aug 16, 2009 11:05 pm

could you post your index.html bit of the birthday code please.
thanks
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Dem0n_Hunter
Registered User
Posts: 103
Joined: Wed Aug 05, 2009 9:12 am

Re: Upcoming Birthday list

Post by Dem0n_Hunter » Mon Aug 17, 2009 6:08 am

Code: Select all

// BEGIN MOD guests past 24 hours
if (!function_exists('obtain_guest_count_24'))
{
	include($phpbb_root_path . 'includes/functions_guests_24.' . $phpEx);
}
obtain_guest_count_24();
// END MOD guests past 24 hours
if (!function_exists('display_who_was_here'))
{
	include($phpbb_root_path . 'includes/functions_wwh.' . $phpEx);
}
display_who_was_here();
if ($config['load_birthdays'] && $config['allow_birthdays'] && ( $config['allow_birthdays_ahead'] > 0 ) )
{
	if(!function_exists('get_upcbirthdays'))
	{	
		include_once($phpbb_root_path . 'includes/functions_upcbirthdays.' . $phpEx);
	}
	get_upcbirthdays();
}
// Assign index specific vars
I posted a little extra just in case idk thx for the reply

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: Upcoming Birthday list

Post by lefty74 » Mon Aug 17, 2009 7:55 am

sorry, i meant index.html as in the template file.
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Dem0n_Hunter
Registered User
Posts: 103
Joined: Wed Aug 05, 2009 9:12 am

Re: Upcoming Birthday list

Post by Dem0n_Hunter » Mon Aug 17, 2009 8:26 am

I hope this is the right one

Code: Select all

<td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --><br /><!-- IF BIRTHDAYS_AHEAD_LIST -->{L_BIRTHDAYS_AHEAD}: <b>{BIRTHDAYS_AHEAD_LIST}</b><!-- ENDIF --></p></td>

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: Upcoming Birthday list

Post by lefty74 » Mon Aug 17, 2009 8:34 am

Dem0n_Hunter wrote:I hope this is the right one

Code: Select all

<td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --><br /><!-- IF BIRTHDAYS_AHEAD_LIST -->{L_BIRTHDAYS_AHEAD}: <b>{BIRTHDAYS_AHEAD_LIST}</b><!-- ENDIF --></p></td>

try this :

Code: Select all

<td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --><br /><!-- IF BIRTHDAYS_AHEAD_LIST -->{L_BIRTHDAYS_AHEAD}: <b>{BIRTHDAYS_AHEAD_LIST}</b><!-- ELSE -->No birthdays in the next 7 days<!-- ENDIF --></p></td>
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Dem0n_Hunter
Registered User
Posts: 103
Joined: Wed Aug 05, 2009 9:12 am

Re: Upcoming Birthday list

Post by Dem0n_Hunter » Tue Aug 18, 2009 12:45 am

Awesome. thx
It worked :D

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: Upcoming Birthday list

Post by stokerpiller » Wed Sep 09, 2009 10:28 pm

Thanks for this mod lefty.
I only have one small problem, the first user in the list doesnt show age.
Like: Users with a birthday within the next 7 days: Stoker, lefty74 (98), RMcGirr83 (13)
The user (Stoker) has birthday tomorrow and age is not displayed.
How can I fix this?

EDIT: The problem was that the user only had filled out day and month for his birthday, the year was not filled out.
So there is no problem ;)
I am done with phpBB

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: Upcoming Birthday list

Post by lefty74 » Thu Sep 10, 2009 9:27 pm

:) those are the best problems
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Locked

Return to “[3.0.x] MOD Database Releases”