Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Reputation Activity

  1. Thanks
    ArtcoInc reacted to ecartz in Emails not sending   
    Newer version of Harald's test script, updated for PHP 7: 
    <?php if ('send' === ($_POST['action'] ?? null)) { define('SEND_EMAILS', 'true'); } require 'includes/application_top.php'; if ('send' === ($_POST['action'] ?? null)) { mail($_POST['to_address'], '[PHP] ' . $_POST['subject'], 'This email has been sent from the native php mail() function.' . "\n\n" . $_POST['body']); tep_mail($_POST['to'], $_POST['to_address'], '[osCommerce] ' . $_POST['subject'], 'This email has been sent from the email class osCommerce uses.' . "\n\n" . $_POST['body'], $_POST['from'], $_POST['from_address']); echo 'E-Mails Sent!<br /><br />'; } ?> <html> <body> <form name="emailtest" action="email_test.php" method="post"> E-Mail From: <?php echo tep_draw_input_field('from'); ?><br /> E-Mail From Address: <?php echo tep_draw_input_field('from_address'); ?><br /><br /> E-Mail To: <?php echo tep_draw_input_field('to'); ?><br /> E-Mail To Address: <?php echo tep_draw_input_field('to_address'); ?><br /><br /> Subject: <?php echo tep_draw_input_field('subject'); ?><br /><br /> Body:<br /> <?php echo tep_draw_textarea_field('body', 'virtual', 50, 7); ?> <br /><br /> <input type="hidden" name="action" value="send"><input type="submit"><br /><br /><input type="reset"> </form> </body> </html>  
  2. Like
    ArtcoInc reacted to Jack_mcs in Sitemap SEO   
    @rsthomasThe main idea behind all of my SEO-type addons is to provide quick links to products. That helps the search engines in getting the pages listed. So, in answer to your main question, yes, this addon will help with SEO but it is not the only thing that should be done.
    First, you should install the Google Sitemap, if you haven't already. Once it is working, add the maps to your google webmaster account, and Bings too if you like. Once the maps are entered, check back in a few days to see what google did with them. Fix any problems they find. They won't process all of the links in one go. For that many products, it could take weeks, or even more if your site isn't visited much by them.
    Second, install Information Pages SEO and start creating pages for your important keywords.
    As for the pages you created, be careful with that. Google knows how to spot pages that are just link pages and they can hurt a site. In case you are not aware of it, there is a model cross-reference file included in Header Tags SEO for that purpose.
    There are other considerations than the above but it should help.
  3. Like
    ArtcoInc got a reaction from valquiria23 in Phoenix Dashboard   
    Admin -> Modules -> Dashboard -> Select 'Last Certified Add-Ons' -> Edit -> Set 'Enable' to False
  4. Like
    ArtcoInc got a reaction from puggybelle in help what version   
    All of the Community Editions were called that.
    As you suggested, sometimes the folder date may reflect the date you downloaded. However, all of the files within the folder should all have the same date.
    Regardless, with a date of May 2018, this was before the release of Frozen, which was released in August 2018.
    @ecartz explained it well.
  5. Like
    ArtcoInc got a reaction from puggybelle in [Addon] Twitter Typeahead Autocomplete Search for osC 2.3.4 (BS and nonBS)   
    @puggybelle @Dan Cole
    While I was trying to install a different TypeAhead search module, I too had the same issues that both you and Dan reported. You can start reading about them here:
    I was getting different results on my in-house development server and my 'live' public server. I was getting different results with different browsers. I asked different people to test the public server, and different people experienced different results.
    I never determined what was causing the problem. I wish I had better news ...
  6. Like
    ArtcoInc got a reaction from Smoky Barnable in [Addon] Twitter Typeahead Autocomplete Search for osC 2.3.4 (BS and nonBS)   
    @Smoky Barnable
    Back in 2016, @burt made a 'Fuzzy Search' module in his 28 days bundle. It might help.
    One other thought is to integrate the Google search function into your shop. I have seen that used before.
  7. Like
    ArtcoInc reacted to raiwa in Display Tax Info V3.0   
    Uploaded Update for Phoenix flagged for Phoenix:
    Display Tax Info Phoenix
    Changelog Version 4.0
    - updated for Phoenix 1.0.3.x
    - moved currencies_mod class extension into siteWide hook. This allows to use it also for modularized shopping cart and other modularized pages with content module call in data section of the page.
  8. Like
    ArtcoInc reacted to raiwa in Converting Points and Rewards system for osC BS   
    Uploaded update 3.0.1:
    Points and Rewards Phoenix
    Version 3.0.1.
     - Fix for shipping tax to be included in points calculation. Thanks to @MITCH70 for the report
     - Added note for content module call if already present in checkout_payment.php
  9. Like
    ArtcoInc reacted to raiwa in Converting Points and Rewards system for osC BS   
    Uploaded update for Phoenix:
    Points and Rewards Phoenix
  10. Like
    ArtcoInc reacted to raiwa in Wholesale (SPPC lite)   
    Uploaded update:
    Wholesale (SPPC lite) 4.1.0.
    - Update for Phoenix 1.0.3.x, hooked admin/categories.php. Thanks to @heatherbell for testing
    Phoenix 1.0.3.x
    PHP 7.0-7.3
    Older Phoenix - 1.0.2.x versions please use Wholesale (SPPC lite) 4.0.1.
    Older 2.3.4.(1.) responsive BS versions please use Wholesale (SPPC Lite) 3.0.4
    Older 2.3.4.(1.) versions please use Wholesale (SPPC Lite) 2.0
  11. Like
    ArtcoInc reacted to BrockleyJohn in NEW! Complete Order Editing Tool!   
    Sorry that was not the problem at all - it was an issue with the indexing of the products in the cart and nothing to do with the order totals. The cart class in catalog and the original admin version in this addon do not cope with more than one order line for the same product. In the catalog they automatically get combined when you add the same product again.
    I updated the cart class in this addon so that it copes with the same product on multiple lines, allowing you to 'get one free', give another half price and other such real life situations that you want to show on the invoice.
  12. Thanks
    ArtcoInc reacted to BrockleyJohn in NEW! Complete Order Editing Tool!   
    So, adding the same product on two different order lines was messing up the shipping calculations (even if with different options). I reckon that shipping modules based on price didn't get the right results either. This is fixed (cart products are now indexed on uprid and the restore checks for existing key), along with the Edit button issue and also the redirect error on a fresh install.
    Uploaded to https://apps.oscommerce.com/Apps&wwEZ9&order-editor-for2-3-v1-0
    @ArtcoInc @TomB01
    Tested on 2.3.4 classic, Phoenix and a bunch of bs versions in between but please flag up any issues.
  13. Thanks
    ArtcoInc reacted to BrockleyJohn in NEW! Complete Order Editing Tool!   
    @ArtcoInc and anyone else using shipping weights:
    I can confirm that there still IS a bug with shipping weights - specifically when you add a product that's already in the order, it trashes the calculated order weight (possibly overwriting instead of adding for that product, but definitely making it wrong!)
  14. Like
    ArtcoInc reacted to swguy in [Contribution] Better Together Discounting Module   
    Phoenix users - please get Better Together for Phoenix here: 
  15. Like
    ArtcoInc got a reaction from TomB01 in UPS XML 1.7 for Phoenix   
    Back in the day, osC had two files: database_tables.php and filenames.php. These were in the catalog/includes/ directory. There were another set of these in the catalog/admin/includes/ directory. These files defined all of the referenced file names and database tables.
    In the evolution of the Community Edition of osC (which Phoenix is), these files were removed, and all of the references were hard coded.
    Many of the more popular add-ons have been updated to hard code these filenames and/or database tables. But, there are still a number of popular add-ons that have not be so updated.
    If you are trying to install one of these older add-ons, you will need to makes these changes:
    When there is a TABLE_xxxxx, you need to change that to the actual table name, *usually* what is in the xxxxx place. Best practices say to type it in lower case, but that shouldn't really matter.
    Where there is a FILE_xxxxx, you need to change that to the actual file name, *usually* using what is in the xxxxx place (so, it would become 'xxxxx.php' (yes, you need the single quotes, and add the .php to the end)).
    There are also other changes that will need to be made to bring the add-on up to PHP 7 compatibility.
  16. Like
    ArtcoInc reacted to burt in Spam, Fake accounts and how to stop them.   
    Well meant advice;
    You have multiple hook files performing the catcha routine ... this can be done from one hook file.   
    Take a look at the core bootstrap example where it is placing "stuff" in two different locations;
    Having just one File with all the hooks (for a given "XYZ" [in this case captcha]) in it, is;
    simpler for you in terms of support simpler for user in terms of having to upload/delete etc
    let us say that the user wanted to not use your captcha anymore, and deleted the file that displays the form...the other files gets missed somehow...they have a broken site.  Not good for them [loss of potential sales], not good for you [support issues], etc etc Hooks are a big part of Phoenix' future, so well done on being one of the pioneers of them.
  17. Like
    ArtcoInc reacted to BrockleyJohn in SSL duplicate domain   
    Having the http and https server versions in the config dates back to a time when sites would only use ssl for some pages - account and checkout and not the whole thing. Nowadays you probably want ssl across the whole site so set them both to https
  18. 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.
  19. 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.  😂
  20. Like
    ArtcoInc reacted to raiwa in List of my Phoenix compatible Addons   
    Reuploaded all Phoenix compatible Addons flagged for Phoenix
  21. 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>',
  22. 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...
  23. 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>
  24. Thanks
    ArtcoInc got a reaction from Philo2005 in Categories - Amount of articles not shown   
    This can be handled with CSS.
  25. 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.