News:

Wondering if this will always be free?  See why free is better.

Main Menu

TodaysBirthday

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

Previous topic - Next topic

jurdim

I took a look at my index.dutch.php
Line 421 in it says: $txt['calendar4'] = 'Gebeurtenissen:';

The translation in Birthday says: $txt['calendar4'= 'gebeurtenissen:';

The difference is the use of Capital G in the existing file and the g in the Birthday File

Does this fail the install? and if i change this in my exsisting index.dutch.php does it affect anything ?
Gr Jurgen

Bulakbol

Quote from: jurdim on January 30, 2008, 02:18:55 PM
I took a look at my index.dutch.php
Line 421 in it says: $txt['calendar4'] = 'Gebeurtenissen:';

The translation in Birthday says: $txt['calendar4'= 'gebeurtenissen:';

The difference is the use of Capital G in the existing file and the g in the Birthday File

Does this fail the install? and if i change this in my exsisting index.dutch.php does it affect anything ?
Gr Jurgen

No, it won't affect anything. You can change it but as I said, you can change it too to "end" and still yield the same result.  Check the spelling of the filename too. It might be index.Dutch.php instead of index.dutch.php. Download the new file and use that instead. Try it.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

jurdim

 :) Thanks for your quick responce. The Problem was the capital G in my index.dutch.php i changed it to a normal g downloaded Birthday again and it installed perfectl

But i think you should change your file once more because everyone that uses the dutch language wil get this error because the original index.dutch.php uses the capital G

:( Sorry for making this trouble but as i said in my first post i really know nothing about scripting

Gr Jurgen

Bulakbol

#43
No problem buddy. I should be the one to thank you. I will update it now as you suggested.

<edit> It is already changed to "end" to avoid more errors. I'll leave it that way now. :) </edit>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

jurdim

On last remark i just downloaded the latest update en now this line is completely gone in al lot of translated files:
<![CDATA[$txt['calendar4'] = 'Gebeurtenissen:';]]

Or does the "end"setting make this line not needed

Gr Jurgen


Bulakbol

Quote from: jurdim on January 30, 2008, 03:56:28 PM
On last remark i just downloaded the latest update en now this line is completely gone in al lot of translated files:
<![CDATA[$txt['calendar4'] = 'Gebeurtenissen:';]]

Or does the "end"setting make this line not needed

Gr Jurgen


The "end" will check the  ?> php tag at the very end of the file so the <![CDATA[$txt['calendar4'] = 'Gebeurtenissen:';]] is not needed anymore. The only problem is that when you install another mod, it will block the uninstallation of this mod because of the ?> tag.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

jurdim

Ok Wel i just changed the Capital G back and everything works fine .
Thanks for your support
Gr Jurgen

Bulakbol

You're welcome. Thank you too for the info.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Webstar

I got a problem, see picture

Eliana Tamerin

I'd recommend checking your language files. Open up your index.english.php and copy its contents to index.english-utf8.php or just copy the code below in:

$txt['calendar4d'] = 'Today\'s Events:';
$txt['calendar4a'] = 'Today\'s Event:';
$txt['calendar3a'] = 'Today\'s Birthday:';
$txt['calendar3d'] = 'Today\'s Birthdays:';
$txt['calendar3c'] = 'Upcoming Birthday:';
$txt['calendar4c'] = 'Upcoming Event:';


See if that works.
Do NOT PM me for support.

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

Bulakbol

Quote from: Webstar on February 11, 2008, 08:56:49 AM
I got a problem, see picture

Attach your BoardIndex.template.php if you cannot figure out yourself. I'll take a look at it.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

gemigene

Downloaded it and "fed it" to the SMF  Package Parser to see which files would be affected and how and this is what I got:

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: Entity: line 206: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xFC 0x6E 0xFC 0x6E in /home/sleepy1/public_html/PackageParser/index.php on line 472

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: $txt['calendar4d'] = 'Bug�n�n Etkinlikleri:'; in /home/sleepy1/public_html/PackageParser/index.php on line 472

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: ^ in /home/sleepy1/public_html/PackageParser/index.php on line 472

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: Entity: line 353: parser error : Comment not terminated <!-- default/languages/index.english.php in /home/sleepy1/public_html/PackageParser/index.php on line 472

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: <!-- default/languages/index.english.php -- in /home/sleepy1/public_html/PackageParser/index.php on line 472

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: ^ in /home/sleepy1/public_html/PackageParser/index.php on line 472

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/sleepy1/public_html/PackageParser/index.php:472 Stack trace: #0 /home/sleepy1/public_html/PackageParser/index.php(472): SimpleXMLElement->__construct('<?xml version="...') #1 /home/sleepy1/public_html/PackageParser/index.php(441): parseModificationXML('/home/sleepy1/b...', Object(SimpleXMLElement), 'all') #2 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'all') #3 /home/sleepy1/public_html/PackageParser/index.php(782): parseArchive('/tmp/phpGECo6p', 'install', 'all') #4 {main} thrown in /home/sleepy1/public_html/PackageParser/index.php on line 472


Gene
"Religion is metaphysical statism. I will be ruled by no man on earth, nor by any god in heaven"

Bulakbol

Hi gemigene. Those are the language text files. I am not sure either the parser support them or there's problem with the laguage string files. You should ignore them if you aren't installing the language text files other than english.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

gemigene

Quote from: JohnyB on February 14, 2008, 01:10:10 AM
Hi gemigene. Those are the language text files. I am not sure either the parser support them or there's problem with the laguage string files. You should ignore them if you aren't installing the language text files other than english.

All right, thanks.

Think I'll give it a try.

Gene
"Religion is metaphysical statism. I will be ruled by no man on earth, nor by any god in heaven"

Bulakbol

Quote from: gemigene on February 14, 2008, 04:35:14 PM
Quote from: JohnyB on February 14, 2008, 01:10:10 AM
Hi gemigene. Those are the language text files. I am not sure either the parser support them or there's problem with the laguage string files. You should ignore them if you aren't installing the language text files other than english.

All right, thanks.

Think I'll give it a try.

Gene


Just post here if you still encounter errors.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

RoarinRow

Thanks for the mod, now I just have to wait for someone's birthday, which I think will be tomorrow.   8)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Bulakbol

Quote from: RoarinRow on February 19, 2008, 12:19:18 AM
Thanks for the mod, now I just have to wait for someone's birthday, which I think will be tomorrow.   8)

Haha if you want to try it, change your birthdate to today or tomorrow.  ;)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

RoarinRow

Quote from: JohnyB on February 19, 2008, 08:10:17 AM
Quote from: RoarinRow on February 19, 2008, 12:19:18 AM
Thanks for the mod, now I just have to wait for someone's birthday, which I think will be tomorrow.   8)

Haha if you want to try it, change your birthdate to today or tomorrow.  ;)

Yup, it worked!   8)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Bulakbol

I know it will RoarinRow  ;) Thanks for trying my mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

senyorito

Hi JohnnyB!  Once again, another great mod of yours. *clap*clap*clap*

If you don't mind, I wanna ask a favor.  I know it's kinda off-topic but I'll just wanna know if this can be possible to a TP block.  Any script JohnnyB?

Anyways, I just want you to know that you are in my book JohnnyB!

Thanks in advanced!

Advertisement: