Jump to content

Gyakutsuki

♥Ambassador
  • Content count

    727
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Gyakutsuki

  1. Gyakutsuki

    Automatic Currency adjustment by continent

    Currency adjustment by continent ====> the term is not perfect, it's better currency adjustment by country. but you can do also by continent if you want (just a little modification). The module has a very interesting marketing evolution, inside the code, you have all information to increase this aspect. Currently, This contribution identify where you are by your IP, if you are in USA, the currency will be $ US, if you are in Canada, the currency will be in $ CAD. But if you modifiy the code, you can force all the customer to pay in US. At this time, I put inside the contribution, EUR, US, US CAD.
  2. Gyakutsuki

    Automatic Currency adjustment by continent

    A new version has been downloaded. The webservice has been adapted include a new function delete files if there is more 100 files on the server.
  3. Very Good day, and patatra, cheat !! No chance

  4. Gyakutsuki

    Horizontal Nav Bar / Navigationmenu

    try superfish.
  5. why complicate life when it is so simple !!!

  6. Pikes Peaks : go Sebastien Loeb it's now : http://goo.gl/NJh8 After it's to late !!

    1. Gyakutsuki

      Gyakutsuki

      Record explosed 8:10

    2. tgely

      tgely

      crazy cool

  7. Smile getting up allows you to have a better life

    1. GLWalker

      GLWalker

      Not if you need to catch up on sleep.

  8. Come back To Montreal, 29° tomorrow, incredible !

  9. Go Back In South if France for 1 Month. To me the girls, the sea :)

  10. Analyse on the best ecommerce plateform : http://goo.gl/kzdC8

  11. There are days like this !

  12. 30 cm of snow ! Again one time before the end ? That's the question !

    1. MrPhil

      MrPhil

      No thanks, I had groundhog for lunch. Tastes like chicken.

    2. joli1811

      joli1811

      confused is it the 22nd again

    3. joli1811

      joli1811

      Power blackout in Ireland tonight summer is coming but sort of not working guess somebody got the data base query wrong !!

       

    4. Show next comments  27 more
  13. -50° at Montréal ! No, it's not true :)

  14. is it oscommerce add on ? : http://addons.oscommerce.com/info/7679

    1. tgely

      tgely

      Np. My addon is bad too.

    2. Gyakutsuki

      Gyakutsuki

      It's not better to write something (win time for users) for information : http://goo.gl/wJytJ

    3. joli1811

      joli1811

      Got it working

      (harborhoffer) see profile

    4. Show next comments  27 more
  15. Gyakutsuki

    Mapping import

    Module updated, little bugs identified ar now revolved. note : screenshot included in the package. Your return will be appreciate.
  16. Gyakutsuki

    Mapping import

    This is the first release of of mapping importation in oscommerce. He is very easily to instal and if you want for example to import a prestashop database inside oscommerce, it's possible. This topic is created to improve this module. you can find this module here if you want to test Note : you must becarefull with the language id, for the moment the language id must be the same oscommerce database and the import files. this add on is available here : http://addons.oscommerce.com/info/8660
  17. Gyakutsuki

    B2B Data Mapping for import abilities

    you can try that : mapping import http://forums.oscommerce.com/topic/390873-mapping-import/ or other add on
  18. Gyakutsuki

    Automatic Currency adjustment by continent

    how about application_top.php No I compare rapidly your files : general and application_top with original osc, I see nothing.
  19. Gyakutsuki

    Automatic Currency adjustment by continent

    This can be added to detect the language as well ===> Oscommerce do that well. Dolphin, I don't understand what's your problem with general.php ? There is no relation. I test and it work fine on my site. I see nothing on your file for me, maybe the problem can come on your hosting or you do a little error.
  20. Gyakutsuki

    Automatic Currency adjustment by continent

    Example you can do with this contribution You don't want to sell the product the same price on the differents continents, or country This contribution can do that. In currencies section on oscommerce, you can update your currencies or you can change also the amount of conversion. If a customer come from America and clic on french flag, it will see only the price in US and not in EURO. it's impossible for him to compare the price and see the difference Lot big site has this marketing approach. Also lot of persons don't see that, but lot of site change the price if they come with desktop or mobile phone. It consider to create a mobile phone website cost money, and it change the price in function. For example, with this contribution, you can modify the newsletter and send a specific newsletter by continent, country .... ==> that's another marketing approach. the marketing communication approach is not the same in england and America Another exemple, In oder, you can see the address on google map, ip informaton (there is another contribution on that) .... Just a little update this contrib and you can have a lot of informations on your customer for verification or to developp your marketing.
  21. Gyakutsuki

    Automatic Currency adjustment by continent

    in your configure.php : add this define('DIR_FS_CACHE', DIR_FS_CATALOG . 'cache/'); Don't forget to give 777 (recursive) in your geolocalisation directory
  22. Hi robert, my problem is the search in french (boxe search). For example the word supérieur is rewrite suprieur. The é is deleted. If i add é in $language_characters = 'äåæðëöøßþüÿÄÅÆÐËÖØÞÜé'; The research would be good, no ? function cleanseValueString( $string ) { $banned_string_pattern = '@GLOBALS|_REQUEST|base64_encode|UNION|%3C|%3E@i'; // Apply the whitelist // Multi language mod $language_characters = 'äåæðëöøßþüÿÄÅÆÐËÖØÞÜ'; $cleansed = preg_replace ( "/[^\s{}a-z0-9_\.\-@$language_characters]/i", "", urldecode ( $string ) ); // Remove banned words $cleansed = preg_replace ( $banned_string_pattern, '', $cleansed ); // Ensure that a clever hacker hasn't gained himself a naughty double hyphen -- after our cleansing return preg_replace ( '@[-]+@', '-', $cleansed ); } // end method
  23. Hi Robert, This function function cleanseValueString( $string ) { replace the old function function spro_cleanse_get_recursive( $get ) ? ??? when i try to search for example with a word supérieur ==> the research write suprieur with the new function Thank you very for this update and your work +
  24. Gyakutsuki

    pop up country

    Heelo, I try ti insert in my website a pop up country. When the customer arrive in my website, a pop up appear and the customer must choose if it want go in USA store, french store, ou canadian strore for example. My pb is the cookie, When i click on my webpage store, the pop up appear always or, this pop up must appear only one time, when the customer arrive on my website. there the code Do you have an idea with the cookie ? I think the pb is here. Thanks Regards, <script type="text/javascript"> $(function() { $("#modal_country_selector").dialog({ modal: true, draggable: false, stack: false, zIndex: 15000, width: 560, height: 400 }); }); function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else { var expires = ""; } document.cookie = name + "=" + value + expires + "; path=/"; } function selectLanguageData(lang, country) { var currentLanguage = 'CA'; if (lang == currentLanguage) { createCookie('country_bind', country, 10); $("#modal_country_selector").dialog("close"); $("#modal_country_selector").dialog("destroy"); } else { if (country == 'USA') { //location.href = '/boutique/index.php?language=en'; return true; } else { if (lang == 'FR') { return true; //location.href = '/boutique/index.php?language=fr'; } else { return true; //location.href = '/boutique/'; } } } return false; } </script> <style> .popup_countries { background: url("/logo.jpg") no-repeat scroll 0 0 transparent; border: 1px solid #000000; font-family: "Trebuchet MS",Arial,Helvetica,sans-serif; height: 360px; position: relative; text-align: left; text-transform: uppercase; width: 540px; } .popup_countries .text_mark1 { color: #646464; font-size: 12px; height: 33px; left: 0; line-height: 33px; overflow: hidden; position: absolute; text-align: center; top: 82px; width: 269px; } .popup_countries .text_mark2 { color: #646464; font-size: 12px; height: 33px; line-height: 33px; overflow: hidden; position: absolute; right: 0; text-align: center; top: 82px; width: 270px; } .popup_countries .lng_sel { color: #000000; font-size: 14px; font-weight: bold; } .popup_countries .lng_sel a { color: #000000; text-decoration: none; } .popup_countries .lng_sel a:hover { color: #000000; text-decoration: underline; } .popup_countries .lng_sel1 { left: 0; position: absolute; text-align: center; top: 149px; width: 179px; } .popup_countries .lng_sel2 { left: 100px; position: absolute; text-align: center; top: 149px; width: 180px; } .popup_countries .lng_sel3 { left : 200px; position: absolute; right: 0; text-align: center; top: 148px; width: 179px; } .popup_countries .lng_sel4 { left : 300px; position: absolute; right: 0; text-align: center; top: 148px; width: 179px; } </style> <div style="display: block; z-index: 1502; outline: 0px none; position: absolute; height: auto; width: 540px; top: 182px; left: 424px;" class="ui-dialog ui-widget ui-widget-content ui-corner-all ui-resizable" tabindex="-1" role="dialog" aria-labelledby="ui-dialog-title-modal_country_selector"><div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix"><span class="ui-dialog-title" id="ui-dialog-title-modal_country_selector"> </span><a href="#" class="ui-dialog-titlebar-close ui-corner-all" role="button"><span class="ui-icon ui-icon-closethick">close</span></a></div><div style="width: auto; min-height: 0px; height: 360px;" id="modal_country_selector" class="ui-dialog-content ui-widget-content"> <div class="popup_countries"> <div class="text_mark1">CHOISIR VOTRE PAYS ET VOTRE LANGUE</div> <div class="text_mark2">SELECT YOUR COUNTRY AND LANGUAGE</div> <div class="lng_sel lng_sel1"><a onclick=" return selectLanguageData('CA', 'CAN')" href="http://www.site.com/boutique/index.php?language=en"><img width="55" height="33" alt="" src="/boutique/sources/image/icons/icon-canada.gif"/></a><br/><a onclick=" return selectLanguageData('CA', 'CAN')" href="http://www.site.com/boutique/index.php?language=en">English</a></div> <div class="lng_sel lng_sel2"><a onclick=" return selectLanguageData('FR', 'CAN')" href="http://www.site.com/boutique/"><img width="55" height="33" alt="" src="/boutique/sources/image/icons/icon-canada.gif"/></a><br/><a onclick=" return selectLanguageData('FR', 'CAN')" href="http://www.site.com/">Français</a></div> <div class="lng_sel lng_sel3"><a onclick=" return selectLanguageData('CA', 'CAN')" href="http://www.site.com/boutique/index.php?language=en"><img width="55" height="33" alt="" src="/boutique/sources/image/icons/icon-usa.gif"/></a><br/><a onclick=" return selectLanguageData('CA', 'CAN')" href="http://www.site.com/boutique/index.php?language=en">English</a></div> <div class="lng_sel lng_sel4"><a onclick=" return selectLanguageData('FR', 'FR')" href="http://www.site.fr"><img width="55" height="33" alt="" src="/boutique/sources/image/icons/icon-canada.gif"/></a><br/><a onclick=" return selectLanguageData('FR', 'FR')" href="http://www.site.fr/">Français</a></div> </div></div><div class="ui-resizable-handle ui-resizable-n"/><div class="ui-resizable-handle ui-resizable-e"/><div class="ui-resizable-handle ui-resizable-s"/><div class="ui-resizable-handle ui-resizable-w"/><div class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se ui-icon-grip-diagonal-se" style="z-index: 1001;"/><div class="ui-resizable-handle ui-resizable-sw" style="z-index: 1002;"/><div class="ui-resizable-handle ui-resizable-ne" style="z-index: 1003;"/><div class="ui-resizable-handle ui-resizable-nw" style="z-index: 1004;"/></div><div class="ui-widget-overlay" style="width: 1388px; height: 1005px; z-index: 1501;"/>
×