Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Posts posted by burt

  1. 8 hours ago, blaine109 said:

    I'm willing to test this out.  I was about to have a similar addon coded but was referred to you by Jack_MCS. 

    Thanks for the offer.  It's now fully tested and on limited release.

  2. @altoid looking good, those versioning messages.  Hopefully they'll help to stop some of the griping about being able to work out what shopowners are using :) 

    For changing/updating...here's an example


    so, here I actually changed two things;

    • $version
    • the actual line of code that pulls in the script

    Similar for jQuery.   Hope it makes sense.

    I have worked on a bit more this morning and streamlined it further (for Edge), I haven't yet pushed/committed it as I want to test it a bit more first, but the general idea is that now an addon maker can just upload a new hook, and it is automatically injected into either the template_top / template_bottom (or both!) file. 

    As an example;

    Let's say that a developer made a addon that needed some jquery injected (which could be a content_module or a HT module), say adding a "SALE" sticker on each "special" in the product listings.  Instead of making a whole module...just make a simple hook and upload....

    DONE (ie, no need to call the new hook in template_top/template_bottom!  As shown:



  3. I'm thinking something like;


    eg in the admin > tools > security checks page

    Pretty simple, yet makes things a lot easier all round.

    In addition when wanting to update (eg FA from say 5.6.0 to 5.12.99)...shopowner just upload 1 file [ includes/hooks/shop/siteWide/fontAwesome.php ] and forget about it.

    Can we see the possibilities this brings?


  4. SiteWide Hooks (Frozen).zip


    These add in the possibility to easily track what versions you are using for external scripts (eg jquery, bootstrap etc).

    This is coming this month in Edge.  If you want to try it on Frozen, download the zip and;

    1. make the changes in /includes/template_top.php
    2. make the changes in /includes/template_bottom.php
    3. upload the contents of /includes/hooks/

    Open to constructive feedback and discussion.





  5. I've implemented sitewide hooks on a Branch here - https://github.com/gburton/Responsive-osCommerce/tree/201906/includes/hooks/shop/siteWide

    Take for (eg) the Bootstrap one, it includes easy versioning, as so:


    This should help a lot for shopowners being able to recognise exactly what they are running.


  6. CurrencyLayer just reduced their API hard limit on the Free version;


    As you may have noticed, the currencylayer Free Plan was recently adjusted to offer 250 instead of 1,000 monthly API requests. We're writing to remind you that this new limit will be enforced on all accounts subscribed to the Free Plan.

    Please upgrade your account to the Basic Plan by July 1st, 2019 if your monthly usage exceeds 250 API requests

    To raise this limit and prevent potential service disruption, please make sure to upgrade your subscription to the Basic Plan using the button below:

    If using currencylayer and 250 calls to the API is not enough, pay for a subscription.  


    Use the latest ecb module, which as of this moment does not have a rated limit on use
    => https://github.com/gburton/Responsive-osCommerce/blob/master/admin/includes/modules/currencies/c_ecb.php