He he... yeah, you got lots of little projects for me.
OK - change the bottom bit of the bday mod in ubbthreads.php to this:
Code
<br />Yikes. That sucks. :p<br />Your site here is so pretty. Really.<br />Very sharp with the boraders and the black background<br />And the cool red logo. ;)<br /><br />OK - change the bday mod code in ubbthreads.php to this:<br />[code]<br /> if ($Today != 0) {<br /> $todaybday .= "<br />";<br /> } <br /> }<br /> list($tbopen,$tbclose) = $html -> table_wrapper();<br /> if (($UserBirthDay == $today) && ($UserBirthMonth == $thismonth)) {<br /> $BirthdayGreeting = "$tbopen <tr><td class=\"lighttable\"><div align=\"center\"><b><font size=\"+2\">Happy Birthday $Username!!</font></b></div></td></tr>$tbclose";<br /> }<br /> if (($Username) && ((!$UserBirthDay) || (!$UserBirthMonth))) {<br /> $BirthdayWarning = "<div align=\"center\"><b><a href=\"{$config['phpurl']}/editbasic.php?Cat=$Cat\">Click Here</a> to Update your Birtday Information in Your Profile!</b></div>";<br /> }<br /> if ($Today) {<br /> $TodayTopBday = "$tbopen <tr><td class=\"lighttable\"><div align=\"center\"><b>$TodayIntro</b> $todaybday</div></td></tr>$tbclose";<br /> }<br /><br />// ------End of Profile Birthday Hack
Then add this:
$TodayTopBday
into the ubbthreads.tmpl file... at the top.. above or below the $BirthdayGreeting
$BirthdayGreeting will be the greeting that the user gets on their birthday. You could customize it with images etc....
$TodayTopBday will be a box at the top, listing "today's birthdays".
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.