Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 11/05/2019 in Posts

  1. 4 points
    Jack_mcs

    HoneyPot Captcha

    A new version has been uploaded with these changes: Added a page in admin to find and delete suspected fake accounts. Original code supplied by @Chadduck . Added a page in admin to allow deleting an array from the tracking table and to view the log. Added an option to verify the submitted IP. Added an option to verify the postal code. Added an option to verify the state and country pair is valid. Added an option to check the time to submit a form. Added filesize to dislay of the cron job results. Changed the option for the Math Captcha to use an image or text. Changed the captcha.php file to include a missing parameter. Found by @puggybelle Changed the mysql command to work for non-standard database names. Found by @Chadduck. Changed the cron output to show the size of the file. Changed the IP List setting to include check TOR IP's. Changed the names used in the hidden fields in case hacker scripts scan for the common name of honeypot. Corrected a typo in the error messages. Found by @puggybelle. Corrected the session name in captcha.php. Found by @ecartz. Fixed problem with the cpatcha code so it now works correctly. Removed a line of test code that was overlooked. Removed the notification option. All emails are now sent using the log tracker option.
  2. 4 points
    burt

    What is the best way to learn webdesign?

    You might like to speak with Rezoyen who, it appears...sits right next to you... <cough>spammer alert</cough>
  3. 3 points
    Not in the app's store just download from here. JcM index new products V1.0 Phoenix A simple add-on to let you display an index new products on your site This allows you to set the number of days from which the new products are selected. If no new products added in that period nothing is displayed. So you could set it to show new products added in last week, month or year. You can change the title to whatever you prefer “New products this week” It also make use of a small bit of code to allow you to have the image change on mouse hover (this is done using a small snip-it of code posted by @kgtee in the forum. To use the image change you need to add both the main image and one large image. As you will see the display has been changed to show a nice compact view with the product name disabled and the image set in the top of the card. The product name can be turned on again if required in admin. Again totally stand-alone with no core code change. Simply copy all files into relevant sections and go to admin and install. That's it Enjoy. Can be see working on this site JcM index new products Phoenix V1.0.zip
  4. 3 points
    JcM Modal reCaptcha Contact V1.0 Phoenix A simple add-on that allows you to replace the stock footer information block with one that has a new simple contact form within a modal with Google reCapture. It also displays the information links in a modal window so customer is never taken away from the page they are on. It’s a simple no core change add-on so just copy files over go to admin and install and setup. Turn off the stock information block. To use the contact form you will need you google site keys. Add the secret key to the mail.php file along with the email address you wish to use. Line 6. $secretKey = 'put your secret key here'; Line 15. $mail_to = "your email here"; Then in the language file add you site key, cm_footer_jcm_modal_information_recaptcha_contact.php Line 75. <div class="g-recaptcha" data-sitekey="put your site key here"></div> That’s it enjoy. Has been tested on Phoenix 1.0.3.0 only. Can be seen working on this custom test site
  5. 2 points
    JcMagpie

    Update Order Emails

    This is not part of the stock code in osC so will probably be part of the add-on you installed. Check to be sure it's in the zip file you down loaded and has been copied over to the right path. Also many of the add-on's are no full packages! some only include the updated files so make sure you downloaded a full packeage. Also consider using the updated comunity version of the code. https://www.oscommerce.com/Products
  6. 2 points
    raiwa

    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.
  7. 2 points
    raiwa

    install 2.3 modules to Phoenix?

    Most modules will need the following updates: replace the class constructor name (first function in the module) to "__construct" for PHP 7 compatibility replace the path constants like "DIR_WS_INCLUDES" to hardcoded paths like "'includes/' FOr to know which have been removed compare the "includes/configure.php" files from your old store to the Phoenix files. The definitions which are not in Phoenix any more need to be replaced replace all database table names like "TABLE_CONFIGURATION" with hardcoded real names "'configuration'" if the module produces any html output, it might need to be updated to bootstrap 4. if the module uses any jquery script, it must be injected now in the footer script area. compare to some ht modules how it is done there Best is to have al look in the supplied core modules and compare
  8. 2 points
    mddel

    Product listing

    Annual subscription has been paid and we wish the team all success with the project
  9. 2 points
    Does adding a define('META_SEO_TITLE', 'Our GTCs'); help? May require ht_pages_seo to be installed in admin > Modules > Header Tags (if it is not already). You may also want to look at how ht_product_title.php works and adapt for your use. I'm thinking of copying that file to ht_heading_title.php, changing the class name and $code to ht_heading_title, replacing all instances of PRODUCT_TITLE with HEADING_TITLE, and replacing the contents of the execute function with something like function execute() { global $PHP_SELF, $oscTemplate; if (in_array(basename($PHP_SELF), [ 'attias_beratung.php', 'attias_impressum.php' ])) { $oscTemplate->setTitle(HEADING_TITLE); } } Adjust the list of file names as necessary for your shop. Remember that you have to install the module in admin before it will do anything. You want it to have a low sort order number, as you want it to act before other modules. And if it wasn't clear, change things like $this->title = MODULE_HEADER_TAGS_PRODUCT_TITLE_TITLE; to look like $this->title = MODULE_HEADER_TAGS_HEADING_TITLE_TITLE; throughout the file.
  10. 2 points
    Well, it's language specific, so I'd check the part of the language files that specifies that <htmldir="ltr" lang="de"> My guess is that you're missing a space in define('HTML_PARAMS', ' dir="ltr" lang="de"'); in the german.php file. Note that there should be a space before the dir entry. Your browser doesn't know what an htmldir tag is, so it assumes that it's part of the body. So your browser implicitly creates the html, head, and body tags. Then it removes the ones that template_top.php created.
  11. 1 point
    Works in our 1.0.3.0 shops too.
  12. 1 point
    If your still wondering is it worth me updating my old slow website? Now may be a good time to make a start. 😂 or you may be named and shamed in the future by Chrome. https://blog.chromium.org/2019/11/moving-towards-faster-web.html Google is looking to see if they can name and shame slow websites so users will know before they try and use them. It's still experimental but it's bound to happen at some point. The basic idea is Chrome will show a badge or marker agains any slow to load website so users can select to use or not. "Our plan to identify sites that are fast or slow will take place in gradual steps, based on increasingly stringent criteria. Our long-term goal is to define badging for high-quality experiences, which may include signals beyond just speed. We are building out speed badging in close collaboration with other teams exploring labelling the quality of experiences at Google. We believe this will ensure that if you are optimizing your site to be fast, your site will not be inconsistently badged from one surface to another." So best get moving.....😉 Oh and yes they clearly still need to work on this as the green progress bar to show fast sites is a bit lame! you can hardly see it on mobile devices.
  13. 1 point
    mhsuffolk

    Site not secure ??

    If you have a back up of your site on your PC, get PSPad or Notepad++. Use the search files function to search for "http". This is not the normal find or search function. Search files looks at all the files in the folder you point it at, including sub folders. If you have no back up, then download your site now!
  14. 1 point
    https://apps.oscommerce.com/HUONy&amp;unsold-carts-report-2-0 Lets you run a report for a selected number of days to show all unsold carts. You can then deleat if required.
  15. 1 point
    HI Zahid!!! Another great contribution to the OSC community !!! TY!!
  16. 1 point
    @azpro He's agreeing (mostly), just not with the reason for creating the order on checkout_payment. Actually in the current system the order gets created when checkout_payment is confirmed, at the top of checkout_confirmation, and if you go back to checkout_payment the order gets deleted again. Which is where this whole discussion started...
  17. 1 point
    😂 I have to agree with @BrockleyJohn .. Actually I think an ordernumber should be created on chekcout_payment.php and order should be stored in DB immediately at checkout_process.php .. The need for it would probably depend on different Payment Service Providers / Gateways but in my experience the ones I have seen could be handled better with an existing/created ordernumber. Actually this was one of the first changes we did some 15 years ago when we started to use oSC.
  18. 1 point
    ecartz

    install 2.3 modules to Phoenix?

    The change was here. define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); Which if we hardcode paths in it would become define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', 'images/icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', 'includes/functions/'); define('DIR_WS_CLASSES', 'includes/classes/'); define('DIR_WS_MODULES', 'includes/modules/'); define('DIR_WS_LANGUAGES', 'includes/languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); Replace occurrences of the values on the left (without quotes) with the values on the right (with quotes retained). If you have two hardcoded strings together, e.g. 'images/' . 'icons/' You can merge them like 'images/icons/' That makes no functional difference, but it may make them easier to read.
  19. 1 point
    azpro

    Generated link Concept

    Clever idea! Thanks H 😉
  20. 1 point
    JcMagpie

    HoneyPot Captcha

    Then you have not applied it correctly. 1) It will stop 99% of all fake accounts made by bot's ( nothing can stop human factory fake accounts) 2) Have installed on about 20 sites that were getting fake account problem has stoped on all sites. So yes it does work. 3) Your customers complain about you keeping them safe ( stupid cutomers no?) Also you can change recpatcha so customer is not required to do anything ( invisable cpatcha) simply pick the one you are happy to work with.
  21. 1 point
    tonymazz

    HoneyPot Captcha

    In my experience, Blacklisting is not the complete answer either. I forgot to mention that some of the IPs used are being spoofed as Bing, Google, PayPal etc. You really do not want the bot to automatically get important IPs blocked out. One time we even had our own server's IP blocked. I since whitelisted those IPs in CSF, however that gives the spoofers a wide open ticket when they use a whitelisted IP. I did do one thing that helped a good bit. In CSF I blocked CC's. In our case we blocked RU, CN, Ukraine. Again this will not help block them if they are spoofing. And this puts a lot of stress on many servers. The list of CIDR's is quite lengthy. I run dedicated servers so the overhead is not as noticeable as it could be on a shared, cloud or other. cables24h, you may want to look at the bad_behavior add-on which automatically blocks IPs via htaccess. It works well, but again if they spoof an important IP for your store, it can be detrimental. I use it, although modded for our needs to prevent certain header requests, user agents and to help block the IPs that are initiating script injections. 'better ask why someone choose your website to "spam"'. - If you are lucky enough to have a successful site, with high ranking, you will eventually get sniffed out by the spambots and scriptkitties. They will find you; especially when you advertise on FB, Google and Bing which brings even more notice to our sites. Another reason: Competitors or BlackHat will sometimes do things like this to cause havoc. These signups create spam to a legit email address. Enough spam reports will get you on the RBL; once there, it takes a lot of effort and time to get removed. Until then an ISP like AOL will block your domain from sending anyone with an aol account any emails. So, Unintended consequences is a real concern for us: if you make it too tight you will either block or alienate your legitimate clients. I try hard to prevent this. I post his info in an effort to corroborate, not insult. I believe there needs to be many approaches to this issue and there is always going to be a workaround by the other side. A constantly evolving problem. @Jack_mcsI will post the details of the next signup. I delete them on the fly so I do not have one at the moment. Any hour though, unfortunately. Thanks again for your work on this project. And all of the others too!
  22. 1 point
    Today I finished with the migration of my old Website to the Phoenix plattform. This is the result, see: https://www.attias.ch/ I am happy now, it was a lot of work. Thank you all for the help
  23. 1 point
    JcM CKEditor V1.1 Has been updated to apply to newsletter and email in admin. Now you can spice up your newsletters and emails with images and html layout within admin.
  24. 1 point
    raiwa

    List of my Phoenix compatible Addons

    Reuploaded all Phoenix compatible Addons flagged for Phoenix
  25. 1 point
    @14steve14 I have been updating shop from own cart script ---> oscommerce 2.1---> 2.2 ( which is heavily modified with altered modules, core and database modifications) ---> 2.3 ---> 2.3 GOLD ---> 2.3 EDGE ---> 2.3 FROZEN .. and I am planning to go for latest Phoenix version ( already on server for testing and updating) when the sales season end hopeful on April/May ... between the updating I lost some modules because they are done by someone who have never be on the forum any more and are not needed at moment .. it was the easiest thing I have done .. check this as @Mikepo said You need time on the begin and spend some money.. but after that it will be so easy on the future. after more people making, updating add-ons to sitewide hook system. Phoenix is the future.. @burt has done really good work and still doing and updating it (so easy to update from A to Z)... when everyone know that oscommerce become slowly dead.
×