Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Bugo on October 17, 2010, 12:31:29 PM

Title: Happy Birthday
Post by: Bugo on October 17, 2010, 12:31:29 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=2791)

Displays a cake on the right side of the messages of users who have a birthday today.

Демонстрация сладких угощений в правой части сообщений пользователей, у которых наступает день рождения.
Title: Re: Happy Birthday
Post by: -=[Vyorel]=- on October 17, 2010, 03:03:50 PM
Nice mod!  ;)
Title: Re: Happy Birthday
Post by: iPhoneDestek on October 17, 2010, 03:40:40 PM
Translation by MOD Translator SirtLanVadisi in turkish and turkish-utf8 languages






<file name="$themedir/languages/Modifications.turkish.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Happy Birthday MOD Translation by SirtLanVadisi.NeT
$txt['happy_birthday_text'] = 'Bu gün benim doğum günüm ;)';
// End Happy Birthday MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.turkish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Happy Birthday MOD Translation by SirtLanVadisi.NeT
$txt['happy_birthday_text'] = 'Bu gün benim doğum günüm ;)';
// End Happy Birthday MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>






Translation by MOD Translator SirtLanVadisi in german and german-utf8 languages




<file name="$themedir/languages/Modifications.german.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Happy Birthday MOD Translation by SirtLanVadisi.NeT
$txt['happy_birthday_text'] = 'Heute ist mein Geburtstag ;)';
// End Happy Birthday MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.german-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Happy Birthday MOD Translation by SirtLanVadisi.NeT
$txt['happy_birthday_text'] = 'Heute ist mein Geburtstag ;)';
// End Happy Birthday MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>

Title: Re: Happy Birthday
Post by: Abavagada on October 29, 2010, 01:06:25 PM
Sweet mod! Thanks!
(*someone* had to say it :))
Title: Re: Happy Birthday
Post by: Uhura! on November 17, 2010, 11:31:41 AM
Great mod!

How do I select the image being used? Right now I have cookies but I want to use a cake...
Title: Re: Happy Birthday
Post by: Bugo on November 17, 2010, 12:25:22 PM
Replace files in /Themes/default/images/sweet with your *.png-files. Don't change names only :)
Title: Re: Happy Birthday
Post by: Uhura! on November 17, 2010, 08:47:26 PM
I thought the mod uses an icon "collection"...meaning there is some kind of way to choose the image using the Admin panel...

Title: Re: Happy Birthday
Post by: Bugo on November 18, 2010, 01:28:55 AM
Images are used in a random order.
Title: Re: Happy Birthday
Post by: Uhura! on November 18, 2010, 08:35:46 AM
OIC :)

Title: Re: Happy Birthday
Post by: henrik1782 on December 06, 2010, 09:21:07 AM
Nice mod...

Here is the Danish translation


<file name="$languagedir/Modifications.danish.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Happy Birthday
$txt['happy_birthday_text'] = 'Det er min fødselsdag idag ;)';
]]></add>
</operation>
</file>


<file name="$languagedir/Modifications.danish-ytf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Happy Birthday
$txt['happy_birthday_text'] = 'Det er min fødselsdag idag ;)';
]]></add>
</operation>
</file>

Title: Re: Happy Birthday
Post by: Bugo on December 06, 2010, 09:42:23 AM
Thanks. The mod is updated.
Title: Re: Happy Birthday
Post by: Shrinath on December 07, 2010, 11:27:44 AM
Nice Mod.. ;)
Title: Re: Happy Birthday
Post by: Shrinath on December 07, 2010, 12:05:32 PM
Quote from: shrinath on December 07, 2010, 11:27:44 AM
Nice Mod.. ;)

But how to enable Birthday field on Registration :-X
Title: Re: Happy Birthday
Post by: Bugo on December 07, 2010, 12:13:08 PM
Try this mod => http://custom.simplemachines.org/mods/index.php?mod=1260
Title: Re: Happy Birthday
Post by: Shrinath on December 07, 2010, 01:57:31 PM
Quote from: Bugo on December 07, 2010, 12:13:08 PM
Try this mod => http://custom.simplemachines.org/mods/index.php?mod=1260

Thats a out dated Mod getting 'Fatal error: Call to undefined function db_query() in /home/XXXXX/public_html/XXXXXXX/Packages/temp/addfields.php on line 13'
Title: Re: Happy Birthday
Post by: Bugo on January 05, 2011, 01:32:33 PM
You can try create additional profile field "Birthday" and enable checkbox "Show on Registration" for it.
Title: Re: Happy Birthday
Post by: bruce86 on August 24, 2011, 04:04:24 PM
Italian translation..;)
Title: Re: Happy Birthday
Post by: eric1234 on January 17, 2012, 01:49:42 PM
Quote from: Bugo on January 05, 2011, 01:32:33 PM
You can try create additional profile field "Birthday" and enable checkbox "Show on Registration" for it.
So the mod will auto pick it up?
Title: Re: Happy Birthday
Post by: Bugo on January 17, 2012, 05:29:54 PM
What do you mean?
Title: Re: Happy Birthday
Post by: pocttopus on January 27, 2020, 07:17:33 AM
Can you make an version for 2.0.17 smf please?
Title: Re: Happy Birthday
Post by: Bugo on January 27, 2020, 10:33:57 AM
Sorry, not anymore.
Title: Re: Happy Birthday
Post by: alexetgus on September 10, 2020, 06:05:47 AM
Hi,

It is a pity that this Mod does not exist for SMF 2.0  :(
Title: Re: Happy Birthday
Post by: digger on September 17, 2020, 09:44:26 AM
Quote from: alexetgus on September 10, 2020, 06:05:47 AM
Hi,

It is a pity that this Mod does not exist for SMF 2.0  :(
https://github.com/realdigger/SMF-Happy-Birthday
Title: Re: Happy Birthday
Post by: alexetgus on September 17, 2020, 09:52:13 AM
Oh! I hadn't seen... :-[

Time to make a fork, to translate into French, and I test. ;)
Title: Re: Happy Birthday
Post by: Rick53 on August 13, 2022, 03:37:05 AM
I am using SMF 2.1.2. I can't find the setting to change the language of the modification to German. The German language file is available.