Results 1 to 7 of 7
  1. #1
    Join Date
    May 2008
    Location
    Near the water, somewhere...
    Posts
    126
    Plugin Contributions
    0

    Default USPS update notice inside admin–BOLD RED even...

    How is it that the current USPS shipping
    module listed in the Modules > Shipping
    is intelligent enough to know when it's
    ready to be replaced by the next version?
    I find that to be quite, er, sophisticated,
    snazzy, neat in a nerdy kind of way.

    Is its code looking for a certain file, or a
    certain location, or a particular string of
    a version number somewhere, or even a
    date and when it finds it a flag is triggered?

    I think I may need to buy someone a
    drink for that...

    Dr Doug

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: USPS update notice inside admin–BOLD RED even...

    Quote Originally Posted by d0ugparker View Post
    How is it that the current USPS shipping
    module listed in the Modules > Shipping
    is intelligent enough to know when it's
    ready to be replaced by the next version?
    I find that to be quite, er, sophisticated,
    snazzy, neat in a nerdy kind of way.

    Is its code looking for a certain file, or a
    certain location, or a particular string of
    a version number somewhere, or even a
    date and when it finds it a flag is triggered?

    I think I may need to buy someone a
    drink for that...

    Dr Doug
    That was some fancy code Ajeh asked me to write so that it could alert you if the plugin in the ZC plugins library was newer than the one in your store. It makes a request to the plugin server to ask what the latest version is, and tells you if they're different.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    May 2008
    Location
    Near the water, somewhere...
    Posts
    126
    Plugin Contributions
    0

    Default Re: USPS update notice inside admin–BOLD RED even...

    Brilliant.

    DrDoug

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: USPS update notice inside admin–BOLD RED even...

    Also, the plugin_version_check_for_updates() function is present within ZC core since v1.5.3, and takes 2 parameters: the fileid for the plugin on the ZC plugin site, and the version number you wish to check against.
    https://github.com/zencart/zencart/b...in_support.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2013
    Location
    New York, New York, United States
    Posts
    25
    Plugin Contributions
    0

    Default Re: USPS update notice inside admin–BOLD RED even...

    Mine's giving me the bold red update notice, but I have the latest from January 17, 2016.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS update notice inside admin–BOLD RED even...

    Save your settings and then try a REMOVE/Install and reconfigure it and see if that corrects it ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Feb 2013
    Location
    New York, New York, United States
    Posts
    25
    Plugin Contributions
    0

    Default Re: USPS update notice inside admin–BOLD RED even...

    I did that, kinda blindly. I installed the "update" only to notice afterwards that the version was the same. Still have the red warning. Seems to work fine, though.

 

 

Similar Threads

  1. v151 What to update for the jan. 17, 2016 USPS update?
    By zaug in forum Addon Shipping Modules
    Replies: 11
    Last Post: 17 Jan 2016, 07:35 PM
  2. v154 Expired Specials active even after being deleted and/or RED status
    By RixStix in forum Setting Up Specials and SaleMaker
    Replies: 13
    Last Post: 26 Aug 2015, 03:44 PM
  3. Important USPS Web Tools Integrator Notice
    By mprough in forum General Questions
    Replies: 2
    Last Post: 11 Jan 2014, 05:36 PM
  4. Making just one word RED and BOLD
    By robbin21973 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Mar 2012, 07:09 PM
  5. USPS E-mail notice
    By JLA in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 3 Oct 2006, 08:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg