Page 1 of 6

Popup on Birthday

Posted: Thu Mar 13, 2008 10:43 pm
by Extensions Robot
Modification name: Popup on Birthday
Author: lefty74
Modification description: Makes a popup appear when a user logs in at their birthday or within 14 days of their birthday. Can be switched off in ACP
Modification version: 1.0.0
Tested on phpBB version: 3.0.0

Download file: Popup_on_birthday_1_0_0.zip
File size: 33902 Bytes

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Modifications Team may not be able to provide support.

-->Modification support<--

Popup on Birthday

Posted: Thu Mar 13, 2008 10:43 pm
by Paul
Modification validated/released

Notes:

Popup on Birthday

Posted: Thu Mar 13, 2008 10:43 pm
by lefty74
Demo Board: Demoboard
Demo Username: test
Demo Password: testtest

Screenshots:
Image

Re: Popup on Birthday

Posted: Fri Mar 14, 2008 7:29 am
by 319
What does popup info?

Re: Popup on Birthday

Posted: Fri Mar 14, 2008 11:17 am
by lefty74
I put a screenshot up for you.

Re: Popup on Birthday

Posted: Fri Mar 14, 2008 7:53 pm
by phpDummie
What a considerate MOD! ;)
I only hope it works with all the pop-up blockers or, if it doesn't, there is a way to put the congratulations right into the forum view.

Re: Popup on Birthday

Posted: Fri Mar 14, 2008 9:34 pm
by lefty74
if users block popups like for new pm's then this one will be blocked too which means they are not worthy of a birthday popup :P

Re: Popup on Birthday

Posted: Mon Mar 17, 2008 10:32 am
by JasonWade
On that test forum you get an automatic announcement if it's someone's birthday, is that also one of yoru mods?

Re: Popup on Birthday

Posted: Mon Mar 17, 2008 10:46 am
by lefty74
yes, i only have my mods installed on the test board.

once you are logged in, you can see in the Mods Database (bottom right or top, depending of the style you are looking at) which ones and what version are installed there

Re: Popup on Birthday

Posted: Mon Mar 17, 2008 11:17 am
by JasonWade
lefty74 wrote:yes, i only have my mods installed on the test board.

once you are logged in, you can see in the Mods Database (bottom right or top, depending of the style you are looking at) which ones and what version are installed there
Ah ok, I'll have a look at that, cause when I mentioned this mod my members wondered if there was an easier way for them to see other birthdays too instead of only at the bottom so I liked that mod that shows an announcement when it's someone's birthday :)

Re: Popup on Birthday

Posted: Mon Apr 14, 2008 4:46 pm
by Sascha Mueller
Is this mod ready for phpBB 3.0.1 ?

Re: Popup on Birthday

Posted: Mon Apr 14, 2008 6:40 pm
by lefty74
i upgraded my testboard to 3.0.1 yesterday and it still works fine, in fact, all my mods seem to work without problems, i have not been able to check the install instructions so far yet tho.

Re: Popup on Birthday

Posted: Mon Apr 14, 2008 7:25 pm
by Sascha Mueller
Thx. :)

Re: Popup on Birthday

Posted: Tue Jul 08, 2008 11:16 pm
by ScrapbookSupplies
Hi,
The email pop up on the member's birthday is one of the mods that I had installed when we upgraded to phpBB-3, so I didn't install this mod myself - and today being my birthday I realized that it is not working correctly. The graphic shows up in the announcement box (this could be the other mod, as we have both installed), but the little pop up window is not popping up.

I opened up the install XML and went over all the files and everything looked okay with the exception of one funny thing on the index.php file.

The XML file says to find:

Code: Select all

}
	$db->sql_freeresult($result);
...and then add the following code (this is only part of what is added)

Code: Select all

$messenger->assign_vars(array(
			'USERNAME'		=> htmlspecialchars_decode($addr['name'])....

I have this line [ { $db->sql_freeresult($result); ] on both line 90 and again on line 124. Does it matter which one the code from the mod is added after? I would assume that it would, and the mod says it should be around line 94, so being that it was added at the first occurance at line 90 I would think it's okay - but I am php-challenged so I am hoping to confirm. :?: But, if this is correct, then I can't see where the problem falls, as the appropriate files have been modded.

Any ideas?
Thanks so much for the help!
Jeanne

Re: Popup on Birthday

Posted: Wed Jul 09, 2008 6:10 am
by lefty74
Jeanne, many congratulations on your birthday!

index.php is not supposed to be edited with this mod so you may be looking at the wrong instructions (probably email on birthday?)