| User | Post |
|
10:30 pm 25 Sep 2008
| Truden
Member
| | | |
|
| posts 53 |
|
|
I was having problem with the ahah files displaying Cyrillic, but now the problem comes on normal page.
<p>Ð�иколай написа:</p>', 1);”
The above is part of the generated source code for the quote button on my forum. The bad symbols are supposed to be Николай, and this is the name which I inserted in the sf-admin panel to be shown for admin. (Instead of admin it shows Николай)Can you advise me how to fix this.
One more thing which is very much possible to have been already answered in the forums: After a user logs off, he/she is recognized as logged off user by name, (Welcome back Truden. Log in if you want to post) but the forum does not show the post buttons for this user. After I clean the cookies, the user becomes anonymous and the buttons appear again.
Thank You
|
|
|
|
|
Hi Truden
I'm sorry but I suspect the same as I suspected before and this just convinces me. Somehow your site is not picking up the charset that should be set in your wp-config.php file. We have had no other reports of this. You really do need to check this setting.
As to the post buttons this is not a bug it is a 'feature' that was much requested. If you are a member then you should log in to make posts so no, the post button does not show but a login button does in its place. This is to deter a member posting as guest when they should continue to post as a logged in member.
|
|
|
11:46 am 26 Sep 2008
| Truden
Member
| | | |
|
| posts 53 |
|
|
I know that the problem is in my server settings, Andy.
My reuest was to help me find the place (function) where the name for admin is pulled off from and I'll try to fix it. But now I think that it is much better to fix the problem globally by changing my server settings. The reason I didn't do it until now is that it will affect Truden Web Site which has hundreds of MB Cyrillic DB and the work around is quite difficult and unstable.
Any way, Thank You for your quick respond.
|
|
|
|
|
Yes - sorry I didn't answer that did I? That data is in the sfmembers table - find your entry and look at the displayname column.
Surely setting the right charset wont had a negative effect will it?
|
|
|
2:55 pm 26 Sep 2008
| Truden
Member
| | | |
|
| posts 53 |
|
|
Thanks again.
It won't work if I change the table collation.
My name is properly displayed on the side where is my gravatar. Obviously in the quote button is used different way to display the same name and it appears wrong. So the only way to fix it is to find way to display the name in the quote button in the same way it is displayed on top of my avatar.
I see that you use sfjquotePost() to display the name and I guess that this way of pulling the name from the DB makes it to be displayed without charset applied to it.
Once again I asure you that any server which is set to charset different than UTF-8 will have my problem with non latin letters. But don't waist your time with me. I'll fix it 
|
|
|
|
|
I wasnlt talkign about your database… I was talking about the charset sertting in wp-config.php which is what will be used in all request headers….
|
|
|
6:36 pm 26 Sep 2008
| Truden
Member
| | | |
|
| posts 53 |
|
|
Something happened and my post wasn't taken.
Sorry if it appears two times. So, my solution to the problem is:
forum/sf-topiccomponents.php, line 455:
$intro = '<p>'.htmlentities($username).' '.__(”said:”, “sforum”).'</p>';
I changed it to:
$intro = '<p>'.$username.' '.__(”said:”, “sforum”).'</p>';
Tell me if that is VERY wrong 
|
|
|
|
|
|
10:55 pm 26 Sep 2008
| Truden
Member
| | | |
|
| posts 53 |
|
|
Oh, thanks Andy 
I was afraid not to open my door for the hackers. Thanks for your time and excuse me for taking that much from it.
Cheers.
|
|