phpBB SnippetsHide Birthdays if no Birthdays

Post Reply
User avatar
Topic Starter
Restless Rancor
Great Britain

Site Admin
New Member
Posts: 48
Joined: October 15th, 2018, 3:14 pm
Age: 25
Location: Hampshire, England
Contact:

Hide Birthdays if no Birthdays

#1

Post by Restless Rancor » October 15th, 2018, 7:16 pm

This snippet hides the display of the 'Birthday' statistics on the index page if there are no Birthdays that day.



Tested On:
Open root/index.php

Find This may be a partial find and not the whole line

Code: Select all

	'S_DISPLAY_BIRTHDAY_LIST'	=> $show_birthdays,
Replace with Replace the preceding lines with the following

Code: Select all

	'S_DISPLAY_BIRTHDAY_LIST'	=> (!empty($birthday_list)) ? $show_birthdays : false,
Changelog:
► Show Spoiler


These aren't the droids you're looking for.

Post Reply

Topic Subscribers

1 user subscribed to this topic: Restless Rancor