Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ Languages and alternative language support ⇒ i18n - l10n (languages) :: Archives ⇒ Forum topic display incorrectly :: Archived


Forum topic display incorrectly :: Archived
Want a language pack or convertor? Have feedback on either of these? Are you a developer of one of these? Here is the place to post. Read the announcements here first!
Go to page 1, 2  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  i18n - l10n (languages)

Topic Archived View previous topic :: View next topic  
Author Message
vinhkhang_melb
Newbie
Newbie

Offline Offline
Joined: Aug 06, 2004
Posts: 26

PostPosted: Tue Dec 27, 2005 8:00 am
Post subject: Forum topic display incorrectly

Hi all,

Hope someone would kindly help me out, I have tried searching through other posts but can't find anything posts regarding this weird problem I'm having.

Whenever I post in the forum, all the post texts seem to be displaying correctly, it even showed up correctly via the forum scroll module. But as soon as I click into any particular topic to read, the texts in the Title of the forum display weird, funny characters, however, the post body texts are still readable correctly without problems.

So I don't know the reason why that the text appearing differently like that. Is there any fix for it? or has anyone experiencing this same problem as I am? Please, I need your help. Sad

Thanks advance.


vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
Back to top
View user's profile Visit poster's website
pretzy
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Sep 09, 2005
Posts: 519
Location: Australia
PostPosted: Tue Dec 27, 2005 9:02 am
Post subject: Re: Forum topic display incorrectly

i dont know if this is related, but i have noticed some sites i visit display weird garbled text if i have not enabled javascript for the site

_________________
Pretzy's Place Pertzel Family Tree History Genealogy
Riverlife Church Henty

pretzy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP_Apache 2.2.2_MySQL 5.0.21_PHP 5.1.4_CPGNuke 9.1.1
Back to top
View user's profile Visit poster's website
vinhkhang_melb
Newbie
Newbie

Offline Offline
Joined: Aug 06, 2004
Posts: 26

PostPosted: Tue Dec 27, 2005 11:53 am
Post subject: Re: Forum topic display incorrectly

I found this utf8_encode() function from other posts, which just might be resolving the issue if somebody can point out which file & where exactly I should be editing for the Subject posting line of the forum is.

Please helpppp me, thanks Crying or Very sad


vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Tue Dec 27, 2005 9:21 pm
Post subject: Re: Forum topic display incorrectly

@vinhkhang_melb I browsed your site with mozilla and could not find an instance where the topic title is not displaying correctly, can you give us a link to the specific page where this occurs?

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
vinhkhang_melb
Newbie
Newbie

Offline Offline
Joined: Aug 06, 2004
Posts: 26

PostPosted: Tue Dec 27, 2005 10:14 pm
Post subject: Re: Forum topic display incorrectly

Hi akuma,

Try one of this topic link: Click here

I have asked a number of people accessing this same page, they all said seeing square boxes like this � to some characters displaying only on the Subject line of the topic but not any elsewhere. I know it sounds weird, but from what I understand, my system does have the supplemental language support installed from the control panel > Regional & language options > language. I don't see such problem exists, but others didn't install that language support, they see � characters. But it only appeared in the Subject line of the topic.

So I'm pretty quite dumbfounded, any ideas akuma?


vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Tue Dec 27, 2005 10:34 pm
Post subject: Re: Forum topic display incorrectly

I have see a display issue where on a system the page title does not display utf correctly while the rest of the page does and i can only think that is is a m$ bug... and their workaround is to install the lang pack...

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
vinhkhang_melb
Newbie
Newbie

Offline Offline
Joined: Aug 06, 2004
Posts: 26

PostPosted: Wed Dec 28, 2005 1:31 am
Post subject: Re: Forum topic display incorrectly

My website is currently using the vietnamese language pack, I've tried to delete & re-install the language pack through the Admin control panel a couple of times. But it still having the same result of showing square & other funny characters at the Subject line in the forum posts.

please helpppp Crying or Very sad Crying or Very sad


vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Wed Dec 28, 2005 3:11 am
Post subject: Re: Forum topic display incorrectly

