MyBB Community Forums

Full Version: Birthday day shown doubled
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
O got a strange thing i couldn't see before a user today's birthday would be displayed.
Birthday date is displayed twice.
[attachment=5055]
What code can i modify to fix this small issue.
Thanks.
Where is it displayed twice?
I think he means the age is showing twice------> (29) (29)
DragonLord Wrote:I think he means the age is showing twice------> (29) (29)
Exactly.
Just remove it from the index_birthdays template.
Tikitiki Wrote:Just remove it from the index_birthdays template.
Hi,
I am not really sure i know what to remove... sorry.
Here are birthday related parts of code:

index_birthdays
<tr><td class="tcat"><strong>$lang->todays_birthdays</td></tr>
<tr>
<td class="trow1"><span class="smalltext">$bdays</span></td>
</tr>

index_birthdays_birthday
<a href="member.php?action=profile&amp;uid=$bdayuser[uid]">$bdayuser[username]</a>$age 

index_todaysbirthdays
<tr><td class="tcat" colspan="6"><strong>Todays Birthdays</strong></td></tr>
<tr><td class="trow1" colspan="6"><span class="smalltext"><strong>150</strong> members are celebrating their birthday today.<br />There names will go here, along with age.</span></td></tr>