Author |
Topic  |
n/a
deleted
  
593 Posts |
Posted - 26 February 2002 : 15:53:30
|
Preview window comes back with "No Messages to Preview" and blank after editing/putting a message - JAPANESE (4.03B).
I have a mockup site running on Brinkster...language packs installed with Japanese, German-ISE and French. QA'ing primarily Japanese.
Any ideas why this is?
Thanks. LeoRat
[moved by bozden on 30 September 2002]
< |
Edited by - Deleted on 30 September 2002 18:18:11 |
|
Nathan
Help Moderator
    
USA
7664 Posts |
Posted - 26 February 2002 : 18:34:54
|
Could it be that the javascript is haveing problems with the characters?
A link to your mock up forum could be helpful 
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource< |
 |
|
Deleted
deleted
    
4116 Posts |
Posted - 26 February 2002 : 20:13:08
|
I tried it at http://www26.brinkster.com/leorat2/forum/ and it did not work in any language. Some questions: 1. What exact version do you use (did you apply any patches)? I'm asking this, because the *'s are there (should be removed with patches) 2. Did you ever made changes to code? 3. Did you fill the Admin part with correct values?
You can send me post.asp, pop_preview.asp for me to look at and/or upgrade me to admin temporarily to make a check the admin part.
Btw: Thank you for the language file .
Think PinkPost v40b03 Patches< |
 |
|
n/a
deleted
  
593 Posts |
Posted - 26 February 2002 : 21:13:18
|
quote:
I tried it at http://www26.brinkster.com/leorat2/forum/ and it did not work in any language. Some questions: 1. What exact version do you use (did you apply any patches)? I'm asking this, because the *'s are there (should be removed with patches) 2. Did you ever made changes to code? 3. Did you fill the Admin part with correct values?
You can send me post.asp, pop_preview.asp for me to look at and/or upgrade me to admin temporarily to make a check the admin part.
Btw: Thank you for the language file .
Think PinkPost v40b03 Patches
Ok, I messed it up again??!! Let me respond to your questions: 1. Version 4.03B Lang1033 (the latest) fron your patch, 1041 the lastest which I was working on. Other langs - latest in the last submitted version to your Forum. 2. Changes: Config.asp - setting multiple language as instructed. Langxxx.asp - setting language code to utf-8 Code changes....As I was having problems in uploading files to Brinkster, some changes were made. *VBScript.ScriptTimeout value admin_count.asp -> to 90 (as a value set by V3.03 Brinkster files - which I found in one of the Forums) *admin_forums.asp -> to 60 (Brinkster indicated 60sec is the acceptable value) *Other files with improper use of 'on error resume next" ->edited/added "on error goto 0" as found in V3.03 Brinkster files. (I went through line by line between both V3.03 and V4.03b files and didn't really see major changes in those - however, I guess I wouldn't know..) Files are: admin_config_email.asp, admin_mod_dbsetup.asp, inc_create_forum_mysql.asp, inc_create_forum_sql7.asp, inc_functions.asp, inc_mail.asp, inc_profile.asp, pop_profile.asp, post.asp, post_info.asp, search.asp, testemailcomponent.asp
Sound like making this change to V4.03b based on a successful V3.03 Brinkter files may have screwed it up??????!!! 3. Admin - I thought I did.... am not quite clear on "correct values" here..can you verify?
I will send you post.asp and pop_preview.asp. (or maybe I should zip all the above asp files with "on error goto next" problems "fixed" with adding "on error goto 0"...for uploading)?
Am still kind of new here: How can I set you up as Admin?
Finally, *mark in English-US: I was about to do this today. Thanks for reminding on this.
Also, this may be a separate topic (and someone might have already raised a question) but I realize that db (Access2000 in this case) under V4.x is now fully "internationalized/globalized" to have multiple languages - esp with utf-8. Will a new version will have a filtering capability to group forums by languages or show language content associated with a language selected?
Thanks. LeoRat
< |
 |
|
n/a
deleted
  
593 Posts |
Posted - 26 February 2002 : 23:01:57
|
Wooooops... Removed * in lang1033.asp and uploaded to Brinkster....and now getting this and cannot start FORUM
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/leorat2/forum/Lang1033.asp, line 139
strLangAdmin_Config_Colors00030 = "Font/Table Color Code Configuration" "Font/Table Color Code Configuration" ------------------------------------------------------------------------------------------^
What wrong with this one?
BOZDEN, I sent a zip containing all "touched asp files"
I guess I cannot do anything about giving you a tempoary Admin access for now.....
Thanks LeoRat
< |
 |