I can see chars perfectly encoded on IE, Firefox and Opera on my WIn XP with asian language installed.
Quote::
Posted: Sun Dec 25, 2005 10:26 am Post subject: Sự Ảnh Hưởng Văn Hóa Đạo Đức Của Thầy TL

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
vinhkhang_melb
Newbie
Newbie

Offline Offline
Joined: Aug 06, 2004
Posts: 26

PostPosted: Wed Dec 28, 2005 3:47 am
Post subject: Re: Forum topic display incorrectly

NanoCaiordo wrote:
I can see chars perfectly encoded on IE, Firefox and Opera on my WIn XP with asian language installed.
Quote::
Posted: Sun Dec 25, 2005 10:26 am Post subject: Sự Ảnh Hưởng Văn Hóa Đạo Đức Của Thầy TL

Same here Nano, you won't see the square chars if you had the Asian language installed on your system. But there are many others don't have the Asian language supplementary support installed by default.

I have no issues with it either, but I do have complaints from other users who said they can't read the Subject title due to the incorrect encoding. But somehow, it only messes up in the Subject line of the forum and not affect anywhere else of the website.

Do you happen to know the file & which particular section where the Subject line might be? I might like to have a crack at it by putting the utf8_encode() to that line and hoping to resolve this weird issue. Smile


vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
Back to top
View user's profile Visit poster's website
alva
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: May 31, 2005
Posts: 1150
Location: The Netherlands
PostPosted: Wed Dec 28, 2005 1:01 pm
Post subject: Re: Forum topic display incorrectly

Your topictitle is fine in Firefox, in IE it is not.

BUT
the pagetitle that the browser shows has boxes instead of arrows both in Firefox and IE. Not just your site, dragonflycms.org, as well.

Favorites (IE) has boxes with dragonflycms.org but not with your site.

I'm running XP Pro/IE English with Dutch as my default language and no Asian pack.


alva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/5.0.24/5/9.1 CVS
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Thu Dec 29, 2005 12:54 am
Post subject: Re: Forum topic display incorrectly

You might try
Code::
Fix_Quotes($topictitle,1,1)
rather than utf8_encode in the file modules/forums/viewtopic.php to see if that helps?

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
vinhkhang_melb
Newbie
Newbie

Offline Offline
Joined: Aug 06, 2004
Posts: 26

PostPosted: Thu Dec 29, 2005 3:43 am
Post subject: Re: Forum topic display incorrectly

hi akuma,

Frankly, I'm not really a PHP guru, I don't know exactly where to insert that particular code. Would you please tell me where exactly I should modify the file, I'm very much appreciated. Embarassed


vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Thu Dec 29, 2005 7:42 pm
Post subject: Re: Forum topic display incorrectly

line 418 of modules/Forums/viewtopic.php

find
PHP:
$page_title = $forum_topic_data['cat_title'].' '._BC_DELIM.' '.$forum_name.' '._BC_DELIM.' '. $topic_title;
replace with
PHP:
$page_title = $forum_topic_data['cat_title'].' '._BC_DELIM.' '.$forum_name.' '._BC_DELIM.' '. $topic_title;
$page_title = Fix_Quotes($page_title,1,1);

This really should not be needed if a user has the correct languages install of if windows supported utf-8 properly but may be a workaround for you.... let me know if it helps.

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
vinhkhang_melb
Newbie
Newbie

Offline Offline
Joined: Aug 06, 2004
Posts: 26

PostPosted: Fri Dec 30, 2005 12:32 am
Post subject: Re: Forum topic display incorrectly

Akuma,

I've tried it, but it is still no good. Still seeing square boxes in the Title. Sad


vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
Back to top
View user's profile Visit poster's website
vinhkhang_melb
Newbie
Newbie

Offline Offline
Joined: Aug 06, 2004
Posts: 26

PostPosted: Tue Jan 03, 2006 12:30 am
Post subject: Re: Forum topic display incorrectly

Anyone had a fix for this problem or any good suggestions? Please help. Sad


vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  i18n - l10n (languages)
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

lesa meira...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy