PDA

View Full Version : birthdays on homepage - 1 user per line


Logtenberg
11-27-2001, 04:28 AM
On forum home (index.php)

Instead of having

Today's Birthdays
Jason, tammy, michael

I want to have one user per line:

Today's Birthdays
Jason
tammy
michael

I managed to do this by adding a <br> tag in index.php for users online, however I can't seem to figure out how/where to put a <br> in for today's birthdays ($birthdays)

Thanks in advanced. I am getting a little frustrated..

Admin
11-27-2001, 12:10 PM
Try to replace this in functions.php:
$comma1 = ',';
} else {
eval("\$day2 .= \"$comma2 ".gettemplate('calendar_showbirthdays',1,0)."\";");
$comma2 = ',';
with this:
$comma1 = '<br>';
} else {
eval("\$day2 .= \"$comma2 ".gettemplate('calendar_showbirthdays',1,0)."\";");
$comma2 = '<br>';
After you do this make sure you go to your user profile, and click update.

Logtenberg
11-27-2001, 04:59 PM
Thanks Firefly!

It worked!