Jump to content
Latest News: (loading..)

greasemonkey

Members
  • Content count

    1,216
  • Joined

  • Last visited

  • Days Won

    24

greasemonkey last won the day on December 28 2017

greasemonkey had the most liked content!

Profile Information

  • Real Name
    Scott
  • Gender
    Male

Recent Profile Visitors

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

  1. greasemonkey

    SPPC - for 2.3.4

    @ce7 the query you mentioned above is not the query that is used for adding "new" specials.... This would be the query you are looking for/at // BOF Separate Pricing Per Customer tep_db_query("insert into " . TABLE_SPECIALS . " (products_id, specials_new_products_price, specials_date_added, expires_date, status, customers_group_id) values ('" . (int)$products_id . "', '" . tep_db_input($specials_price) . "', now(), '" . tep_db_input($expires_date) . "', '1', ".(int)$customers_group.")"); // EOF Separate Pricing Per Customer There are a number of significant changes to admin/specials.php... if you haven't already, use a comparison tool WinMerge to compare your file to the file include with the download.
  2. greasemonkey

    Secure Tokens, Apple/Android Pay

    @rulegacy I've had some feedback on my support inquiry.... That it may be a budget issue. I'm gonna put it back out there for double my original budget and see if I get any takers. As I mentioned above originally I suggested it as a Stripe addon.... would you be a taker if I can convince someone to write it for authorize.net?
  3. greasemonkey

    Secure Tokens, Apple/Android Pay

    I have sent out a commercial inquiry via this forum to code this up for Stripe - but have no takers.... At this point I would take any payment module - Authorize.net would work fine.... Not sure if its a budget or an interest issue - but it is holding my ecommerce store back. I don't really want too.... but I'm gonna have to put it up on freelancer....
  4. greasemonkey

    ShipStation Shipping Integration Software

    on line 244 you could change $status = 3; to $status = 6;
  5. greasemonkey

    AJAX Attribute Manager support

    @raiwa and whoever was the original developer... Where has this addon BEEN all my life?!?!?!? Idea, what would it take to make an AJAX specials management addon? Quickly looking some of it could be shared... could it not?
  6. greasemonkey

    ipv6 Support

    Perfect.... that is making sense. It seems the max character length for ipv6 is 39 - so I'm testing at varchar(128) and it seems to be working perfectly on all ipv6 IP's. https://stackoverflow.com/questions/1076714/max-length-for-client-ip-address
  7. greasemonkey

    ipv6 Support

    This works Henry - in the sense they now show in who's online (so I presume they have passed validation). However, on to the next problem..... the IP's, it would seem, most of the time cannot be used for geolocation. Maybe they are being compressed maybe with tep_get_ip_address? Example this ip/bot keep hitting my site and can be geolocated: 2a01:4f8:13b:12e0:0:0:0:2 - works perfect 2607:fea8:695f:ffb1:7d67: - cannot be geolocated via any DB (I tried several)
  8. greasemonkey

    ipv6 Support

    @wHiTeHaT you mean the note about e_warning on failure? Ya, that wouldn’t be good I suppose... At the end of the day this is a 10 year old (at least) function that only works 50% of the time. Probably needs some thought.
  9. greasemonkey

    ipv6 Support

    @wHiTeHaT what about? function tep_validate_ip_address($ip_address) { return inet_pton($ip) !== false; } http://php.net/manual/en/function.inet-pton.php
  10. greasemonkey

    ipv6 Support

    I'll test and report back.... Currently I had but the IP was cut off at 25 characters function tep_validate_ip_address($ip_address) { if (function_exists('filter_var') && defined('FILTER_VALIDATE_IP')) { return filter_var($ip_address, FILTER_VALIDATE_IP); } return false; }
  11. greasemonkey

    ipv6 Support

    Hey, all... anyone ever figure out a way to validate ipv6 ip addresses? Currently this function won't do it... and with the DRAMATIC increase in mobile carriers using ipv6.... many/most ip addresses are failing validation From admin/includes/functions/general.php in 2.3.4 CE function tep_validate_ip_address($ip_address) { if (function_exists('filter_var') && defined('FILTER_VALIDATE_IP')) { return filter_var($ip_address, FILTER_VALIDATE_IP, array('flags' => FILTER_FLAG_IPV4)); } if (preg_match('/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/', $ip_address)) { $parts = explode('.', $ip_address); foreach ($parts as $ip_parts) { if ( ((int)($ip_parts) > 255) || ((int)($ip_parts) < 0) ) { return false; // number is not within 0-255 } } return true; } return false; }
  12. greasemonkey

    Ebay manager

    Worse.... Not knocking whoever originally programed it.... but shipping modules are like 3 files. This is like 143 files.
  13. greasemonkey

    Ebay manager

    @Druid6900 I had a crack at this a couple months ago..., it’s a mess and I gave up after a couple hours. It was way beyond my skill level to fix and I would doubt any “real” coder would touch it with a 10 ft pole. It need to be rewritten from start to finish
  14. greasemonkey

    Free shipping with other options

    No problem. The zone stuf you added really isn’t required - that can be handled by setting up and associating the module with a tax zone.
  15. greasemonkey

    Native iOS and Andriod App and OsC API

    Nice to see what you are working on in your “spare” time. Thanks kindly. I’ll have a look to see if I have any hope of understanding.
×