|
n/a
deleted
  
593 Posts |
Posted - 26 February 2002 : 23:03:28
|
quote:
Wooooops... Removed * in lang1033.asp and uploaded to Brinkster....and now getting this and cannot start FORUM
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/leorat2/forum/Lang1033.asp, line 139
strLangAdmin_Config_Colors00030 = "Font/Table Color Code Configuration" "Font/Table Color Code Configuration" ------------------------------------------------------------------------------------------^
What wrong with this one?
BOZDEN, I sent a zip containing all "touched asp files"
I guess I cannot do anything about giving you a tempoary Admin access for now.....
Thanks LeoRat
The error message arrow pointing to " before Font/... of the second.
< |
 |
|
Nathan
Help Moderator
    
USA
7664 Posts |
Posted - 27 February 2002 : 01:10:35
|
strLangAdmin_Config_Colors00030 = "Font/Table Color Code Configuration" ' "Font/Table Color Code Configuration"
You need that little comment there.
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource< |
 |
|
seahorse
Senior Member
   
USA
1075 Posts |
Posted - 27 February 2002 : 04:38:21
|
quote:
strLangAdmin_Config_Colors00030 = "Font/Table Color Code Configuration" ' "Font/Table Color Code Configuration"
You need that little comment there.
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource
Wow. That's fast...
K
=============== The greatest tragedy is a child without a loving parent.< |
 |
|
Deleted
deleted
    
4116 Posts |
Posted - 27 February 2002 : 06:04:27
|
quote:
Removed * in lang1033.asp and uploaded to Brinkster....and now getting this and cannot start FORUM
Best replace method is to use Lang1033.asp from the patch. Second: replace |= "*| with |= "| (The pipe sign | is used as separator).
Think PinkPost v40b03 Patches
Edited by - bozden on 27 February 2002 06:06:15< |
 |
|
Deleted
deleted
    
4116 Posts |
Posted - 27 February 2002 : 06:24:39
|
No, you did nopt messed anything up . Like a doctor does I was just asking "do you sleep well" when you talk about headaches. I'll look at the files.
quote:
Am still kind of new here: How can I set you up as Admin?
From my profile (From members, click edit profile button near my line - you must be admin)
quote:
Finally, *mark in English-US: I was about to do this today. Thanks for reminding on this.
Probably you applied the fixes one by one. Because of the Brinkster changes you cannot just overwrite the files, I think.
quote:
Also, this may be a separate topic (and someone might have already raised a question) but I realize that db (Access2000 in this case) under V4.x is now fully "internationalized/globalized" to have multiple languages - esp with utf-8. Will a new version will have a filtering capability to group forums by languages or show language content associated with a language selected?
The default DB is A97, but will include A97 and A2K in the next release, most of us [u]have[u] to use A2K thou.
I'm not sure on multi language content. Do you mean something like on my Virtual Istanbul Museum site where category/forum names etc change with a language change, where also the posts change (if entered in multiple languages)?
This requires to many changes in code and most of the field sizes has to be increased, thus giving some performance hit. Probably I'll just release it as a MOD. Waht do you think? Do we need that?
What you did on you forum is exactly what I was thinking by enabling multiple languages.
Think PinkPost v40b03 Patches< |
 |
|
Deleted
deleted
    
