Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Rickard on January 18, 2018, 10:54:54 AM

Title: Posts only visible when logged in?
Post by: Rickard on January 18, 2018, 10:54:54 AM
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?
Title: Re: Posts only visible when logged in?
Post by: Kindred on January 18, 2018, 11:00:39 AM
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
Title: Re: Posts only visible when logged in?
Post by: Rickard on January 18, 2018, 11:12:36 AM
Do you kknow if there are anything i need to do with Simple portal?
Or does it use Forum language?
Title: Re: Posts only visible when logged in?
Post by: Aleksi "Lex" Kilpinen on January 18, 2018, 11:44:34 AM
Please, before jumping from one point to another aimelessly, take a deep breath and take a look at It's all Greek to me .... :) (https://www.simplemachines.org/community/index.php?topic=440417.0)

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:

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.

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.


Title: Re: Posts only visible when logged in?
Post by: Rickard on January 18, 2018, 12:14:09 PM
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.
Title: Re: Posts only visible when logged in?
Post by: Steve on January 18, 2018, 03:46:53 PM
You can post here to see if someone will do it for you: Help Wanted (not for support) (https://www.simplemachines.org/community/index.php?board=50.0)

Be sure to preface your thread title with [FREE] or [PAID].
Title: Re: Posts only visible when logged in?
Post by: 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?
Title: Re: Posts only visible when logged in?
Post by: Aleksi "Lex" Kilpinen on January 19, 2018, 07:27:48 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. :)
Title: Re: Posts only visible when logged in?
Post by: Rickard on January 20, 2018, 10:11:38 AM
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.
Title: Re: Posts only visible when logged in?
Post by: Rickard on January 30, 2018, 04:39:57 AM
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?
Title: Re: Posts only visible when logged in?
Post by: Rickard on January 30, 2018, 04:41:03 AM
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...
Title: Re: Posts only visible when logged in?
Post by: Illori on January 30, 2018, 05:12:50 AM
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.
Title: Re: Posts only visible when logged in?
Post by: Rickard on January 30, 2018, 05:38:11 AM
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.
Title: Re: Posts only visible when logged in?
Post by: Illori on January 30, 2018, 05:48:07 AM
do you have the english utf-8 language pack installed? if you dont, then you need to install it.
Title: Re: Posts only visible when logged in?
Post by: Rickard on January 30, 2018, 10:26:24 AM
OK, this would be the problem.
Thank you!