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

Bulakbol

Quote from: elfreakz on January 13, 2008, 11:02:25 AM
im using other theme (outline theme), i need to edit any files? cos it didnt show the mod in my outline theme...

Read the install.xml under BoardIndex.template.php. When it says:

<search position="replace"><![CDATA[.....]]></search>

search the codes in between the opening square bracket ([) and the closing square bracket (]) where I placed the five dots (.....) and when it says:

<add><![CDATA[.....]]></add>

replace it with whatever codes are in the square brackets where the five dots are.


Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bulakbol

Quote from: Eliana Tamerin on January 13, 2008, 06:59:01 PM
Notepad2 is available, along with Notepad++, on tinyportal.net

Thanks for the info Eliana. I will download it now.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bulakbol

#22
Quote from: Kela on January 13, 2008, 03:49:19 AM
JohnyB
Try Notepad2 - great, light, simple text editor

I downloaded and unzipped the Notepad2 file Kela but still no joy. It won't save the Russian characters properly. I'll try Notepad++ later.

<edit>
I also downloaded the notepad++ but still won't recognize the Russian characters. I just added the Turkish language and updated the TodaysBirthday today until I find a way to add the Russian language.
</edit>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

geezmo

The link to the mod page says:

There are no files to download at this time

???

Hoochie Coochie Man

İnadına SMF 1.1.X

Mick.

That because SMF had downtime couple days ago and some links are dead since.

Manu.G

Here are some translations for the mod. ;)

Dutch:
QuoteToday's Events: Evenementen van vandaag
Today's Event: Evenement van vandaag
Today's Birthday: Verjaardagen van vandaag
Today's Birthdays: Verjaardag van vandaag
Upcoming Birthday: Komende verjaardag
Upcoming Event: Komend evenement

Romanian:
QuoteToday's Events=Evenimentele zilei
Today's Event=Evenimentul zilei
Today's Birthday=Aniversarea zilei
Today's Birthdays=Aniversarile zilei
Upcoming Birthday=Urmatoarea aniversare
Upcoming Event=Urmatorul eveniment

Norwegian:
QuoteToday's Events: hendelser i dag
Today's Event: hendelse i dag
Today's Birthday: bursdag i dag
Today's Birthdays: bursdager i dag
Upcoming Birthday: kommende bursdag
Upcoming Event: kommende hendelse

French:
QuoteToday's Events: événements actuels
Today's Event: événement actuel
Today's Birthday: anniversaire actuel
Today's Birthdays: anniversaires actuels
Upcoming Birthday: prochain anniversaire
Upcoming Event: prochain événement

Italian:
QuoteToday's Events: eventi odierni
Today's Event: evento odierno
Today's Birthday: compleanno odierno
Today's Birthdays: compleanni odierni
Upcoming Birthday: prossimo compleanno
Upcoming Event: prossimo evento

Portuguese:
Quotetoday,s events:  eventos de hoje       
today,s event: evento de hoje                           
today,s birthday: aniversario de hoje
today,s birhdays: aniversarios de hoje
upcoming birthday: proximo aniversario
upcoming event: proximo evento

Our forum is international and the members there are helping with the translations. ;)
Version SMF 2.0.8
SimplePortal 2.3.5

Bulakbol

Thank Manu0372. I will add them now and update the file.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bulakbol

Quote from: Hoochie Coochie Man on January 20, 2008, 01:33:54 PM
Attached..

Thanks Hoochie Coohie Man. I reuploaded the mod and the upload seems to work now.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

texasflats

Installed flawlessly, thanks JohnnyB.

Bulakbol

You're welcome Texasflat.  8)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

jurdim

#31
The Dutch translation is no good i just tryed to install TodaysBirthday and it test installed ok
After installation i cant get in to my forum the file index.dutch.php has a wrong syntax  i forgot to save the error message.
But i think all the last tranlations by Manu wil give this error
I manually uploaded my old index.dutch.php and got in to my forum again and was able to uninstall

I think you should check the translations
It only adsthese lines to my index.dutch.php
Quote
Today's Events: Evenementen van vandaag
Today's Event: Evenement van vandaag
Today's Birthday: Verjaardagen van vandaag
Today's Birthdays: Verjaardag van vandaag
Upcoming Birthday: Komende verjaardag
Upcoming Event: Komend evenement

Should this not look something more like this:
<!-- default/laguages/index.dutch.php -->
   <file name="$languagedir/index.dutch.php">
      <operation>
         <search position="before"><![CDATA[$txt['calendar4'= 'gebeurtenissen:';]]></search>
         <add><![CDATA[
$txt['calendar4d'] = 'Evenementen van vandaag:';         
$txt['calendar4a'] = 'Evenement van vandaag:';
$txt['calendar3a'] = 'Verjaardagen van vandaag:';
$txt['calendar3d'] = 'Verjaardag van vandaag:';
$txt['calendar3c'] = 'Komende verjaardag:';
$txt['calendar4c'] = Komend evenement:';]]></add>
      </operation>
   </file>
But dont use this i know nothing about scripting i am just guesing what could be wrong
Gr Jurgen

Bulakbol

Hi jurdim. I thank you for letting me know of the problem. Yes, you are correct.  It should look like this.

<!-- default/laguages/index.dutch.php -->
   <file name="$languagedir/index.dutch.php" error="skip">
      <operation>
         <search position="before"><![CDATA[$txt['calendar4'= 'gebeurtenissen:';]]></search>
         <add><![CDATA[
$txt['calendar4d'] = 'Evenementen van vandaag:';         
$txt['calendar4a'] = 'Evenement van vandaag:';
$txt['calendar3a'] = 'Verjaardagen van vandaag:';
$txt['calendar3d'] = 'Verjaardag van vandaag:';
$txt['calendar3c'] = 'Komende verjaardag:';
$txt['calendar4c'] = Komend evenement:';]]></add>
      </operation>
   </file>


with the error="skip" in case they don't use that language. I am replacing the Dutch language translation to yours.

If people have problem with the other language translations, please post it here.
I thank you.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Eliana Tamerin

You forgot the preceeding quote mark on this line:

$txt['calendar4c'] = Komend evenement:';]]></add>

It should be:

$txt['calendar4c'] = 'Komend evenement:';]]></add>
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

Bulakbol

#34
Thanks Eliana. You have an eagle eye. I just copied what was given to me. I'm careless. Updating it now. ;)


I noticed that the laguange translation given my Manu0372 were incomplete. So I removed them from the mod until languages are properly translated.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Manu.G

I'm sorry, I didn't know I have to copy the complete code.  :-\
I will correct my mistake and copy now the codes I have in the language index.php.

French:
$txt['calendar4d'] = '&Eacute;v&eacute;nement actuel';
$txt['calendar4a'] = '&Eacute;v&eacute;nement actuel:';
$txt['calendar3a'] = 'Anniversaire actuel:';
$txt['calendar3d'] = 'Anniversaires actuels:';
$txt['calendar3c'] = 'Prochain anniversaire:';
$txt['calendar4c'] = 'Prochain &eacute;v&eacute;nement:';


Italian:
$txt['calendar4d'] = 'Eventi odierni:';
$txt['calendar4a'] = 'Evento odierno:';
$txt['calendar3a'] = 'Compleanno odierno:';
$txt['calendar3d'] = 'Compleanni odierni:';
$txt['calendar3c'] = 'Prossimo compleanno:';
$txt['calendar4c'] = 'Prossimo evento:';


Hungarian:

$txt['calendar4d'] = 'Mai esem&eacute;nyek:';
$txt['calendar4a'] = 'Mai esem&eacute;ny:';
$txt['calendar3a'] = 'Sz&uuml;let&eacute;snap ma:';
$txt['calendar3d'] = 'Sz&uuml;let&eacute;snapok ma:';
$txt['calendar3c'] = 'K&ouml;zelg&#337; sz&uuml;let&eacute;snap:';
$txt['calendar4c'] = 'K&ouml;zelg&#337; esem&eacute;ny:';


Norwegian:

$txt['calendar4d'] = 'Hendelser i dag:';
$txt['calendar4a'] = 'Hendelse i dag:';
$txt['calendar3a'] = 'Bursdag i dag:';
$txt['calendar3d'] = 'Bursdager i dag:';
$txt['calendar3c'] = 'Kommende bursdag:';
$txt['calendar4c'] = 'Kommende hendelse:';


Polish:

$txt['calendar4d'] = 'Dzisiejsze wydarzenia:';
$txt['calendar4a'] = 'Dzisiejsze wydarzenie:';
$txt['calendar3a'] = 'Dzisiejsze urodziny:';
$txt['calendar3d'] = 'Dzisiejsze urodziny:';
$txt['calendar3c'] = 'Nadchodz&#261;ce urodziny:';
$txt['calendar4c'] = 'Nadchodz&#261;ce wydarzenie:';


Portuguese:

$txt['calendar4d'] = 'Eventos de hoje:';
$txt['calendar4a'] = 'Evento de hoje:';
$txt['calendar3a'] = 'Aniversario de hoje:';
$txt['calendar3d'] = 'Aniversarios de hoje:';
$txt['calendar3c'] = 'Proximo aniversario:';
$txt['calendar4c'] = 'Proximo evento';


Romanian:

$txt['calendar4d'] = 'Evenimentele zilei:';
$txt['calendar4a'] = 'Evenimentul zilei:';
$txt['calendar3a'] = 'Aniversarea zilei:';
$txt['calendar3d'] = 'Aniversarile zilei:';
$txt['calendar3c'] = 'Urmatoarea aniversare:';
$txt['calendar4c'] = 'Urmatorul eveniment:';


Russian:

$txt['calendar4d'] = 'Ñåãîäíÿøíèå ñîáûòèÿ:';
$txt['calendar4a'] = 'Ñåãîäíÿøíåå ñîáûòèå:';
$txt['calendar3a'] = 'Ñåãîäíÿøíèé äåíü ðîæäåíèÿ:';
$txt['calendar3d'] = 'Ñåãîäíÿøíèå äíè ðîæäåíèÿ:';
$txt['calendar3c'] = 'Ïðåäñòîÿùèå äíè ðîæäåíèÿ:';
$txt['calendar4c'] = 'Ïðåäñòîÿùèå ñîáûòèÿ:';


I hope this time I did it correct. These codes are working and don't causing any errors.
Version SMF 2.0.8
SimplePortal 2.3.5

Bulakbol

Thanks again Manu0372. I was expecting complete language translation that's why I just copied and pasted the first one that you posted. The last translations you posted are all added again and hopefully, they are all ok this time.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Manu.G

I hope too everything is ok, but as I wrote, I copied the codes out of my languages.php and I checked the error logs. I haven't got any error messages.
Version SMF 2.0.8
SimplePortal 2.3.5

jurdim

I am stil having problems installing with the index.dutch.php the test install fails so i looked at the code again that says ;

<!-- default/laguages/index.dutch.php -->
   <file name="$languagedir/index.dutch.php" error="skip">
      <operation>
         <search position="before"><![CDATA[$txt['calendar4'= 'gebeurtenissen:';]]></search>
         <add><![CDATA[

The red coulered before says end in some other languages is this wrong here ? and could this be the cause of the failing test install while al other files pas the test ?
Gr Jurgen

Bulakbol

#39
Quote from: jurdim on January 30, 2008, 01:39:17 PM
I am stil having problems installing with the index.dutch.php the test install fails so i looked at the code again that says ;

<!-- default/laguages/index.dutch.php -->
   <file name="$languagedir/index.dutch.php" error="skip">
      <operation>
         <search position="before"><![CDATA[$txt['calendar4'= 'gebeurtenissen:';]]></search>
         <add><![CDATA[

The red coulered before says end in some other languages is this wrong here ? and could this be the cause of the failing test install while al other files pas the test ?
Gr Jurgen

Check your index.dutch.php for the line  $txt['calendar4'= 'gebeurtenissen:'; if it exist. It could be the spelling too that has a mistake.  The "before" is correct. You can remove that line and change it to "end" like the other languages if you want. That will eliminate the error.

Ok, I'll change the line to "end" and update the file. Thanks for letting me know.

<EDIT> File updated. </EDIT>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Advertisement: