Jump to content

ArtcoInc

Members
  • Content count

    1,810
  • Joined

  • Last visited

  • Days Won

    31

Reputation Activity

  1. Like
    ArtcoInc got a reaction from burt in PHP and the newest cPanel   
    I have two live shops. One is running the Community Edition osC v2.3.3.4 (yes, it's that old). The other is running the pre-gold Community Edition osC v2.3.4. I am working on a new site using Phoenix, but that's still in development.
    I had configured my host to use PHP v5.6 on my shops, and everything was running fine.
    My host recently did an unannounced upgrade to the cPanel tool set which, unfortunately, upgraded all of my shops to PHP v7.3. Needless to say, there were problems.
    The first issue I noticed was that I could no longer run the Security Check module in Admin for either shop. I verified that the code against a backup to make sure that it hadn't been hacked. It wasn't until I ran the Server Info module in Admin did I notice that the version of PHP had been changed to v7.3.
    I logged into my host's cPanel, and discovered that the oldest version of PHP available was v7.0. I rolled back to v7.0, but that did not fix the issues I was having. I contacted tech support through their chat function <grumble, grumble>. I explained the problem, and asked if my sites could be rolled back to PHP v5.6. Yes, but not through cPanel. The new version of cPanel only supports PHP versions 7.0 and up. The tech support person was able to roll back my sited to PHP v5.6 by editing the .htaccess file(s) for all of the sites. They are back up and running now. Server Info shows I'm running PHP v5.6, even though cPanel says I'm running PHP v7.0.
    I hope this info may assist someone who may run into a similar issue.
    Malcolm
  2. Confused
    ArtcoInc reacted to Dan Cole in [Addon] Twitter Typeahead Autocomplete Search for osC 2.3.4 (BS and nonBS)   
    Try letting Malcolm play with it.  😂
    Dan
  3. Like
    ArtcoInc reacted to raiwa in List of my Phoenix compatible Addons   
    Reuploaded all Phoenix compatible Addons flagged for Phoenix
  4. Like
    ArtcoInc reacted to Fredi in Categories - Amount of articles not shown   
    A small addition: to make it look pretty, you can change the icon, its color and size.
     
    $spacer_string = '<span style="font-size: 1.15em; color: Green;"><i class="fas fa-arrow-alt-circle-right">&nbsp;</i></span>',
  5. Like
    ArtcoInc reacted to Dan Cole in Phoenix Navbar Modules   
    Thought I'd post back as promised....I had a little time over the past week or so but not a lot.   The weather turned nice again but I'm not complaining.   In any case I think I now have my NavBar where I want to take it or at least close enough for now.  In the not to distant future I'll add a Manufacturers (Brands) module which I already have.  In any case here is what I ended up with.    To show Malcolm @ArtcoInc that I paid attention to his post I'll include images of my NavBar in the different screen sizes.
    Large Screen

    Medium Screens

    And Small Screens.

    The basis for the About Us NavBar module came from @JcMagpie  Thanks Zahid .  The Phone number came from one of the existing modules that I reworked a bit.  The Category Drop down (Products) and Search are a couple of modules that Gary released in this 28days of code a while back.  I tweaked them a wee bit for Phoenix but they pretty much worked from the get go.
    Thanks to all who took the time to point me in the right direction.  Okay, I'm off to mow the grass...
    Dan
     
     
  6. Like
    ArtcoInc got a reaction from peterpil19 in Marketplace Category/Version Cleanup   
    I remember, back in the day, when an 'expert' was someone that had been on the system 15 minutes longer than you! <lol>
  7. Thanks
    ArtcoInc got a reaction from Philo2005 in Categories - Amount of articles not shown   
    @Philo2005
    This can be handled with CSS.
    M
  8. Like
    ArtcoInc reacted to 14steve14 in Marketplace Category/Version Cleanup   
    I think you may get passed back to gary's last reply. Whilst its gary that is doing the hard work, it the store owners and developers who have supported him over the years with his 28 days of code modules and the Phoenix supporters. Without either of them oscommerce would not be here today.
    If it had been left to those that want something for nothing and are not happy with that so they want more, then there would be no oscommerce.
  9. Like
    ArtcoInc reacted to LeeFoster in Marketplace Category/Version Cleanup   
    You do realise the sole reason osCommerce is still alive is because of @burt? 
  10. Like
    ArtcoInc reacted to burt in Marketplace Category/Version Cleanup   
    I'll pass that back to the 35 to 40 shopowners who, over the years, have given their all to support the project.  
  11. Like
    ArtcoInc reacted to Moxamint in [Addon] Product Sort Within Category   
    The Drag n Sort works for the categories, too.  It takes a few code changes for Gary's mod to use the same database fields that Product Sort Within Category uses, but after that, they work harmoniously together. 
    Eddy
  12. Like
    ArtcoInc reacted to BrockleyJohn in [Addon] Product Sort Within Category   
    There is every possibility
    It's one of the things on the list...
  13. Like
    ArtcoInc reacted to Moxamint in [Addon] Product Sort Within Category   
    I actually think it should go into the core...
    Eddy
  14. Like
    ArtcoInc reacted to rpdesign in [SSPP] Separate Shipping Per Product----Support Forum   
    I'm glad it now works if you need more explanation of how the add-on works I'll be glad to help out. The new files are just the two files to make it work with PHP 7.0 on installing the module. I'll be working on this module to include support for purchase without account and a couple additional features.
  15. Like
    ArtcoInc reacted to BrockleyJohn in NEW! Complete Order Editing Tool!   
    PS I have already begun a further update with a lot more php7 fixes in it... plus a fix for not populating the order content-type which makes some payment & shipping modules complain
  16. Like
    ArtcoInc reacted to raiwa in AJAX Attribute Manager support   
    Uploaded update for Phoenix:
    AJAX Attribute Manager BS 3.0.0.
    Updated for Phoenix 1.0.x.x compatibility Added code reference for Phoenix Fixed some undefined notice errors.
  17. Like
    ArtcoInc reacted to BrockleyJohn in NEW! Complete Order Editing Tool!   
    I have just uploaded v1.2.6 for CE Phoenix to
    https://apps.oscommerce.com/wwEZ9&amp;order-editor-for2-3-v1-0
    It includes some bug fixes to edit_orders.php and the header_tags.php module.
    Bug fixes include those reported by @artfulweb and some of the php7.3 compatibility issues that I came across in a quick fire-up
    The thrust of the changes is that the hooks system is slightly different in Phoenix so the modified orders.php is different, some more constants have been hard-coded and checking if variables are set has been added before checking if they are arrays.
     
  18. Like
    ArtcoInc reacted to raiwa in Is there a limit to the number of Global declarations?   
    Switch error reporting on, this layout change can be due to php errors.
  19. Like
    ArtcoInc reacted to raiwa in Is there a limit to the number of Global declarations?   
    I never observed that something breaks due to too many global variables use. But easy way to check: replace one of the variables already listed instead to add another one. If it breaks it’s not the number of variables but something else.
  20. Like
    ArtcoInc reacted to mfleeson in Moving Data from previous Osc to Phoenix   
    As part of my experimentation with Phoenix, I wrote the following database script to move my current live data into Phoenix so I could see what it did. I thought I'd share it for anyone who's needing to move a live store to test or vice-versa. Any questions/comments please let me know.
    For this script to work, load it into your database tool and search and replace changing old_db to the name of your current live site (or origin data), select the new phoenix database and run the queries there.
    A couple of things I noticed moving from a 2.3.4 to Phoenix.
    Check your old sites categories_description table.  Some older sites do not have categories_seo_description so this will fail on the select. change to '' in select.
    Check your manufacturers_info table for 'manufacturers_seo_description',and other seo fields and if it fails change them to '' in the select.
    If you get an error Data truncated for column then it means your old table has larger text length than in phoenix. Adjust phoenix field length and re-run query.
    A lot of old products table do not have products_gtin fields, modify field to '' in query
    Test Move SQL.sql
  21. Like
    ArtcoInc reacted to raiwa in QTPro BS   
    Uploaded version 6.0.0. for Phoenix 1.0.2.x:
    https://apps.oscommerce.com/e317m&qtpro-bs
    Change Log:
    - updated for CE Phoenix 1.0.2.x
    - replaced ht module by sitewide hook
    - updated Options Images suport for v.1.6
  22. Like
    ArtcoInc reacted to burt in Hooks, hacks, or JavaScript?   
    The answer is pretty simple;  you do whatever it takes to get it working as you want...
    hook ht module content module js / jquery hack code The less intrusive way...is...in my opinion...the better way.  
    For the buy buttons, the simplest way is a piece of .js as a Hook.  1 file, done - set and forget. 
    There is a hook bit that I posted just yesterday, scan back through my last few posts...
     
  23. Like
    ArtcoInc got a reaction from valquiria23 in Hooks, hacks, or JavaScript?   
    There are several things I like to conditionally hide ... for example, if an item is out of stock, I want to hide the 'Buy' button. If a customer puts an item in their shopping cart, and then increases the quantity to more than is available, I want to hide the 'Checkout' button.
    Historically, I just hacked the code (yes, I hack the core code <hanging head in shame>) with an IF statement. Is there a better way?
    I know that @burt has done something like this in one of his 28 days bundles, but he used JavaScript, and I know *nothing* about JavaScript.
    I also have no idea how hooks work ( @burt , any chance someone could write up a tutorial on how hooks work, and how to use them? Or, a link to a resource that explains them?). I'm just a 'copy and paste' kind of guy.
    TIA
    Malcolm
  24. Like
    ArtcoInc got a reaction from Smoky Barnable in USPS Rate V4, Intl Rate V2 (official support thread)   
    @Chadduck
    1) As you have identified, there is no shipping_usps.gif file in the add-on bundle. Fortunately, you already had one from a prior live store. For anyone else trying to get this to work with Phoenix, here's the file:

    2) In the stock installation of Phoenix, there is no /images/icons folder. With that, there is also no DIR_WS_ICONS definition in the configuration file(s). To correctly use the shipping_usps.gif file, you need to:
    a) Create a /images/icons folder
    b) Copy the shipping_usps.gif file into this folder
    c) In  includes/modules/shipping/usps.php , find
    $this->icon = DIR_WS_ICONS . 'shipping_usps.gif'; and change it to:
    $this->icon = 'images/icons/shipping_usps.gif'; Obviously, you could use any other folder you want to store the .gif file. Just update the path to point to the file's location.
     
    If you did not have a copy of the shipping_usps.gif file, you could try to use the font awesome icon. The link Zahid gave above is wrong. His is a link to the UPS icon, not the USPS icon. The correct link is:
    https://fontawesome.com/icons/usps?style=brands
    However, the USPS module stores everything in an array (including the location of the icon), and I could not just substitute the Font Awesome link for the location of the .gif file.
    HTH
    M
  25. Like
    ArtcoInc got a reaction from Smoky Barnable in USPS Rate V4, Intl Rate V2 (official support thread)   
    @Chadduck
    1) As you have identified, there is no shipping_usps.gif file in the add-on bundle. Fortunately, you already had one from a prior live store. For anyone else trying to get this to work with Phoenix, here's the file:

    2) In the stock installation of Phoenix, there is no /images/icons folder. With that, there is also no DIR_WS_ICONS definition in the configuration file(s). To correctly use the shipping_usps.gif file, you need to:
    a) Create a /images/icons folder
    b) Copy the shipping_usps.gif file into this folder
    c) In  includes/modules/shipping/usps.php , find
    $this->icon = DIR_WS_ICONS . 'shipping_usps.gif'; and change it to:
    $this->icon = 'images/icons/shipping_usps.gif'; Obviously, you could use any other folder you want to store the .gif file. Just update the path to point to the file's location.
     
    If you did not have a copy of the shipping_usps.gif file, you could try to use the font awesome icon. The link Zahid gave above is wrong. His is a link to the UPS icon, not the USPS icon. The correct link is:
    https://fontawesome.com/icons/usps?style=brands
    However, the USPS module stores everything in an array (including the location of the icon), and I could not just substitute the Font Awesome link for the location of the .gif file.
    HTH
    M
×