4116 Posts |
Posted - 27 February 2002 : 07:19:32
|
Now I see the problem. Probably you played with the files to find a solution but:
in post.asp, near line 215, change your function from (I clipped some lines to prevent hor. scroll):
function OpenPreview() { var curCookie = "strMessagePreview=" + escape(document.PostTopic.Message.value); document.cookie = curCookie; popupWin = window.open('pop_preview.asp', 'preview_page', 'scrollbars=yes,width=750,height=450') }
To:
function OpenPreview() { popupWin = window.open('pop_preview.asp', 'preview_page', 'scrollbars=yes,width=750,height=450') }
in pop_preview.asp, either replace your copy from the distribution, or change everything from:
<!--#INCLUDE FILE="config.asp" --> <!--#INCLUDE FILE="inc_functions.asp" --> <% strMessagePreview = Request.Cookies("strMessagePreview") Response.Cookies("strMessagePreview") = "" if strMessagePreview = "" or IsNull(strMessagePreview) then strMessagePreview = "" & fLang(strLangPop_Preview00010) & "" end if %> <!--#INCLUDE FILE="inc_top_short.asp"--> <script language="JavaScript"> <!-- function jumpTo(s) {if (s.selectedIndex != 0) top.location.href = s.options[s.selectedIndex].value;return 1;} // --> </script> <table border="0" width="100%" height="80%" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="<% =strTableBorderColor %>"> <table border="0" width="100%" height="100%" cellspacing="1" cellpadding="4"> <tr> <td align="center" bgcolor="<% =strHeadCellColor %>" width="<% =strTopicWidthRight %>" height="20" <% if lcase(strTopicNoWrapRight) = "1" then Response.Write(" nowrap") %>> <b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>"> <% =fLang(strLangPop_Preview00020) %></font></b></td> </tr> <tr> <td bgcolor="<% =strForumCellColor %>" valign="top"> <font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> <% =formatStr(chkString(strMessagePreview,"preview")) %></font> </td> </tr> </table> </td> </tr> </table> </div> <!--#INCLUDE FILE="inc_footer_short.asp" -->
To:
<!--#INCLUDE FILE="config.asp" --> <!--#INCLUDE FILE="inc_functions.asp" --> <!--#INCLUDE FILE="inc_top_short.asp"--> <script language="JavaScript"> function submitPreview() { document.previewTopic.message.value = window.opener.document.PostTopic.Message.value; document.previewTopic.submit() } </script> <% if request("mode") = "" then %> <form action="pop_preview.asp" method="post" name="previewTopic"> <input type="hidden" name="message" value=""> <input type="hidden" name="mode" value="display"> </form> <script language="JavaScript">submitPreview();</script> <% else strMessagePreview = Request.Form("message") if strMessagePreview = "" or IsNull(strMessagePreview) then strMessagePreview = "" & fLang(strLangPop_Preview00010) & "" end if %> <table border="0" width="100%" height="80%" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="<% =strTableBorderColor %>"> <table border="0" width="100%" height="100%" cellspacing="1" cellpadding="4"> <tr> <td align="center" bgcolor="<% =strHeadCellColor %>" width="<% =strTopicWidthRight %>" height="20" <% if lcase(strTopicNoWrapRight) = "1" then Response.Write(" nowrap") %>> <b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>"> <% =fLang(strLangPop_Preview00020) %></font></b></td> </tr> <tr> <td bgcolor="<% =strForumCellColor %>" valign="top"> <font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> <% =formatStr(chkString(strMessagePreview,"preview")) %></font></td> </tr> </table> </td> </tr> </table> </div> <% end if %> <!--#INCLUDE FILE="inc_footer_short.asp" -->
The JS escape cause problems with non-ascii (128+) characters (not a bug, it is that functions intention) but this absolutely fail with utf8 I think.
Btw: You don't have the latest patch (patch002).
Think PinkPost v40b03 Patches
Edited by - bozden on 28 February 2002 19:49:54
Edited by - bozden on 28 February 2002 19:57:16< |
 |
|
n/a
deleted
  
593 Posts |
Posted - 27 February 2002 : 17:35:25
|
quote:
strLangAdmin_Config_Colors00030 = "Font/Table Color Code Configuration" ' "Font/Table Color Code Configuration"
You need that little comment there.
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource
Done, worked! Mahalo!!!
LeoRat
< |
 |
|
Deleted
deleted
    
4116 Posts |
Posted - 27 February 2002 : 17:54:03
|
Good to hear this.
One question: How can I work with your files you sent to me (what editor, encoding do you use). I'm a total newbee to utf-8 .
Think PinkPost v40b03 Patches< |
 |
|
n/a
deleted
  
