Jump to content
Latest News: (loading..)

fantomen

Members
  • Content count

    180
  • Joined

  • Last visited

1 Follower

About fantomen

Profile Information

  • Real Name
    Hans
  • Gender
    Male
  • Location
    SWEDEN
  • Interests
    osCommerce 2.3.4.1 Frozen

Recent Profile Visitors

2,104 profile views
  1. I have now succeded to uninstall this module. Now I will try to install your new multilanguage module.
  2. Normally I always copy the english language folder and then rename it to swedish but in this module you have made this is not that easy. I have installed JcM Product info description_tabs CE version from 9th January 2019 So how do I add my language to this module you have made? In catalog-includes-languages-english-modules-content-product_info I can see this file in the folder product_info: cm_pi_description_tabs And this is how it looks like when I open this file: ---------------------------------------------------------------------------------------------- <?php /* Copyright (c) 2018, Z Iqbal based on code Copyright (c) 2018, G Burton All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ const MODULE_CONTENT_PI_DESCRIPTION_TABS_TITLE = 'Description with Tabs'; const MODULE_CONTENT_PI_DESCRIPTION_TABS_DESCRIPTION = 'Shows the Products Description with Tabs on the product_info Page.'; -------------------------------------------------------------------------------------------- Just changing this text in this file to swedish language does not help me because I need the TABS in swedish language on the swedish page. I belive every person who lives in a country that english is not the main language would like to have the tabs in their own countrys language? So if you guide me how I can change the tabs text to swedish language on the swedish page and so that the tabs in english language remain on the english page I am very interested to try to do this.
  3. My site is still under development. I have not added product descriptions in english language yet I have already understood that your module was not multilanguage module. I hope that you or some other developer can make this module multilanguage compatibel because I belive I am not alone using your module with tabs and would like to translate the text in the tabs to other languages than english language? It is a great module and for my need even better if it gets multilanguage compatible.
  4. When I change language on the tabs to swedish language then it also changes to swedish on the tabs on the english page. I want the swedish language on the tabs for swedish pages and english language on the tabs for english pages. How may I solve this issue?
  5. fantomen

    City Ajax auto complete

    What changes is needed for this module to function with my installed version FROZEN: osCommerce Online Merchant v2.3.4.1 CE ? City Ajax Auto Complete https://apps.oscommerce.com/cTiQG&amp;city-ajax-auto-complete I paste the instructions in english language here: I have used chrome auto translate to translate from French to English language. City Ajax Auto Complete 1 ::: Features --------------------------------------------- ---------------- This contribution allows the self-completion of the city, region and country fields via the postal code indicated by the customer on the create_account.php page. A javascript code allows the arrival on the page to automatically detect the visitor's country and automatically selects it in the drop-down list of countries. Then the customer completes the registration form, when he completes his postal code the script automatically searches for the city and region concerned by this postal code and enters it in the fields concerned, if several possibilities of cities are found then a list with all cities is placed below the city field it remains only to make its choice. This script was found on the internet on the following page: Address Autocomplete with JSON webservice http://www.geonames.org/export/ajax-postalcode-autocomplete.html This webservice contains all the data of countries, postal codes and cities and avoids having to create a table containing all these data and avoids overloading our database with the thousands of information necessary for auto-completion, this makes this contribution usable by any user of oscommerce in any country. 2 ::: Files --------------------------------------------- ---------------- 3 new files and 1 image to upload. catalog / js / city_ajax.js catalog / js / geonamesData.js catalog / js / jsr_class.js catalog / images / progress_arrow.gif 3 files to modify. Catalog / create_account.php catalog / includes / functions / html_output.html catalog / includes / functions / general.php 3 ::: Installation --------------------------------------------- ---------------- Step 1: Upload File Upload new files with the folder "js" into the "catalog" directory of your site like this: "catalog / js". Upload the progress_arrow.gif file to the "catalog / images /" folder like this: "catalog / images / progress_arrow.gif". Step 2: In catalog / stylesheet.css Open the catalog / stylesheet.css file Add the following code at the end of the file: /* City_Ajax_Auto_Complete */ #suggestBoxElement { border: 1px solid #8FABFF; visibility:hidden; text-align: left; white-space: nowrap; background-color: #eeeeee; cursor: pointer; } .suggestions { font-size: 11; background-color: #eeeeee; } .suggestionMouseOver { font-size: 11; background: blue; color: white; } /* City_Ajax_Auto_Complete */ Step 3: In catalog / includes / functions / html_output.php search for the following function: //// // Creates a pull-down list of countries function tep_get_country_list($name, $selected = '', $parameters = '') { $countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT)); $countries = tep_get_countries(); for ($i=0, $n=sizeof($countries); $i<$n; $i++) { $countries_array[] = array('id' => $countries[$i]['countries_id'], 'text' => $countries[$i]['countries_name']); } return tep_draw_pull_down_menu($name, $countries_array, $selected, $parameters); } Replace with: //// // Creates a pull-down list of countries function tep_get_country_list($name, $selected = '', $parameters = '') { $countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT)); $countries = tep_get_countries(); for ($i=0, $n=sizeof($countries); $i<$n; $i++) { $countries_array[] = array('id' => $countries[$i]['countries_iso_code_2'], 'text' => $countries[$i]['countries_name']); } return tep_draw_pull_down_menu($name, $countries_array, $selected, $parameters); } Step 4: In catalog / includes / functions / general.php 1. search for the following function: //// // Returns an array with countries // TABLES: countries function tep_get_countries($countries_id = '', $with_iso_codes = false) { $countries_array = array(); if (tep_not_null($countries_id)) { if ($with_iso_codes == true) { $countries = tep_db_query("select countries_name, countries_iso_code_2, countries_iso_code_3 from " . TABLE_COUNTRIES . " where countries_id = '" . (int)$countries_id . "' order by countries_name"); $countries_values = tep_db_fetch_array($countries); $countries_array = array('countries_name' => $countries_values['countries_name'], 'countries_iso_code_2' => $countries_values['countries_iso_code_2'], 'countries_iso_code_3' => $countries_values['countries_iso_code_3']); } else { $countries = tep_db_query("select countries_name from " . TABLE_COUNTRIES . " where countries_id = '" . (int)$countries_id . "'"); $countries_values = tep_db_fetch_array($countries); $countries_array = array('countries_name' => $countries_values['countries_name']); } } else { $countries = tep_db_query("select countries_id, countries_name from " . TABLE_COUNTRIES . " order by countries_name"); while ($countries_values = tep_db_fetch_array($countries)) { $countries_array[] = array('countries_id' => $countries_values['countries_id'], 'countries_name' => $countries_values['countries_name']); } } return $countries_array; } 2. Replace with: //// // Returns an array with countries // TABLES: countries function tep_get_countries($countries_id = '', $with_iso_codes = false) { $countries_array = array(); if (tep_not_null($countries_id)) { if ($with_iso_codes == true) { $countries = tep_db_query("select countries_name, countries_iso_code_2, countries_iso_code_3 from " . TABLE_COUNTRIES . " where countries_id = '" . (int)$countries_id . "' order by countries_name"); $countries_values = tep_db_fetch_array($countries); $countries_array = array('countries_name' => $countries_values['countries_name'], 'countries_iso_code_2' => $countries_values['countries_iso_code_2'], 'countries_iso_code_3' => $countries_values['countries_iso_code_3']); } else { $countries = tep_db_query("select countries_name from " . TABLE_COUNTRIES . " where countries_id = '" . (int)$countries_id . "'"); $countries_values = tep_db_fetch_array($countries); $countries_array = array('countries_name' => $countries_values['countries_name']); } } else { $countries = tep_db_query("select countries_id, countries_iso_code_2, countries_name from " . TABLE_COUNTRIES . " order by countries_name"); while ($countries_values = tep_db_fetch_array($countries)) { $countries_array[] = array('countries_id' => $countries_values['countries_id'], 'countries_iso_code_2' => $countries_values['countries_iso_code_2'], 'countries_name' => $countries_values['countries_name']); } } return $countries_array; } Step 5: In catalog create_account.php 1. Search: $country = tep_db_prepare_input($HTTP_POST_VARS['country']); 2. Replace with: $input_country = tep_db_prepare_input($HTTP_POST_VARS['country']); $country_query = tep_db_query("select countries_id, countries_iso_code_2 from " . TABLE_COUNTRIES . " where countries_iso_code_2 = '" . tep_db_input($input_country) . "'"); $country_result = tep_db_fetch_array($country_query); $country = $country_result['countries_id']; 3. Search: <link rel="stylesheet" type="text/css" href="stylesheet.css"> 4. Add just below: <script type="text/javascript" src="js/geonamesData.js"></script> <script type="text/javascript" src="js/jsr_class.js"></script> <script type="text/javascript" src="js/city_ajax.js"></script> 5. Search: <body> 6. Replace with: <body onload="setDefaultCountry();"> 7. Search: <td class="main"><?php echo tep_draw_input_field('postcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> 8. Replace with <td class="main"><?php echo tep_draw_input_field('postcode','','onblur="postalCodeLookup();"') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> 9. Search: <td class="main"><?php echo tep_draw_input_field('city') . ' ' . (tep_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">' . ENTRY_CITY_TEXT . '</span>': ''); ?></td> 10. Replace with: <td class="main"><div style="position: relative; z-index: 24;"><?php echo tep_draw_input_field('city','','onfocus="postalCodeLookup();" onblur="closeSuggestBox();"') . ' ' . (tep_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">' . ENTRY_CITY_TEXT . '</span>': ''); ?><div style="position: absolute; width: 256px; top: 20px; left: 0px; z-index:25; visibility: hidden;" id="suggestBoxElement"></div></div></td> Step 6: Finished !! The installation is finished !! I am interested to get this module to function with the responsive version FROZEN: osCommerce Online Merchant v2.3.4.1 CE. All answers are interesting.
  6. fantomen

    Is version 3 in production?

    I have seen these in the front page on https://apps.oscommerce.com/ https://apps.oscommerce.com/tm0Fp&amp;web-survey-by-notifyvisitors https://apps.oscommerce.com/9IhBM&amp;web-push-by-notify-visitors https://apps.oscommerce.com/tkRHv&amp;web-banner-by-notifyvisitors https://apps.oscommerce.com/5vKqZ&amp;net-promoter-score-by-notifyvisitors https://apps.oscommerce.com/oJwJO&amp;lead-form-by-notifyvisitors https://apps.oscommerce.com/AAnlX&amp;heatmaps-by-notifyvisitors https://apps.oscommerce.com/6divr&amp;email-sms-drive-6x-engagement https://apps.oscommerce.com/fmxhm&amp;chatbot-create-ai-backed-conversation And then I see that the same person have made this for 2.3 https://apps.oscommerce.com/SlEyQ&amp;a-b-testing-optimize-conversion-rate Anyway I have no interest in 3.0 version. I have already started building my webshop on responsive osccomerce version: Frozen https://github.com/gburton/Responsive-osCommerce/archive/2341-Frozen.zip Version Checker Installed Version: osCommerce Online Merchant v2.3.4.1 CE And so far I am happy with the this version Frozen.
  7. fantomen

    Is version 3 in production?

    Thank you for your replies. I am not interested in this version just curios of why someone is doing a lot of add-on to this version? https://apps.oscommerce.com/ Someone has made a lot of modules for this version and I do not understand the purpose of doing so.
  8. fantomen

    Is version 3 in production?

    I am curious to know why someone makes a lot of add-on to osCommerce Online Merchant v3.0 when it says above here in the forum that this project is dead? Why is there no demo site for osCommerce Online Merchant v3.0 to be able to see how this platform looks? I think because there is no demo site for this version of oscommerce. = I can not see any platform for this version = zero chance to get an interest in this platform version. So why is somebody making a lot of add-on to this ????? What have I missed? Is there a demo site for this version that I just have not found the website link to the demo site?
  9. I have just added you as an administrator and sent you PM with login
  10. This year you have login to the admin panel
  11. I am stuck. I can not find the module in the admin panel.
  12. When I installed the 2 other times I could see this contribution under Configuration but now I can not see it there.
  13. Where in admin may I find this SEO add-on ?
×