Topic RSS
Related Topics
当wordpress采用默认固定链接时,点击论坛中的中文标题帖子可以进入,但点击wordpress中的文章的tag时会发生404错误;当wordpress采用其他形式固定链接时,点击wordpress中的文章的tag正常,但点击论坛中的中文标题帖子无法进入内容。很奇怪。
tried this in Google Translator.
I am nit sure what you mean by 'using the default wordpress fixed link'? Can you explain more?
dear Yellow Swordfish, I mean that if I do not choose default permalink
(like http://website.com/?p=123), the content of the post whose title is chinese can not be viewed.
Understood. And clearly it is working here just fine! So it is something in your setup/environment that is the problem.
What message, if any, is displayed?
1:01 pm
Hello Master,
I have a question with this super forum…
I use wordpress for my blog with version 3.1.3 on windows, article language is Traditional Chinese, and use static url.
When I set group and forum on my site, I type Chinese text and it is show on the browser correct and you can click the name then show topic list.
Next step, I want to add new topic and type Chinese text, it can be saved, and then page transfer to the new topic, it will feedback "the topic is not there".
Now I upgrade forum core from 4.4.2 to 4.4.4, but the it still not working.
The static url in my site will like as below:
http://127.0.0.1/index.php/com…..具選擇/
Maybe some setting was wrong, because I see the url wiht this topic as like as mine, but it worked!
Sorry, my English is not good enough, hope you will understand my question… Thank you very much!
Sincerely yours,
Ishtar
of course, the url is not good since its a localhost…
since the upgrade to 4.4.4, whats not working? old posts? new posts? or both?
asking because wp and sp changed how they were handled in the interim and it would be good info to help narrow this down… we do have other folks using Chinese so more info needed…
1:39 pm
Hello Master,
Thanks for your quickly reply, even upgrade to version 4.4.4, the url still not work if url have Chinese(cname?) I am sure my site can support url include Chinese like http://domain name/license/index.php/2011/05/我家的新鮮貨
Hmm……. and I just adjust some code and the issue has been fixed, hope you are not angry, and they are temporary way.
About the url issue, I change code sf-post.php line 111 from
$newpost['topicslug'] = sf_create_slug($newpost['topicname'], 'topic'); to $newpost['topicslug'] = date("Y").date("m").date("d")."-".date("U"); and change sf-links-blog.php line 137 from $slug = sf_create_slug($post_title, 'topic'); to $slug = date("Y").date("m").date("d")."-".date("U");
Below are the other issues I find today
1. (fixed) When I use a function which is linking to the forum form wp-Article, it will not work, because mysql will feedback me #1364 – Field 'poster_ip' doesn't have a default value
And I change sf-links-blog.php line:159 as below
if (empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $poster_ip = $_SERVER['REMOTE_ADDR']; } else { $poster_ip = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']); $poster_ip = $post_ip[0]; } line:160 change to $sql = "INSERT INTO ".SFPOSTS." (post_content, post_date, topic_id, user_id, forum_id, poster_ip) VALUES ('".$postcontent."', '".$now."', ".$topicid.", ".$post->post_author.", ".$forumid.", '".$poster_ip."');"; (sf-post.php line: 224, I think can change as above $poster_ip, it will get user ip more accurate.)
2. After edit article (edit article subject and content), I checked the box "
Is it normally? or I can study sf-links-blog.php line:227 (function sf_update_blog_link) to find the way?
3. May I know the logic with "Breadcrumb Links" function? When I pushed "Breadcrumb Links", I seen the topic as same as the article still there, is it normally?
After I pushed "Breadcrumb Links" and I assign the article to another forum, the topic is not move to the new one.
Sorry I have many questions and appreciate your time
Sincerely yours,
Ishtar
I do not really understand what the actual problems are.
Slugs: After you upgraded the forum to 4.4.4 did the urls still not work on New topics? What was actually happening to the slugs please? And what was happening when you tried to display the forum itself? Error? Message?
IP Address: Why were failing to pick up the IP address?
Blog Linking Edit: Yes we update the content. What else is there to update that you feel we are missing?
Breadcrumbs: Can you give me some more detail as I don't really understand what you mean?
11:27 pm
Hi Yellow Swordfish Master,
Sorry I change the code by myself, about the url issue, please see the post that I was posted on Juan 10, 2011. ( the issue as same as snable's problem, I think many languages will have same problem, like Chinese, Japanese..etc)
IP Address: Why were failing to pick up the IP address? <==sorry I don't understand why not….I just find the error when I use a function which is linking to the forum form wp-article, it will not work, because mysql will feedback me #1364 – Field 'poster_ip' doesn't have a default value and wp-article content can't been saved to table sfposts (the attribute: poster_ip is NOT NULL)
Blog Linking Edit: Maybe subject have misspelled and need to change.
About "Breadcrumb Links", I will find someone his English is batter than me and help me the describe it.
Thank you for the time allocated!
Sincerely yours,
Ishtar
12:24 pm
SP Master
Nov 9, 2008
OfflineURL: If you mean they were getting html encoded then yes -this is common. There are often language specific plugins available that can filter this and help.
Blog Linking Edit: No – we do not touch the topic title once it has been set up. That would need to be changed manually.
IP Address: I am just unsure why the IP address would be empty… This is not a problem we have ever had reported.
Most Users Ever Online: 444
Currently Online: wazina
64 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 504
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2626
Members: 7364
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10905
Posts: 79605
Newest Members: Onuora Amobi, Rick Thomas, joelrob, ndc, MacBravO, irlandes1, triphop, betokan, Jonathan Yovani Muñoz, somosguatemala
Moderators: Brandon C (162)
Administrators: Yellow Swordfish (22240), Mr Papa (23698)
Log In
Register
Home
Add Reply
Add Topic
Quote



Visit

Privacy Policy



