Advertisement:

Author Topic: Posts only visible when logged in?  (Read 782 times)

Offline Rickard

  • Jr. Member
  • **
  • Posts: 233
  • Gender: Male
    • Värmepumpsforum
Posts only visible when logged in?
« 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?
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

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 56,714
  • Gender: Male
    • Kindred-999 on GitHub
Re: Posts only visible when logged in?
« Reply #1 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
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Rickard

  • Jr. Member
  • **
  • Posts: 233
  • Gender: Male
    • Värmepumpsforum
Re: Posts only visible when logged in?
« Reply #2 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?
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

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,234
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • aleksi-kilpinen on LinkedIn
Re: Posts only visible when logged in?
« Reply #3 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 .... :)

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.


A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

How you can help SMF

"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

Offline Rickard

  • Jr. Member
  • **
  • Posts: 233
  • Gender: Male
    • Värmepumpsforum
Re: Posts only visible when logged in?
« Reply #4 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.
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

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,334
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Posts only visible when logged in?
« Reply #5 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)

Be sure to preface your thread title with [FREE] or [PAID].
Online Manual

Please do not PM me for support.

Offline Rickard

  • Jr. Member
  • **
  • Posts: 233
  • Gender: Male
    • Värmepumpsforum
Re: Posts only visible when logged in?
« Reply #6 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?
« Last Edit: January 19, 2018, 01:51:26 AM by Rickard »
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

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,234
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • aleksi-kilpinen on LinkedIn
Re: Posts only visible when logged in?
« Reply #7 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. :)
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

How you can help SMF

"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

Offline Rickard

  • Jr. Member
  • **
  • Posts: 233
  • Gender: Male
    • Värmepumpsforum
Re: Posts only visible when logged in?
« Reply #8 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.
« Last Edit: January 30, 2018, 04:47:18 AM by d3vcho(void) »
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

Offline Rickard

  • Jr. Member
  • **
  • Posts: 233
  • Gender: Male
    • Värmepumpsforum
Re: Posts only visible when logged in?
« Reply #9 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?
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

Offline Rickard

  • Jr. Member
  • **
  • Posts: 233
  • Gender: Male
    • Värmepumpsforum
Re: Posts only visible when logged in?
« Reply #10 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...
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

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,589
Re: Posts only visible when logged in?
« Reply #11 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.

Offline Rickard

  • Jr. Member
  • **
  • Posts: 233
  • Gender: Male
    • Värmepumpsforum
Re: Posts only visible when logged in?
« Reply #12 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.
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

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,589
Re: Posts only visible when logged in?
« Reply #13 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.

Offline Rickard

  • Jr. Member
  • **
  • Posts: 233
  • Gender: Male
    • Värmepumpsforum
Re: Posts only visible when logged in?
« Reply #14 on: January 30, 2018, 10:26:24 AM »
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