News:

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

Main Menu

Posts only visible when logged in?

Started by Rickard, January 18, 2018, 10:54:54 AM

Previous topic - Next topic

Rickard

Today i have started my testing for convertion to Swedish UTF-8.
Is there any step by step instruction how this should be made, it seems to me a lot of things can (and usually) go wrong...

Anyway.
Started by dowlooading language pack and installing it.
It went great.
Then i changed language in forum from Swedish to Swedish UTF-8.
It went great (but i noticed i hade permission for members to shoose language)
I testad to write a post in the forum, and it worked!

Then i checked my settings for language in my profile, and wierdly enough, it was set to English (but i see forum in Swedish).
Well, i changed to Swedish, just to try, and now things get really crazy.
åäö suddenly dissapears, and all my posts are empty, exept for links, bold words and other "special" signs.

Now i have replaced the backup of the database, and went back to Swedish language in forum, but åäö are still missing. (Post are back though)
Do i need to replace the files from bacjup to restore my swedish signs åäö?

For a change to UTF-8, do i need to start with the database convertion and then replace the language in the forum?

Fourm is www.diskussionsforum.se with wery few posts and topics.
No hurry to get it up and running properly, but anyway, it would be nice with some sort of "how to do" when it comes to converting to UTF8

Is there anyone that haw done this with no large issues produced?
Admin for 3 forums:
www.varmepumpsforum.com
www.poolforum.se
www.atvforum.se
SMF 2.0.15
Default Theme: CS Manual by crip
Simple Portal 2.3.7
Got my own hosted and managed server on www.space2u.com

Kindred

yes. If you plan to run UTF-8, then the entire forum needs to be UTF8, not just the language.
If you are not using UTF8 throughout, then don't use the UTF8 language files. :)


https://wiki.simplemachines.org/smf/UTF-8_Readme
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Rickard

Do you kknow if there are anything i need to do with Simple portal?
Or does it use Forum language?
Admin for 3 forums:
www.varmepumpsforum.com
www.poolforum.se
www.atvforum.se
SMF 2.0.15
Default Theme: CS Manual by crip
Simple Portal 2.3.7
Got my own hosted and managed server on www.space2u.com

Aleksi "Lex" Kilpinen

Please, before jumping from one point to another aimelessly, take a deep breath and take a look at It's all Greek to me .... :)

Exactly why I said to take it slow, and test one thing at a time in a controlled manner, after I noticed these comments earlier:

Quote from: Rickard on January 09, 2018, 01:32:50 AM
After move to new server there seem to be a language problem.
åäö in Swedish works fine i the topics and messages, but in admin it seems to be something not working, i can for exempal not name the forum to "Värmepumpsforum" (leaves a blank form efter saving.
Need to put in "Varmepumpsforum" for the name to stick.

Quote from: Rickard on January 09, 2018, 02:19:10 AM
I know i should convert to UTF-8, but i tried 10 years ago and it was a total failure, i am nervous about trying again.


Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Rickard

Hmmm, is it possible to hire someone from here to do the convertion?
1 forum without portal and 3 forums with Simple portal, all have the latest software, and not a lot of modifications.
Or, as an option, there might be a way to resolve the admin issues i have (not possible give "Forum name" with åäö, and problem using the "edit theme" function in admin without getting corrupt files.
(For sure when putting in åäö in the code, for exaple in my advert codes)
My host belive it has got to do with the latest php on the server.
I dont have a clue.
Admin for 3 forums:
www.varmepumpsforum.com
www.poolforum.se
www.atvforum.se
SMF 2.0.15
Default Theme: CS Manual by crip
Simple Portal 2.3.7
Got my own hosted and managed server on www.space2u.com

Steve

You can post here to see if someone will do it for you: Help Wanted (not for support)

Be sure to preface your thread title with [FREE] or [PAID].
DO NOT pm me for support!

Rickard

#6
OK, done.  https://www.simplemachines.org/community/index.php?topic=558408.0
"LEX", do you know Swedish (If needed), interrested?
Admin for 3 forums:
www.varmepumpsforum.com
www.poolforum.se
www.atvforum.se
SMF 2.0.15
Default Theme: CS Manual by crip
Simple Portal 2.3.7
Got my own hosted and managed server on www.space2u.com

Aleksi "Lex" Kilpinen

Quote from: Rickard on January 19, 2018, 01:28:30 AM
OK, done.  https://www.simplemachines.org/community/index.php?topic=558408.0
"LEX", do you know Swedish (If needed), interrested?
Sorry, my swedish is very limited - even though it is the other official language in Finland. :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Rickard

#8
OK, i will let my developer convert one of the forums, and if it works fine i will probably go ahead with all the forums with his/her help.
Admin for 3 forums:
www.varmepumpsforum.com
www.poolforum.se
www.atvforum.se
SMF 2.0.15
Default Theme: CS Manual by crip
Simple Portal 2.3.7
Got my own hosted and managed server on www.space2u.com

Rickard

Convertion and upgrade of www.diskussionsforum.se is done.
But i have one question where my developer and i dont have the same opinion.

I have set forum language to Swedish UTF-8.
If i use Swedish in my (or visitors) profile settings, it works fine.
BUT, i i change profile language to English all swedish letters åäö will show up as signs in POSTS. (Menus and buttons are OK)
This can not be OK?
Any idea what can be missing in settings and so on?
Admin for 3 forums:
www.varmepumpsforum.com
www.poolforum.se
www.atvforum.se
SMF 2.0.15
Default Theme: CS Manual by crip
Simple Portal 2.3.7
Got my own hosted and managed server on www.space2u.com

Rickard

For example, i have now Switched from swedish to english in my profile here, and try to type åäö, i am sure this works, but it does not in my forum...
Admin for 3 forums:
www.varmepumpsforum.com
www.poolforum.se
www.atvforum.se
SMF 2.0.15
Default Theme: CS Manual by crip
Simple Portal 2.3.7
Got my own hosted and managed server on www.space2u.com

Illori

then you need to convert your forum to UTF-8 which should resolve the issue. also need to make sure you have english UTF-8 language files installed on your forum.

Rickard

Fourm IS converted to UTF-8 and it works fine as long as members dont change to English in their profile settings.
Its seams to me there are something that is wrong when it jumps back to English only in posts and only if members choose English as their profile language.
Admin for 3 forums:
www.varmepumpsforum.com
www.poolforum.se
www.atvforum.se
SMF 2.0.15
Default Theme: CS Manual by crip
Simple Portal 2.3.7
Got my own hosted and managed server on www.space2u.com

Illori

do you have the english utf-8 language pack installed? if you dont, then you need to install it.

Rickard

OK, this would be the problem.
Thank you!
Admin for 3 forums:
www.varmepumpsforum.com
www.poolforum.se
www.atvforum.se
SMF 2.0.15
Default Theme: CS Manual by crip
Simple Portal 2.3.7
Got my own hosted and managed server on www.space2u.com

Advertisement: