Jump to content

milerwan

Members
  • Content count

    268
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by milerwan

  1. milerwan

    Frozen: tep_draw_button problem

    Thank you, it works ! NB: I've just found the same writing 'newwindows'=>'1' just 3 secondes before your reply but many thanks for your speed. ^^
  2. milerwan

    Frozen: tep_draw_button problem

    @Jack_mcs I'm trying to get a "newwindow" with tep_draw_button function but I failed to make it : if ( isset($params['newwindow']) ) { $button .= ' target="_blank"'; } Do you know how to get it ?
  3. milerwan

    Store Search Bar (BS)

    Please send me your link and/or your files.
  4. This one works with any 2.3.x : https://apps.oscommerce.com/fZMiN&paypal-app
  5. milerwan

    Ezsocial for osC2.3.4BS v1.0a

    @frankl New Ezsocial for osC 2.3.4 BS v1.0b (ezsocial_for_edge_1.0b.rar" file) with : - "Welcome back" messageStack fixed for multi languages - Bug fix for "compound names" (addressed above) - Remodeling email field with "tep_draw_input_field" function with disabled parameter - New social buttons with BS css look (streamlined css, text-center, perfect alignment whatever the language used, hover darker) - Updated English and French languages NB: If you find bugs, please report here. ezsocial_for_edge_1.0b.rar
  6. milerwan

    Ezsocial for osC2.3.4BS v1.0a

    @frankl During my tests, I can recover from Google or Facebook the "First Name" but the "Last name" is incomplete when it is a "compound name" (= with several words). For example : - First name "Diego" => "Diego" - Last name "de la Vegas" => "de" Maybe it will be the same if first name is also composed : - "Don Diego" => "Don" Do you meet the same problem? -------------------------------------------------------------------- Ok I have found how to fix it (and arrange the whole) : 1. In "ezsocial_success.php" file, at line 169, find this : echo tep_draw_hidden_field('social_login', NULL, 'value=social_login'); echo tep_draw_hidden_field('ezsocial_type', NULL, 'value=' . $ezsocial_type); echo tep_draw_hidden_field('ezsocial_id', NULL, 'value=' . $ezsocial_id); and replace by this : echo tep_draw_hidden_field('social_login', 'social_login'); echo tep_draw_hidden_field('ezsocial_type', $ezsocial_type); echo tep_draw_hidden_field('ezsocial_id', $ezsocial_id); 2. At line 207, find this : if($firstname == 'Unknown') { echo tep_draw_input_field('firstname', NULL, 'required aria-required="true" id="inputFirstName" placeholder="' . ENTRY_FIRST_NAME_TEXT . '"'); echo FORM_REQUIRED_INPUT; } else { echo tep_draw_input_field('firstname', NULL, 'value=' . $firstname . ' required aria-required="true" id="inputFirstName"'); echo FORM_REQUIRED_INPUT; } And replace by this : if($firstname == 'Unknown') { echo tep_draw_input_field('firstname', NULL, 'required aria-required="true" id="inputFirstName" placeholder="' . ENTRY_FIRST_NAME_TEXT . '" maxlength="32"'); echo FORM_REQUIRED_INPUT; } else { echo tep_draw_input_field('firstname', $firstname, 'required aria-required="true" id="inputFirstName" maxlength="32"'); echo FORM_REQUIRED_INPUT; } 3. 2. At line 222, find this : if($lastname == 'Unknown') { echo tep_draw_input_field('lastname', NULL, 'required aria-required="true" id="inputLastName" placeholder="' . ENTRY_LAST_NAME_TEXT . '"'); echo FORM_REQUIRED_INPUT; } else { echo tep_draw_input_field('lastname', NULL, 'value=' . $lastname . ' required aria-required="true" id="inputLastName" placeholder="' . ENTRY_LAST_NAME_TEXT . '"'); echo FORM_REQUIRED_INPUT; } And replace by this : if($lastname == 'Unknown') { echo tep_draw_input_field('lastname', NULL, 'required aria-required="true" id="inputLastName" placeholder="' . ENTRY_LAST_NAME_TEXT . '" maxlength="32"'); echo FORM_REQUIRED_INPUT; } else { echo tep_draw_input_field('lastname', $lastname, 'required aria-required="true" id="inputLastName" maxlength="32"'); echo FORM_REQUIRED_INPUT; } 4. At line 252, find this : if($email_address == 'Unknown') { echo tep_draw_input_field('email_address', NULL, 'value=' . $email_address . ' required aria-required="true" id="inputEmail" placeholder="' . ENTRY_EMAIL_ADDRESS_TEXT . '"', 'email'); echo FORM_REQUIRED_INPUT; } else { echo tep_draw_hidden_field('email_address', NULL, 'value=' . $email_address . ' required aria-required="true" id="inputEmail" placeholder="' . ENTRY_EMAIL_ADDRESS_TEXT . '"', 'email'); echo $email_address; } And replace by this : if($email_address == 'Unknown') { echo tep_draw_input_field('email_address', NULL, 'required aria-required="true" id="inputEmail" placeholder="' . ENTRY_EMAIL_ADDRESS_TEXT . '" maxlength="96"', 'email'); echo FORM_REQUIRED_INPUT; } else { echo tep_draw_input_field('email_address', $email_address, 'required aria-required="true" id="inputEmail" maxlength="96" disabled', 'email'); } That's it for fix.
  7. milerwan

    Ezsocial for osC2.3.4BS v1.0a

    @frankl During my tests, I can recover from Google or Facebook the "First Name" but the "Last name" is incomplete when it is a "compound name" (= with several words). For example : - First name "Diego" => "Diego" - Last name "de la Vegas" => "de" Maybe it will be the same if first name is also composed : - "Don Diego" => "Don" Do you meet the same problem?
  8. milerwan

    Ezsocial for osC2.3.4BS v1.0a

    In "ezsocial_success.php" file, at line 104, find this sentense : $messageStack->add_session('product_action', 'Welcome back ' . $ezsocial_first . '. Successfully logged in using ' . ucwords($ezsocial_type), 'success'); and replace by this one to have correct language display: $messageStack->add_session('product_action', sprintf(SOCIAL_LOGINS_LOGIN_SUCCESS, tep_output_string_protected($ezsocial_first), ucwords($ezsocial_type)), 'success'); tep_redirect(tep_href_link('index.php'));
  9. Clearly, the customer must first enter a password / personal information to authenticate from the bank's payment site and then use his mobile phone to receive a confirmation code and always enter it on the payment site as currently with 3D Secure. It remains to be seen if the password / personal information can be entered when registering on Osc then be sent automatically to the bank site (as well as the information on the transaction) to avoid this step.
  10. milerwan

    jQuery vulnerability -- upgrade needed

    Hi Burt, I have an old 2.3.4 version (always under jquery-2.2.3) and when I try to update by jquery-3.4.x, I have issues with : - data-toggle="dropdown" - data-toggle="tab" - modal cart module etc What are the changes to operate to be in line with the new version of jquery ? Is it necessary to update Bootstrap version too to make the new jquery version works or no consequence ? Thank you for your time.
  11. milerwan

    Store Search Bar (BS)

    ff The "search_in_description" field is for "classic" search with page of results when you click on "search icon" button. Is that the information you're looking for ?
  12. milerwan

    Store Search Bar (BS)

    An option to search product from "Description" is unhappy because to many products will be concerned in that case and results will not be relevent. Sorry to must say it is a very bad idea... 🙄
  13. This add-on will show a state drop down menu in "create account", address_book" and "checkout_new_address". - When the customer first views the Create Account or Add Address Book Entry form, a default country is pre-selected - If the default country has zones (states, provinces, etc.), a drop-down list for the zones is automatically displayed; if no zones are in the database, a normal text input field is shown instead - If the customer changes the country, the form refreshes and the state field is updated according to the new country; any entries in other fields are preserved. BS version only. ---------------------------------- Country State BS v3.0 - milerwan Adding/editing some codes into states.php file to fix automatic display of entry_state field if not null Javascript changes into catalog/includes/modules/ht_country_state_jquery.php file : - Automatic display of entry_state field if not null - Refresh logo alignment - Removal complementary text which is useless Language files updated next to the additional text removal Add french language for form And always no core change ! NB: We are never better served than by ourselves ;) ---------------------------------- Official thread here. Link to the app : https://apps.oscommerce.com/UT1CL&country-state-selector-bs
  14. milerwan

    Country State Selector BS v3.0

    From "admin -> Modules -> Header Tags -> Country/States Selector", you have to edit the module and tick the missing page(s) to apply the script : address_book_process.php checkout_payment_address.php checkout_shipping_address.php create_account.php
  15. milerwan

    Header Tags SEO

    Ok I have found the mistake. From my page control of "product_info.php", "Category" was checked in Default Tags table. That's why category name always appears... Excuse me for the disruption. ^_^'
  16. milerwan

    Header Tags SEO

    Sorry it's not the product name is always present but category name.
  17. milerwan

    Header Tags SEO

    Header Tags SEO V 3.xx - Page control, sort_order bug @Jack_mcs Hi Jack, I have noticed a bug in admin with page control in "/header_tags_seo.php" file normally ($Id: header_tags_seo.php,v 1.2 2008/08/08"). The issue affects the sort_order function for title page. For exemple, if in "Select an Option:", you choose "product_info.php", you have for "Include:" Category: Manufacturer: Model: Product: Root: Test: 0. If you don't tick anything, in title page of product_info.php, product name is always present: Category: Manufacturer: Model: Product: Root: -> Product name 1. If you quote Category (and add number > 0), category doesn't appear (?!?) in title page of product_info.php (product name is always present): Category: x [1] Manufacturer: Model: Product: Root: -> Product name 2. If you quote Manufacturer (or Model or Root) (and add number > 0), Manufacturer (or Model or Root) appears (OK) in title page of product_info.php (product name is always present): Category: Manufacturer: x [1] Model: Product: Root: -> Product name - Manufacturer 3. If you quote Product (and add number > 0), category appears (?!?) in title page of product_info.php (product name is always present): Category: Manufacturer: Model: Product: x [1] Root: -> Category - Product 4. If you quote Category (and add number > 0) and Product, category and product name appear in the expected order (OK) in title page of product_info.php: Category: x [2] Manufacturer: Model: Product: x [1] Root: -> Product - Category So where is the bug ? Is it because "Product name" is present by default or the first row "Category" is buggy ? Very strange bug, isn't it ? If you could take a look, it will be nice. Best regards
  18. It is when you use PayPal Standard payment, when a customer has chosen this kind of payment and arrives into "checkout_confirmation" page without going further... At this stage, pre-order is registred from admin (without removing the quantities of basket products from stock). 1. If the customer confirms his order, the order is created and the quantities are decreased too. The satus goes through "pending" (or something else you have chosen). 2. If the customer abandons his purchase by leaving the shop, the status remains "Preparing [PayPal Standard]"... for ever. 3. If the customer goes back to "shopping_cart" and modify his basket, the pre-order will be deleated automatically.
  19. milerwan

    Please Review my Website

    Issue with horizontal categories bar when 2 rows. For the first row, when drop down menu appears and you want to go down with mouse, the menu is too low and he disappears.
  20. milerwan

    Jssor Slider

    It's ok, I found where the creation of the unwanted comma is. In "includes/modules/content/index/templates/tpl_cm_i_jssor.php" (same for "/header/templates/tpl_cm_header_jssor.php"), find : function GetTransitions() { $picked = explode(';', MODULE_CONTENT_INDEX_JSSOR_TANSITIONS); $xsisitons = array(); $xit = parse_ini_file(DIR_FS_CATALOG . '/ext/jssor/transitions.ini'); foreach ($xit as $key => $data) { if (in_array($key, $picked)) { $xsisitons[] = $data .','; } } return '[' . join(',', $xsisitons) . ']'; } and change like this : function GetTransitions() { $picked = explode(';', MODULE_CONTENT_INDEX_JSSOR_TANSITIONS); $xsisitons = array(); $xit = parse_ini_file(DIR_FS_CATALOG . '/ext/jssor/transitions.ini'); foreach ($xit as $key => $data) { if (in_array($key, $picked)) { // $xsisitons[] = $data .','; $xsisitons[] = $data; } } return '[' . join(',', $xsisitons) . ']'; } No more "default" transition parasite during the slider loop now.
  21. milerwan

    Jssor Slider

    Ok, the issue comes from double comma generated by script instead one : [ {$Duration:1000,y:1,$Easing:$Jease$.$InBounce,$Opacity:2} ,, <!-- comma too much --> {$Duration:1200,y:-1,$Cols:10,$Rows:5,$Clip:15,$During:{$Top:[0.5,0.5],$Clip:[0,0.5]},$Formation:$JssorSlideshowFormations$.$FormationStraight,$ChessMode:{$Column:12},$Opacity:2,$ScaleClip:0.5} , <!-- comma too much --> ] I will fix this later. Need to go now.
  22. milerwan

    Jssor Slider

    Sorry, the right sequence is : 1.bounce_down -> 0."default" -> 2.clip_and_chess_in -> 1.bounce_down -> 0."default" -> 2.clip_and_chess_in -> 1.bounce_down -> 0."default" -> and so on And for 3 transitions checked : 1 -> 0 -> 2 -> 0 -> 3 -> 1 -> 0 -> 2 -> 3 -> 1 -> and so on
  23. milerwan

    Jssor Slider

    I have noticed someting strange in the transitions loop (in the 3rd case) : 1. If you check no transition (in admin), "default" transition (slide right to left) loops at each slide -> OK 2. If you check just one transition, the chosen transition loops at each slide -> OK 3. If you check at least two transistions, the slide loop is interspersed with "default" transition at each new transition -> !?! For example, in fact it shows : 1.bounce_down -> 0."default" -> 2.clip_and_chess_in -> 0."default" -> 1.bounce_down -> 0."default" -> 2.clip_and_chess_in -> 0."default" -> and so on Is there a way to have the true sequence - 1 -> 2 -> 1 -> 2 - without the default transition between ? NB: This is the puzzle of this end of the year, enjoy !
  24. milerwan

    Jssor Slider

    Oh, it's just to add style in the HTML text window, when you create a banner from admin. No need to edit banner_manager.php file.
  25. milerwan

    Jssor Slider

    I have tested your solution to add HTML text (from "tpl_cm_header_jssor.php" or "tpl_cm_i_jssor.php") and result is nice but can't be updated in the form according of the images. Maybe css text (with position, color, font-size) deserve to be inserted in "banner_manager.php"... It is possible to modify like this, to get it. 1. In "templates/tpl_cm_header_jssor.php", change : // echo '<div class="banner-text">' . $txtArray[$i] . '</div>'; echo '<div>' . $txtArray[$i] . '</div>'; 2. From admin/banner_manager, add "style" into a <span></span> : <span style="position:absolute; bottom:50px; left:50px; color:black; font-size:40px;">Test</span> Better way it seems.
×