Jump to content

Smoky Barnable

♥Ambassador
  • Content count

    160
  • Joined

  • Last visited

  • Days Won

    8

Smoky Barnable last won the day on November 26 2021

Smoky Barnable had the most liked content!

Profile Information

  • Real Name
    Eric

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Smoky Barnable

    Stripe v3 module for SCA

    You wouldn't believe how many customers have asked me "What is stripe?". I guess I have to just call the payment method "credit card".
  2. Smoky Barnable

    View Counter

    I've got view counter working on my local xampp server with PHP 8 and MySQL 5.5 however when I uploaded to my host I see the database query in view_counter.php returning an empty result set. This query returns data on my xampp server but is empty on my production site: select *, TIME_TO_SEC( UNIX_TIMESTAMP( now( ) ) - UNIX_TIMESTAMP( last_date ) ) as time, DATE_FORMAT(last_date, '%a, %D %T') as date_time from view_counter where ip_active=1 and language_id = 1 and isbot = 0 and ( (isadmin <> '/admin/')) order by last_date desc limit 20 offset 0 I should note that on my test server there is also some warnings "#1292 Incorrect time value". I'm wondering if this might be because my live site is using MySQL 5.7?
  3. Anyone get this cool add-on to work in PHP8? I almost have it working but I get the following error upon initial page load. "DataTables warning: table id=dataTable - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1"
  4. Smoky Barnable

    Dumping PayPal

    We finally got rid of PayPal today for reasons to numerous to mention. We are still using Stripe but can anyone suggest another popular payment method we could add?
  5. Smoky Barnable

    Stripe v3 module for SCA

    I can capture customers ip address during the checkout process when customer pays with PayPal, but this fails when customer uses stripe. Is there a way to capture the ip during order creation? Trying to capture in web hook or checkout success has failed thus far. If not, I could just capture upon account creation.
  6. Smoky Barnable

    View Counter

    It actually was getting most IPv4's ok but for IPv6 this code seems to get both when using CloudFlare. if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])){ $thisIP = $_SERVER['HTTP_CF_CONNECTING_IP']; }else{ $thisIP = $_SERVER['REMOTE_ADDR']; }
  7. Smoky Barnable

    View Counter

    Does view counter work when using CloudFlare CDN? For example, I can only get customers ip using this code: $customers_ip = $_SERVER["HTTP_CF_CONNECTING_IP"];
  8. Smoky Barnable

    Stripe v3 module for SCA

    A recent customer contacted me to make sure her payment went through. She was confused because in her account area the saved card page showed an old expiration date. Doesn't this expiration date get updated automatically when customers get a new card with the same account number? Perhaps she must delete this card and checkout with new card? Regardless, her payment was successful using her saved card which had the wrong expiration date.
  9. Smoky Barnable

    Snow

    I found this cool code if you would like to add falling snowflakes to your website for the holidays. Just add the code to the end of the header.php page. https://pajasevi.github.io/CSSnowflakes/
  10. Smoky Barnable

    DDOS on shared servers

    I'm liking the LiteSpeed Web Server.
  11. Smoky Barnable

    DDOS on shared servers

    Thanks. I just signed up for the three year HostArmada plan. They are doing a cpanel transfer now.
  12. Smoky Barnable

    DDOS on shared servers

    My hosting company was recently hit with a DDOS attack on the server that was hosting my website. Is there another hosting solution that mitigates these kind of attacks? I have read cloud hosting is good...any recommendations? Trying to avoid downtime.
  13. Smoky Barnable

    osCommerce v4 Beta 1

    I also requested to be a beta-tester from day one and never was contacted. Makes me wonder who these beta-testers are. I also wonder if these super secret beta-testers will share any information with the rest of this "open source" community.
  14. Smoky Barnable

    KissIT Image Thumbnailer Support

    For those of you who would like to use this addon with PHP 8 the following change cleared this fatal error. In the image.php file, change: $trnprt_color = @imagecolorsforindex ( $this->_image, $trnprt_indx ); to: if ($trnprt_indx < imagecolorstotal($this->_image)){ $trnprt_color = imagecolorsforindex ( $this->_image, $trnprt_indx ); }
  15. Smoky Barnable

    KissIT Image Thumbnailer Support

    What's the best way to deal with this error? Fatal error: Uncaught ValueError: imagecolorsforindex(): Argument #2 ($color) is out of range PHP 8 has changed the behavior of the shutup operator - it no longer silences fatal errors.
×