593 Posts |
Posted - 27 February 2002 : 18:22:37
|
Hi Bozden - THANKS!!! WOW. You are GOOD.
---------------- From my profile (From members, click edit profile button near my line - you must be admin) <== Thanks. -----------------
Probably you applied the fixes one by one. Because of the Brinkster changes you cannot just overwrite the files, I think.
<==Yes, am a real newbie for both enviornment...and easiest way for me was to have files open to compare...and wasn't really efficient. So, I had to print them out to go one by one...I don't have a real good progamming editor enviornment...(line showing line numbers....) -------
The default DB is A97, but will include A97 and A2K in the next release, most of us [u]have[u] to use A2K thou.
<==on Brinkster, both worked. However, as it is now defaulted to AC2000, I uploaded a "clean DB" version of AC2000 posted. And it's ok.
--------- I'm not sure on multi language content. Do you mean something like on my Virtual Istanbul Museum site where category/forum names etc change with a language change, where also the posts change (if entered in multiple languages)?
<==yes, something like that. From a user interface perspective, how many of visitors or Forum members would care about seeing all language versions except the one they use...It appears that one way to handle this is to designate particular Forums with particular languages at a global level....I haven't seen your forum so I will check how you implemented. One approach is to have a language detection feature at the top level (like browser default/preferred language setting of a particular visitor in addition to a typical broswer version etc. info) and dynamically switch to a language page and show it upon accessing to a forum. Then, if a visitor want to switch to a particular language version, can click in a language selection box and go to that, and perhaps at different levels dynamically switch to different language pages corresponding....or soemthing of that nature. (I'm bit biased or accustomed to this from my own experience in globalized dynamic database driven web site with multiple languages...so my thinking is bit influenced by this.) --------- This requires to many changes in code and most of the field sizes has to be increased, thus giving some performance hit. Probably I'll just release it as a MOD. Waht do you think? Do we need that?
<==This is a good question. I am not sure, although packing it in MOD makes lots of sense. Probably it's a good idea to check with others especially those who will be deploying international versions whether they really...it depends on application. It is a bit of a design issue for Forum although DB is already enabled to be a globalized DB environemt to handle multiple language encoding data (I think).
------ What you did on you forum is exactly what I was thinking by enabling multiple languages. <====Dixon has deployed a multiple web enviornment using all existing languge packs - see http://www.websitetrans.com/translators/forums2002/ which is very nice for a forum testing whose Forum design concept is very much like globalized web site that I was involved in, but again, there is a major difference between the web site publishing model and BBS model, which is close to auction or other transaction model...for handling multilingual content/messages. I am quite impressed with what you did. You did a tremendous job in internatinalizing Snitz Forum architecture. Since it is already a single globalized dynamic database driven forum, I sense an inssue is handling front end "presentation" side of Forum on web....so my question above. -----
Above all, thanks for all your prompt support on my immediate issues   
.... BTW, I did upload post40b03patch002...although some of them were amended... believing that respective files with error generated need to be amended to put on Brinkster... (I thought so anyway...doing lots of different things at different directions, besides learning about Forum...)..Any further suggestion here? Shall I re-do uploading patches??
YOUR PROMPT RESPONSE helped to get site up again and running. Tested preview in Japanese from a participant from Japan...interesting but someone already started testing this Forum.
Will continue "debugging" in a production enviornment...
Best, LeoRat
< |
 |
|
n/a
deleted
  
593 Posts |
Posted - 27 February 2002 : 19:19:39
|
quote:
Good to hear this.
One question: How can I work with your files you sent to me (what editor, encoding do you use). I'm a total newbee to utf-8 .
Think PinkPost v40b03 Patches
Well, I am not a unicode/utf-8 expert. ..I guess our resident unicode expert is Dixon. Check our dialogues on getting Forum format on utf-8 at http://forum.snitz.com/forum/topic.asp?TOPIC_ID=22114...you will see some interesting discussions there.
One problem of having national encoding schemes - Shift-JIS, etc. for Japanese, rather than unicode, is that particular char representation will appear totally corrputed in different encoding enabled browser view...but if it is in unicode all different chars can be reprented (like my default i2AsiaForum page...) ...I found that installing Langxxx.asp as is will set Forum representation subject to this problem.
I recently found this editor, EMeditor, which support various types of encoding schemes as well languages..and quite flexible and extensive. This is nice for a guy like me start re-learning a bit about scripting... For editing asp files, I have been using both NotePad2002 and this editor... Check http://www.emurasoft.com for downloading EMeditor3.
Thanks, LeoRat
< |
 |
|
Deleted
deleted
    
4116 Posts |
Posted - 27 February 2002 : 19:27:25
|
quote:
<====Dixon has deployed a multiple web enviornment using all existing languge packs - see http://www.websitetrans.com/translators/forums2002/ which is very nice for a forum testing whose Forum design concept is very much like globalized web site that I was involved in, but again, there is a major difference between the web site publishing model and BBS model, which is close to auction or other transaction model...for handling multilingual content/messages. I am quite impressed with what you did. You did a tremendous job in internatinalizing Snitz Forum architecture. Since it is already a single globalized dynamic database driven forum, I sense an inssue is handling front end "presentation" side of Forum on web....so my question above. -----
Hmm. On that site, the (special) Turkish characters are not rendered correctly. I tried all related encodings, including auto. The hardcoded (?) encoding is "charset=utf-8" Can you provide some info what is done there?
You got deep into utf-8 to solve Japanese problems, I think you can help me on this.
Think PinkPost v40b03 Patches< |
 |
|
Topic  |
|
|
|