News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

TodaysBirthday

Started by Bulakbol, January 06, 2008, 09:28:48 PM

Previous topic - Next topic

hellboy78

I tryed to install this mod, but I use blacktothefuture theme, so the mod doesn't works.
which operation I should do manually into my theme?
which modification I have to made?

Bulakbol

@akyhne
Thanks again. If I have spare time, I will add the language translation in the package.

@hellboy78
You have to edit the BoardIndex.template.php of your theme. Attach the file and I'll look at it.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

hellboy78


bullbreedluverz

hi ive just installed this mod on 2.0 RC1  http://www.bullbreedluverz.com/themetest/index.php (with a custom theme built as the default theme) using TodaysBirthdaysRC1_MCLink and have an issue with the displayed user name - image of issue and boardIndex.template.php attatched


Bulakbol

@hellboy78
Apologies. Do you still need the edited BoardIndex.template.php?

@stikkki
Make sure you are using the latest version of TodaysBirthday and MemberColorLink mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

bullbreedluverz

#225
Im using TodaysBirthdayRC1_MCLink as i have Member Colour Link installed

ETA my issue is resolved now, it was a problem with my modified BoardIndex.template

Bulakbol

@hellboy78
Here's you edited BoardIndex.template.php file.


@stikkki
Cool. Thanks for letting me know.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Eclipse16V

Nice Mod

Here the German

$txt['todays_event'] = 'Event Heute:';
$txt['todays_events'] = 'Events Heute:';
$txt['upcoming_event'] = 'Nächstes Event:';
$txt['upcoming_events'] = 'Nächsten Events:';
$txt['todays_birthday'] = 'Geburtstag Heute:';
$txt['todays_birthdays'] = 'Geburtstage Heute:';
$txt['upcoming_birthday'] = 'Nächster Geburtstag:';
$txt['upcoming_birthdays'] = 'Nächsten Geburtstage:';
$txt['todays_holiday'] = 'Feiertag Heute:';
$txt['todays_holidays'] = 'Feiertage Heute:';
$txt['upcoming_holiday'] = 'Nächster Feiertag:';
$txt['upcoming_holidays'] = 'Nächsten Feiertage:';
I worked with:
SMF 2 in German

Shop:
SID Giessen

Bulakbol

@Eclipse16V
Thanks for the translation. I will add it now.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

sophi

How can I make this mod work for SMF 1.1.10 ?

Akyhne

It should work with SMF 1.1.10

sophi

#231
I have downloaded the first zip that says
TodaysBirthday.zip (7KB)

Is that not the right one?

magarto

And into spanish:


// Today's birthday
$txt['todays_event'] = 'Evento de hoy:';
$txt['todays_events'] = 'Eventos de hoy:';
$txt['upcoming_event'] = 'Evento próximo:';
$txt['upcoming_events'] = 'Eventos próximos:';
$txt['todays_birthday'] = 'Hoy es el cumpleaños de:';
$txt['todays_birthdays'] = 'Hoy son los cumpleaños de:';
$txt['upcoming_birthday'] = 'Cumpleaños próximo:';
$txt['upcoming_birthdays'] = 'Cumpleaños próximos:';
$txt['todays_holiday'] = 'Día festivo:';
$txt['todays_holidays'] = 'Días festivos:';
$txt['upcoming_holiday'] = 'Próximo día festivo:';
$txt['upcoming_holidays'] = 'Próximos días festivos:';


Is it going to be updated to SMF RC2?

Manu.G

Hi,

will it be available for SMF 2.0 RC2?
Version SMF 2.0.8
SimplePortal 2.3.5

adbrad

Just downloaded and installed this and all is fine. how ever i did have to do a manual edit in my custom theme,
great mod thanks

Eclipse16V

Please update it for SMF 2.0 RC2

Thx
I worked with:
SMF 2 in German

Shop:
SID Giessen

adbrad

I would also like this for RC2 as running a test forum on it at the mo to see if it will be worth upgrading it works perfect on my RC1.2.
It'll do most code changes on RC 2 but get an error on my boardindex.template.php

adbrad

So i had a play around with this and got it working in rc2. Although i'm no master coder i installed the mod then added the following to boardindex.template.php // Holidays like "Christmas", "Chanukah", and "We Love [Unknown] Day" :P.
if (!empty($context['calendar_holidays']))
{
if (!empty($context['holidays']['today']))
echo count($context['holidays']['today']) == 1 ? $txt['todays_holiday'] : $txt['todays_holidays'], ' <strong><span class="holiday">', implode(', ', $context['holidays']['today']), '</span></strong><br />';
// upcoming holiday
if (!empty($context['holidays']['soon']))
echo count($context['holidays']['soon']) == 1 ? $txt['upcoming_holiday'] : $txt['upcoming_holidays'], ' <span class="holiday">', implode(', ', $context['holidays']['soon']), '</span><br />';
}

// People's birthdays. Like mine. And yours, I guess. Kidding.
if (!empty($context['calendar_birthdays']))
{
echo '<span class="birthday">';
if (!empty($context['bdays']['today']))
echo count($context['bdays']['today']) == 1 ? $txt['todays_birthday'] : $txt['todays_birthdays'], ' ', implode(', ', $context['bdays']['today']), '<br />';
// upcoming birthdays
if (!empty($context['bdays']['soon']))
echo count($context['bdays']['soon']) == 1 ? $txt['upcoming_birthday'] : $txt['upcoming_birthdays'], ' ', implode(', ', $context['bdays']['soon']), '<br />';
echo '</span>';
}
// Events like community get-togethers.
if (!empty($context['calendar_events']))
{
echo '<span class="event">';
if (!empty($context['events']['today']))
echo  count($context['events']['today']) == 1 ? $txt['todays_event'] : $txt['todays_events'], ' ', '<b>', implode(', ', $context['events']['today']), '</b><br />';
// upcoming events
if (!empty($context['events']['soon']))
echo count($context['events']['soon']) == 1 ? $txt['upcoming_event'] : $txt['upcoming_events'], ' ', implode(', ', $context['events']['soon']), '<br />';
// Show a little help text to help them along ;).
if ($context['calendar_can_edit'])
echo '(<a href="', $scripturl, '?action=helpadmin;help=calendar_how_edit" onclick="return reqWin(this.href);">', $txt['calendar_how_edit'], '</a>)';
}
echo '


It will then appear as the attached image.

Robbo_

Will you be updating this mod to SMF 2.0 RC2 anytime soon? If not please say so and I will update it for you.
Aus-Newerth

Quote from: IRC
Roph> I just finished a double 1/2lb cheese, bacon & salad beef burger
Roph> no woman on earth could satisfy me as much as I am satisfied right now by this burger
... later on ...
Roph> how could ensie go about satisfying me =o
<Ensiferous> Roph: Merely looking at me would yield far more pleasure than a burger can provide.

C4G-TK

Quote from: Robbo_ on December 03, 2009, 09:37:38 PM
Will you be updating this mod to SMF 2.0 RC2 anytime soon? If not please say so and I will update it for you.

Pretty sure JohnnyB/Bulakbol is away for an indefinite period of time.  You may want to update it yourself it you don't want to wait.

-img removed-

Advertisement: