Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Reputation Activity

  1. Like
    altoid reacted to Jack_mcs in Gift Vouchers Secure   
    This is a new version of the long-standing Gift Vouchers addon.  It is named "secure" because the previous versions, at least the ones I am familiar with, have a large number of security holes in them. All of those have been plugged in this version and other changes made to further the security.
    This version also has features other versions don't have. Here are some of the major points of this version:
    Apply to specific customers. Apply to specific products. Apply to specific categories. Apply to specific manufacturers. Include or Exclude options for products, categories and manufacturers. Date is set by jquery date picker so it doesn't expire. Show only certain coupons in admin display. Sortable columns in admin display. This can be used to replace existing installations but not directly. There are some changes that are needed beyond a normal installation. I have documented those as much as I can but due to the number of versions of Gift Vouchers, I can't cover them all.
    This version is mainly written for the CE version with the modular checkout addon by @raiwainstalled. It will work in other versions but the instructions are not complete, though using a compare program should work.
  2. Like
    altoid reacted to Jack_mcs in HoneyPot Captcha   
    A new version has been uploaded with these changes:
    Changed the url search code to only look at the protocol and to check for named protocols. Changed the position of the error variable to make it global for the contact us page for pre-2.3 shops. Removed global option search that could fail in some cases. The first change is an important one because Russian spammers are starting to use the tld рф. There will probably be more to follow as the use of such tld's increase. The change to the code makes it so tld's are ignored so any url should be caught now. Please report any emails that get through with url's.
  3. Like
    altoid reacted to Demitry in Featured Products BS   
    ...you put the "bro" in Lambros
    yeah man, ..that's exactly what I was trying to achieve and I'm not very good with SQL. Thank you for the help. I just tested this mod and it works as it should. If you want, you can add it to the next update release.
    Ok, so here is the complete mod to only show the "See More" button when the number of Featured Products exceeds the content limit set in admin for the particular module.
    I'm just going to use the index module for this sample, and this is for BS Edge. I'm not sure if there is a difference with other versions.
    1)      FIND this code:
    if (tep_db_num_rows($featured_products_query) > 0) { // Show only if we still have products in the array ADD just ABOVE it:
    // this will show/hide the "See More" button $fp_count_query = tep_db_query("select count(*) as total from featured WHERE status = '1'"); $fp_count = tep_db_fetch_array($fp_count_query); $fp_btn = 'style="display:none;"'; if ($fp_count['total'] > MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_CONTENT_LIMIT) { $fp_btn = 'style="display:inline;"'; }  
    2)      FIND this code:
    $featured_products_content = '<h3>' . ($cat_name != '' ? sprintf(MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_CATEGORY_TITLE, $cat_name) : MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_TITLE . ((MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_SHOW_BUTTON == 'True')? '  ' . tep_draw_button(MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_IMAGE_BUTTON_SEE_MORE, 'glyphicon glyphicon-triangle-right', tep_href_link('featured_products.php'), 'primary', null, 'btn-default btn-sm'):'')) . '</h3>'; REPLACE it with this:
    $featured_products_content = '<h3>' . ($cat_name != '' ? sprintf(MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_CATEGORY_TITLE, $cat_name) : MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_TITLE . ((MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_SHOW_BUTTON == 'True')? '&nbsp;&nbsp;<span ' . $fp_btn . '>' . tep_draw_button(MODULE_CONTENT_INDEX_FEATURED_PRODUCTS_IMAGE_BUTTON_SEE_MORE, 'glyphicon glyphicon-triangle-right', tep_href_link('featured_products.php'), 'primary', null, 'btn-default btn-sm') . '</span>':'')) . '</h3>';  
  4. Like
    altoid reacted to raiwa in Store Mode BS   
    Uploaded update:
    Store Mode 1.2.1 BS
    Changes Version 1.2.1:
    - Changed .htaccess protection for backup directory and files. Thanks to @vmn
    - Changed redirect to 307 Thanks to @vmn
    - Added back time setting to 2 hours if no time is entered in ht module. Thanks to @vmn
    - Added show/hide back time configuration setting in ht module.
    - Update header content module to auto include template file and new template file naming standard.
  5. Like
    altoid reacted to raiwa in Store Mode BS   
    OK. Got it!
    OK Got it!
    During development of a new store  which may take still weeks or months to go online.
    I think the best would be to add all 3 options:
    - back in x hours specified in the module like now
    - back in 2 hours dynamically shown if empty => your add
    - new configuration entry to hide the back in xx h message => like now if left empty
    Let me know your thoughts and I'll update it when I find some time.
    Thanks and best regards
  6. Like
    altoid reacted to raiwa in Holiday Promotional Message 2.0 BS   
    Update uploaded:
    Holiday-Promotional Message 2.1 BS
    Changes version 2.1.1:
    - reverted wrong fix introduced in 2.1.
    - applied correct fix in admin/modules_content.php to allow sql sensitive special characters like single quote (apostrophe) in Text definitions.
  7. Like
    altoid reacted to raiwa in Store Mode BS   
    Update uploaded:
    Store Mode 1.2 BS
    Changes Version 1.2:
    - Fixed PHP 7.2 compatibility (each function, undefined variable errors). Thanks to @vmn
    - fixed cache issues in .htaccess Thanks to @vmn
    - added button to check status in mauntenance.php Thanks to @vmn
  8. Like
    altoid reacted to raiwa in Holiday Promotional Message 2.0 BS   
    Update uploaded:
    Holiday-Promotional Message 2.1 BS
    Changes version 2.1:
    - added tep_db_input function to text input fields to allow sql sensitive special characters like single quote (apostrophe)
  9. Like
    altoid reacted to burt in Bootstrap 4 in   
    I made that for the Demo.  It will be available shortly in my next 28d package.
  10. Like
    altoid reacted to raiwa in [Contribution] Ship In Cart   
    Update uploaded:
    Ship In Cart BS reloaded 4.3.
    Changes Version. 4.3:
      - Added support for shipping module icons
      - Moved script and inline styles to correct place to avoid header already sent error
      - Cleaned up code and fixed undefined errors
  11. Like
    altoid reacted to raiwa in AJAX Attribute Manager support   
    @John W,
    I finally went through all changes step by step and could localize the error.
    In javascript/attributeManager.js within the amUpdate function I had accidentally removed these lines when removing the attributes code support:
    amSendRequest('amAction=update&option_id='+optionId+'&option_value_id='+optionValueId+'&price='+getDropDownValue('price_'+optionValueId)+'&prefix='+getDropDownValue('prefix_'+optionValueId)+'&sortOrder='+getDropDownValue('sortOrder_'+optionValueId)+'&image='+getDropDownValue('image_'+optionValueId)+'&weight='+getDropDownValue('weight_'+optionValueId)+'&weight_prefix='+getDropDownValue('weight_prefix_'+optionValueId)+'&code_suffix='+getDropDownValue('code_suffix_'+optionValueId)+'&suffix_sort_order='+getDropDownValue('suffix_sort_order_'+optionValueId),'',false); getElement('price_'+optionValueId).blur(); if ((weight != null) && (weight_prefix != null)) getElement('weight_'+optionValueId).blur(); var el = getElement('sortOrder_'+optionValueId); if(el != null) el.blur(); return false; I found some other minor glitches.
    Tested with: PHP 7.0, 7.1 and 7.2, QTPro support and sort order support.
    Here the new package version 2.9.5. Please replace all files.
    Please try and let me know.
    Thanks for all your help and support.
    AJAX-AttributeManager-V2.9.5 BS.zip
  12. Like
    altoid reacted to Dan Cole in Advanced Specials   
    Just wanted to chime in about this add on again. 
    A lot of the products we sell are MAPPed items, so specials are often controlled by the manufacturers, and vary in both the amount and duration a promotional discount can be offered.  In the past, this has required a lot of time and effort to set up and manage properly, given the number of products we offer.   We used Advanced Specials to manage this process for Black Friday and it made the whole process a breeze.  We could even set the specials up, days in advance, and they were just applied to the products automatically when the time arrived.  If you find yourself in a similar situation, with lots of specials to manage, I would highly recommend this add-on.  From a design point of view the add-on could use some work but once your figure out how things are intended to work, it is a real time saver.
    A big well done to all those who had a hand in the development of this add-on over the years.  It saved us a ton of time already and should allow us to offer other specials throughout the year, many of which we've not bothered with in the past, because of the work involved.
  13. Like
    altoid reacted to raiwa in AJAX Attribute Manager support   
    Hello Juanma @piernas, hello Peter @petsk,
    Sorry, there was an error in one file, please use this one.
    I fixed all errors.
    Can you please check and confirm. I'll then upload the new version.
    Please replace all files (attributeManagerConfig.class has been modified, so please reconfigure if you have any add-on support switched on)
    Note that support for Attribute Product Codes has been removed. It is very outdated and seems not to be mainained any more.
  14. Like
    altoid reacted to raiwa in Discount Code BS   
    Then I'll upload the update. Version number Discount_Codes_4.4.0_BS is ok ?
  15. Like
    altoid reacted to raiwa in Discount Code BS   
    Update uploaded:
    Version 4.4.0 BS:
    Added the possibility to exclude specials on order subtotal discounts. Added support to place ot discount module before ot subtotal module and show subtotal with discount amount substracted.  
  16. Like
    altoid reacted to Omar_one in Holiday-Promotional Message Add-On BS   
    @raiwa I installed this add-on on php 7.2 and here was error in the  error_log  so I fixed those error and  now working well under php7.2  if you want I can share it here or send it to you.
    so if you would like  include the fixing for next update

  17. Like
    altoid reacted to raiwa in Modules Control   
    @Omar_one, this add-on has not been updated for PHP 7.2. There will be probably more errors.
    I also found some limitations regarding the quantity of controlled pages and modules due to wrong coding ($_GET versus $_POST).
    Please be patient until I find some time to do a complete update and overhaul.
  18. Thanks
    altoid reacted to raiwa in QTPro BS   
    Thank you @Omar_one. New package with the fix has been uploaded.
  19. Thanks
    altoid reacted to raiwa in AJAX Attribute Manager support   
    Uploaded update with the above posted fixes:
    AJAX Attribute Manager BS 2.9.3
    + Fixed undefined errors
    + Fixed PHP 7.2 warning errors.
  20. Like
    altoid reacted to raiwa in Discount Code BS   
    Version 4.3.2 BS uploaded:
    Fixed several PHP 7.2 undefined warnings in ot module.
  21. Like
    altoid reacted to BrockleyJohn in PayPal App for osCommerce Online Merchant   
    sorry Bobbee this is wrong and won't help anyone who uses it.
    If you do this then it will always use a value of 0 even when the setting is set. So you will get rid of the warning but you won't be able to see any paypal orders in admin because there's no matching status value. If you put quotes round it then it's a string and not a constant (defined or otherwise).
    The post you quoted was correct.
  22. Like
    altoid reacted to raiwa in QTPro BS   
    Errors produced in checkout_process.php shouldn't show puplicly except for fatal errors which stop the page to be processed. This page only processes the order, so it never shows on the screen any content and neither warning errors.
    You have got info how to supress the warning errors:
    You should also be able to revert your php level to 7.1 until you have solved all errors.
    Please don't write that kind of "Panic" messages, I saw your other messages regarding PHP 7.2 warning and notice errors.
    Anyway you should test your store under PHP 7.2 in a develop environment before going online. No one here will assume any responsability that your live store breaks or shows errors under PHP 7.2.
    I can only help you if you give me the information I asked, so I can try to reproduce the error.
    By "stock" I refer to your settings in Admin => Stock
  23. Like
    altoid reacted to JcMagpie in Bootstrap 4 in   
    Main class chnages between BS3 and BS4 😊 Plenty of people have already applied BS4 to osC.
    Main question is if you have already built your site and its up and running with the add-on's working fine, do you really want to go through all that again just for BS4?
    But if you are just starting out and don't need any add-ons then why not you might as well.
    Bootstrap 3.x Bootstrap 4 .col-*-offset-* .offset-* .col-*-push-* .order-*-2 .col-*-pull-* .order-*-1 .panel .card .panel-heading .card-header .panel-title .card-title .panel-body .card-body .panel-footer .card-footer .panel-primary .card.bg-primary.text-white .panel-success .card.bg-success.text-white .panel-info .card.text-white.bg-info .panel-warning .card.bg-warning .panel-danger .card.bg-danger.text-white .well .card.card-body .thumbnail .card.card-body .list-inline > li .list-inline-item .dropdown-menu > li .dropdown-item .nav navbar > li .nav-item .nav navbar > li > a .nav-link .navbar-right .ml-auto .navbar-btn .nav-item .navbar-fixed-top .fixed-top .nav-stacked .flex-column .btn-default .btn-secondary .img-responsive .img-fluid .img-circle .rounded-circle .img-rounded .rounded .form-horizontal (removed) .radio .form-check .checkbox .form-check .input-lg .form-control-lg .input-sm .form-control-sm .control-label .col-form-label .table-condensed .table-sm .pagination > li .page-item .pagination > li > a .page-link .item .carousel-item .help-block .form-text .pull-right .float-right .pull-left .float-left .center-block .mx-auto.d-block .hidden-xs .d-none .hidden-sm .d-sm-none .hidden-md .d-md-none .hidden-lg .d-lg-none .visible-xs .d-block.d-sm-none .visible-sm .d-none.d-sm-block.d-md-none .visible-md .d-none.d-md-block.d-lg-none .visible-lg .d-none.d-lg-block.d-xl-none .label .badge .badge .badge.badge-pill
  24. Like
    altoid reacted to burt in Bootstrap 4 in   
    In addition to the multiple changes made to accommodate BSv4, I have also changed a few other bits;
    Content Module - Footer - Links
    Now easier to add in links Box Module - Information
    Ditto Breadcrumb
    Separate logic and display How are we finding the new osCommerce?
  25. Thanks
    altoid got a reaction from Jack_mcs in [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo   
    @Jack_mcs the database function for seo.class.php that John supplied several posts back looks to have taken care of the warnings I was seeing in my error log.
    For you consideration for the next update.