Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

yansfung

Pioneers
  • Posts

    69
  • Joined

  • Last visited

Everything posted by yansfung

  1. Hello, Jack! Your great SEO is little bit complicated for me to trace. I just find: 1. <title>default_title - - product_title </title> , 2.<meta name="Description" content="default_description - - product_description"/> , and 3. <meta name="Keywords" content="default_keyword , , product_keyword" /> It seems the above are the same results from strings concatenation by injecting duplicated separating symbols. Is that right? Which part or function is dealing with the above?
  2. Sorry Detoner! This add-on is tested under 2.3.1 . It did mentioned in the add-on name.

  3. Thanks Jack for your reply! The error prompted at the top is " Your username is invalid. Please change it and try again.: System -> /var/www/html/eFIR/catalog/ - SiteMonitor -> /home/username/public_html".
  4. Hello, Jack! My configure stuck at "Start Directory" set up. My partial admin/include/configure.php is define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/eFIR/catalog/'); define('DIR_WS_ADMIN', '/eFIR/catalog/4DM1N/'); define('DIR_FS_ADMIN', '/var/www/html/eFIR/catalog/4DM1N/'); How to what value should be for "Start Directory"?
  5. It seems that PHP does not properly allow $CONF array to accept multi lingual characters, such as Chinese characters in the Conf.php file. Data string at line 47 have to modify or cannot load properly in "jedit". I have modify apart of the Conf.php code as shown in the following: . . echo "<br />Description=说明,Technical Details=技术细节,Availability=可用性"; //Language Settings $CONF['defaultLanguage'] = 'en'; //will be taken if no specific language is set or a tab name is not defined in a specific language $CONF['tabs']['en'][1] = 'Description'; $CONF['tabs']['en'][2] = 'Technical Details'; $CONF['tabs']['en'][3] = 'Availability'; $CONF['tabs']['cn'][1] = '说明'; $CONF['tabs']['cn'][2] = '技术细节'; $CONF['tabs']['cn'][3] = '可用性'; . . Then put some codes in the file TabMenuSection.php as shown in the following lines: 171 for($x = 1; $x <= $noOfTabsCalculated; $x++) 172 { 173 echo "<br />The TabName is ".$tabName; 174 $tabName = $this->getTabName($x); 175 echo " Then is ". $tabName; 176 $normalDivTab = '<div id="pronuxTab'.$x.'" class="pronuxTabNo rmal" style="background-color: #'.$this->CONF['tabColor'].'; height: '.$t his->CONF['tabHeight'].'px; width: '.$this->getTabWidth($x).'px;">'; 177 The screen prompt for the first "echo" displayed fine. However, Conf.php could not pass the Chinese strings properly to functions of TabMenSection.php. Can somebody help to drop some helpful pointers which someone else has already addressed/fixed this problem? Thanks a lot indeed in advance!! My environment is FC14+LAMP+UTF-8-oSC2.3.1+Eng+Simplified_Chinese. :x
  6. Thanks for your reply Jack! In some case, $TITLE is an empty string so that I have put the following at Line 25 before your "?>" close tag as: Line25 if (!(empty($TITLE))) { Line 26 ?> . . <?php } ?> (at the end) Will this great addon revised for multi-lingual in next coming release? It is locked which not allow to upload any.
  7. Hello, Jack! It seems that the following lines in the file "/catalog/include/modules/header_tags_social_bookmarks.php" of Ver3.2.5 for 2.3.1 can be ignored. Line #26 -- whole line Line #27 -- ignore <td align="right"> and keep <table border="0" width="20%"> Lin2 #37 -- whole line Or show me where I can find the <table>, </table> tags!
  8. Hello Jack! I have use this addon Ver3.2.5 for oSc2.3.1 . I have to modify the close tags of "<meta" to pass the online XHTML validator. And also need to change "content=" instead of "value=" at line 356. The full list that I touched is as following: 345 echo ' <meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET . '" />'."\n";^M 346 echo ' <title>' . $header_tags_array['title'] . '</title>' . "\n";^M 347 echo ' <meta name="Description" content="' . $header_tags_array['desc'] . '" />' . "\n";^M 348 echo ' <meta name="Keywords" content="' . $header_tags_array['keywords'] . '" />' . "\n";^M 349 ^M 350 if ($defaultTags['meta_language']) { $langName = explode(",", $_SERVER["HTTP_ACCEPT_LANGUAGE"]); echo ' <meta http-eq uiv="Content-Language" content="' . $langName[0] . '" />'."\n"; }^M 351 if ($defaultTags['meta_google']) echo ' <meta name="googlebot" content="all" />' . "\n";^M 352 if ($defaultTags['meta_noodp']) echo ' <meta name="robots" content="noodp" />' . "\n";^M 353 if ($defaultTags['meta_noydir']) echo ' <meta name="slurp" content="noydir" />' . "\n";^M 354 if ($defaultTags['meta_revisit']) echo ' <meta name="revisit-after" content="1 days" />' . "\n";^M 355 if ($defaultTags['meta_robots']) echo ' <meta name="robots" content="index, follow" />' . "\n";^M 356 if ($defaultTags['meta_unspam']) echo ' <meta name="no-email-collection" content="'. HTTP_SERVER .'" />' . "\n";^M 357 if ($defaultTags['meta_replyto']) echo ' <meta name="Reply-to" content="' . STORE_OWNER_EMAIL_ADDRESS . '" >' . "\n ";^M 358 if ($defaultTags['meta_canonical']) echo (tep_not_null($canonical_url) ? ' <link rel="canonical" href="'.$canonical_u rl.'" >'. "\n" : ' <link rel="canonical" href="'.GetCanonicalURL().'" />'. "\n");
  9. You got problem at www.api-parts.com with IE8+WinXP ?

  10. Which web link you got problem with IE8+WinXP ?

  11. I can view your site with my WinXP+IE8 in Chinese. No Mess Foung.

    Can you try with your friends in Taiwan to whether the problem is repeatable?

    You use WAMP or LAMP, which one?

  12. Thanks for your implementation report about my Traditional Chinese for oSc 2.3.1 .

    What I.E. version you are using which got the error?

    It is suggested to set the default font of your I.E. to "UTF-8" .

    Since PHP5.x is not yet fully support "utf-8". It is suggested to download a German language pack which file name is "german_pack.zip". Th...

  13. Hello, Jack ! Just learned from this site http://spreadsheets....kXsoM05KQ&gid=1 and quoted from your file "~catalog/locate-us.php" at line 24 $showMap = "http://maps.google.com/maps/api/staticmap?language=<language_code_from_above_link>&center="; works fine for those valid languages defined in the above spread sheet.
  14. It is guessed you installed the EasyMap 3.0 . There is a typo-error of step 8) in the file "~/new_files/readme_install.txt". Please refer the following link: http://www.oscommerce.com/forums/topic/187470-easymap/page__view__findpost__p__1550188 :P
  15. It is guessed that the Easymap version you are installed is 2.x but not sure what version of osc you are using.(EasyMap 2.x is NOT for osc 2.3.x). Google Map API make use of Javascript. Even a single syntax error in the block of script found, the map won't show-up. If your empty table is the "easymap" table, how Google Map API send you the search result without any Lat,Lng location, Zoom Level, and ... ? You need to modify the "easymap_*.sql" or table "easymap" which address and geo-location match your shop site. :rolleyes:
  16. Thanks Jack! It will be a great help for Germanese, French, .. international shops too. :thumbsup:
  17. Thanks Jack for your efficient reply! Here's my "easymap.sql" partial data insertion: INSERT INTO easymap ( street_address , zoomlevel , mapsize , maptype , language_name , markersize , markercolor , markerlabel , markerlocation , language_id , page_text ) VALUES ( '135 Belchar Street, Kennedy Town, HK', '14', '800x600', 'roadmap', 'english', 'mid', 'blue', 'S', '135 Belchar Street, Keenedy Town, Hong Kong', '1', 'See below for our nearest location.' ); . . VALUES ( '香港西環堅尼地城卑路乍街135號', '14', '800x600', 'roadmap', 'Traditional Chinese', 'mid', 'blue', 'N', '香港西環堅尼地城卑路乍街135號', '2', '請參閱以下地圖找出最近的位置.' ); In Asian countries, like Hong Kong, English and Traditional Chinese are the official tongues. As a result, the address can be in both character sets. In China, the address can be in both Simplified Chinese characters and Romanization. Or in Singapore, can be in .... . The above can also be searched in Google Map web site in either character sets. Whenever there is any change in the "Admin-Easymap" GUI, such as "Zoom Level", "Marker Label", all the data set in different language_id for the above "easymap.sql" will be reset to the same. Those fields NOT define in the "update_form" of the "admin/easymap.php" are remained unchanged. :P
  18. This new revision is GREAT, Jack ! Under the multi-lingual 2.3 environment, the "update_form" in "~/admin/easymap.php" ignored the language_id and all records in the "easymap" table will be reset to latest update whenever the [update] button is pressed. Such as, multi-lingual address or the "Market Label" cannot keep for different languages. (I can submit the Traditional Chinese sub-package codes for your troubleshooting, if you want.)
  19. Here is the content of Traditional Chinese translation for V2.0d. <?php define('TEXT_SHOP', '商店'); define('TEXT_ACCOUNT', '帳戶'); define('TEXT_ABOUT', '關於'); define('TEXT_KEYWORDS', '關鍵字'); define('TEXT_MY_ORDERS', '訂單'); define('TEXT_NEWSLETTERS', '時事傳報'); define('TEXT_PRODUCT_OPTIONS', '選項'); ?> :D:P ======================================= If it solve the problem would send me the chinese.php translation file to be included in the next release Thanks
  20. It is free for Google Map V1.x/V2.x if you do not want to be a Premium user. For Google Map 3.x API, it is no need to have the KEY. Just submitted an V3.1 update to this Add-on Download yesterday. The limitation is ONLY for a small area since the boundary check is missed. :P
  21. This script for mine can convert currencies among EURO, RMB, USD, HKD seamless through a single button click. But I do need to know how to set the cron job to update periodically.
  22. Sorry !! My Php skill is at junior level. Can some expert show me the syntax to set the cron jobs with "update_currencies.php" Thanks a lot indeed!
×
×
  • Create New...