Happy Birthday in Welcome On Index

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
User avatar
Darkman Offline
BBCoder II
BBCoder II
Posts: 23
Joined: 20 Mar 2010, 21:53
Local time: Saturday 23:59
Last active: -

Happy Birthday in Welcome On Index

Post by Darkman »

Hi!

It's possible to view "Happy Birtday" in that day for each user?
User avatar
Stoker Online
Site Admin
Site Admin
Posts: 4,295
Joined: 12 May 2008, 21:26
Local time: Saturday 23:59
Last active: Online now
Favourite EXT: Forum Goal
Location: Denmark

Happy Birthday in Welcome On Index

Post by Stoker »

The part displayed at the bottom of the forum index?
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
Darkman Offline
BBCoder II
BBCoder II
Posts: 23
Joined: 20 Mar 2010, 21:53
Local time: Saturday 23:59
Last active: -

Happy Birthday in Welcome On Index

Post by Darkman »

Instead of "Good Morning" or "Good Afternoon", I would like HAPPY BIRTHDAY whem that day is user's birthday.

It's possible? It would be very nice
User avatar
Terr0r Offline
BBCoder V
BBCoder V
Posts: 339
Joined: 03 May 2011, 22:47
Local time: Saturday 22:59
Last active: -
Location: The Netherlands

Happy Birthday in Welcome On Index

Post by Terr0r »

Yes that is possible I will take a look for you how it is possible tomake it okay

in this week I will set it here on the site

if there someone that can you explane it faster then me he will tell you how to do

Greets Terr0r
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look here
User avatar
Darkman Offline
BBCoder II
BBCoder II
Posts: 23
Joined: 20 Mar 2010, 21:53
Local time: Saturday 23:59
Last active: -

Happy Birthday in Welcome On Index

Post by Darkman »

Many thanks :)
User avatar
Theriddler Offline
BBCoder II
BBCoder II
Posts: 18
Joined: 26 Oct 2011, 23:24
Local time: Saturday 22:59
Last active: -
Location: The Netherlands

Happy Birthday in Welcome On Index

Post by Theriddler »

Hi stoker,

You've got a great site, and the welcome on index mod is a wonderfull idea

for the birthday of a user i used this, but maybe someone will come with something better

Template/index_body.html
Find:

Code: Select all

<!-- IF S_DISPLAY_ONLINE_LIST --><br /><br />{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<!-- ENDIF --></span>
Add these lines on a new blank line after the preceding line(s) to find:

Code: Select all

<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST -->
				<p><!-- IF BIRTHDAY_LIST --><dd class="lastpost" style="padding:5px; width:100%; text-align: center; border:none;"><span><img src="{T_THEME_PATH}/images/icon_birthday.gif" /><br /><strong>{BIRTHDAY_LIST}</strong> {L_WELCOME_BDAY}</p><!-- ENDIF --><!-- ENDIF --></span>
				</dd>
Language/en/common.php
Find:

Code: Select all

'WELCOME_TO_MOD'			=> 'Welcome to',
Add these lines on a new blank line after the preceding line(s) to find:

Code: Select all

'WELCOME_BDAY'				=> 'Have a nice birthday today',
place below image in styles/theme/images
icon_birthday.gif
refresh template and purge cache. :thumb:
User avatar
Stoker Online
Site Admin
Site Admin
Posts: 4,295
Joined: 12 May 2008, 21:26
Local time: Saturday 23:59
Last active: Online now
Favourite EXT: Forum Goal
Location: Denmark

Happy Birthday in Welcome On Index

Post by Stoker »

Thanks for the code Theriddler ;)
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
martin123456 Offline
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 11:29
Local time: Saturday 22:59
Last active: -
Favourite EXT: Ban button
Location: Down south!

Happy Birthday in Welcome On Index

Post by martin123456 »

And the result is
birthday.png
and no im not 82 :D
birth.png
Last edited by martin123456 on 27 Oct 2011, 15:21, edited 3 times in total.
User avatar
Darkman Offline
BBCoder II
BBCoder II
Posts: 23
Joined: 20 Mar 2010, 21:53
Local time: Saturday 23:59
Last active: -

Happy Birthday in Welcome On Index

Post by Darkman »

woooowww! Thank you!
User avatar
martin123456 Offline
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 11:29
Local time: Saturday 22:59
Last active: -
Favourite EXT: Ban button
Location: Down south!

Happy Birthday in Welcome On Index

Post by martin123456 »

Pics added to show the resultes

It's best to keep the birthday message as short as pos as it also shows for guests so if you have a large board and 50 members have a birthday it will show 50 names and 50 messages ;)
guest.png