Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Aktoraman on December 03, 2010, 06:28:55 PM

Title: Squares in my Calendar instead of Days ???
Post by: Aktoraman on December 03, 2010, 06:28:55 PM
Hello there everyone
Iam running an SMF 2.0 RC3 with Inferno Theme installed there.

I am having a quite strange problem with the appearence of the  Days in my Calendar.
Instead of days there are some squares....  ???
Does anybody know what may cause this malfunction?

I have uploaded a printscreen, so that you can understand exactly what i mean.

Thank you in advance.


(http://www.aktorama.gr/myimages/calendar.jpg)
Title: Re: Squares in my Calendar instead of Days ???
Post by: Kill Em All on December 03, 2010, 07:59:20 PM
First, you should upgrade to SMF 2.0 RC4 due to several bug and security fixes. This may also fix your problem.
Upgrading SMF (http://docs.simplemachines.org/index.php?board=3.0;sort=subject)

If that does not fix it, then try updating your language files.
Languages (http://docs.simplemachines.org/index.php?topic=395.0)
UTF-8 Readme (http://docs.simplemachines.org/index.php?topic=865.0)
Installing a Language (http://docs.simplemachines.org/index.php?topic=476.0)
Title: Re: Squares in my Calendar instead of Days ???
Post by: Aktoraman on December 04, 2010, 02:36:29 PM
Quote from: Kill Em All on December 03, 2010, 07:59:20 PM
First, you should upgrade to SMF 2.0 RC4 due to several bug and security fixes. This may also fix your problem.
Upgrading SMF (http://docs.simplemachines.org/index.php?board=3.0;sort=subject)

If that does not fix it, then try updating your language files.
Languages (http://docs.simplemachines.org/index.php?topic=395.0)
UTF-8 Readme (http://docs.simplemachines.org/index.php?topic=865.0)
Installing a Language (http://docs.simplemachines.org/index.php?topic=476.0)
Can you do this for me? (on payment ofcourse)
If yes please PM me.
Thank you
Title: Re: Squares in my Calendar instead of Days ???
Post by: Kill Em All on December 05, 2010, 07:01:01 PM
I don't have enough free time to do the upgrade for you. So I'm sorry for that. But you can take a look at this board.
http://www.simplemachines.org/community/index.php?board=51.0

Just make sure to read all the reviews of everyone.
Title: Re: Squares in my Calendar instead of Days ???
Post by: CapadY on December 06, 2010, 03:26:37 PM
When I look at this problem in the English language the calender is shown properly. The problem is only there when using the Greekisch language. So, it is an language problem.

Looking anyfurther it look likes it's an SMF-bug.
In Calendar.template.php, around line 290, a substring is taken from the $txt['days] variable. Taking this substring using the English language works fine. As soon you take a substring from a textstring in the Greekisch language this problem appeared.

For now I've solved your problem by adding an array with the English day-names and taking the substrings from these English names in stead of the Greekisch names.
For now this is the only way I can find to solve this problem, even using Greekisch text in the sourcecode don't work.


Title: Re: Squares in my Calendar instead of Days ???
Post by: Norv on December 06, 2010, 03:38:10 PM
Is this still happening in RC4?

There was indeed a RC3 bug in SMF, which caused this. It should be solved in RC4.