Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 11/09/2019 in all areas

  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. 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
  3. 3 points
    burt

    Phoenix Announcements

    Phoenix 1.0.4.0 Demo Site: https://template.me.uk/phoenix/index.php v1.0.4.0 fixes a few bugs in the shop side as well as introducing database enabled hooks and the very first step towards a better template implementation, in addition the manufacturers class is now used in more places. On the admin side we have a better bootstrapped layout (header/footer) and a few more pages have been converted to bootstrap tabular layout. We have some more modules, particularly note the "testimonials" page in the shop side is now modular. If you are on v1.0.3.0, it's an easy update. If you are on an older Phoenix, you'll need to get to v1.0.3.0 first before attempting the below steps. A big thank you to everyone who made the release of v1.0.4.0 possible, especially to the Supporters as well as to @raiwa @ecartz and "F Figue". This release introduces a number of improvements; the foundations of an integrated Template System this has been asked for many times over the years, now it's becoming reality... more bootstrapping in admin with more to come in future releases... admin Boxes made 100% modular How to Update if on 1.0.3.0; Uninstall defunct modules;- Social Bookmarks BOX (main module + all installed child modules)- Card Acceptance BOX Delete defunct files (eg using FTP)- admin/includes/classes/rss.php- includes/modules/boxes/bm_product_social_bookmarks.php- includes/languages/english/modules/boxes/bm_product_social_bookmarks.php- includes/languages/english/modules/social_bookmarks/<all files in here>- admin/includes/modules/cfg_modules/cfgm_social_bookmarks.php- includes/modules/boxes/bm_card_acceptance.php- includes/languages/english/modules/boxes/bm_card_acceptance.php Download this Zip, unzip and upload + 1040.zip Run this SQL in (eg) phpmyadmin)+ https://pastebin.com/c7p4WtL2 How to Update if on earlier version; Find version you are on [admin > tools > version checker] Go back through this topic and perform updates to get to 1.0.3.0 Then follow "how to update if on 1.0.3.0 & after which" instructions - OR - You can download and install a brand new 1.0.4.0, obviously making sure not to overwrite your live shop; clicking the green "clone or download" button at https://github.com/gburton/CE-Phoenix or grab it direct from osCommerce at https://www.oscommerce.com/Products choose "download zip" unzip, upload, install - OR - You can diff your files; Find which version Phoenix you are on admin > tools > version checker go to this URL, changing a.b.c.d to your Phoenix version; https://github.com/gburton/Responsive-osCommerce/compare/a.b.c.d...1.0.4.0 Make code changes one by one it'll take you a while, but if it floats yer boat... - THEN - After Installation (whether NEW or UPDATE) is complete; Visit admin > tools > security checks and perform any needed actions Enjoy using 1.0.4.0 - Join the Phoenix Club - https://forums.oscommerce.com/clubs/1-phoenix/ you'll get to see some of the "behind the scenes" work and help to steer future releases.
  4. 2 points
    As the festive holiday season approaches you may wish to give your site a face lift. This new add-on gives you 14 new bootstrap 4 themes to select from.
  5. 2 points
    ecartz

    Error installing Phoenix 1.0.4.0

    Phoenix requires PHP 7+ If you want to fix the error, change $module_width = $ad->content_width ?? 6; to $module_width = isset($ad->content_width) ? $ad->content_width : 6; and that particular line will work again. But expect more problems if you try to run Phoenix on PHP 5.
  6. 2 points
    puggybelle

    HoneyPot Captcha

    @Jack_mcs I don't know what you did, but THANK YOU! All works perfectly now, with captcha enabled, in both create account and contact us pages. You're one of the best contributors of all time in this forum - thank you for all of your hard work and for sharing it with the community! - Andrea
  7. 2 points
    JcM Google reCAPTCHA V2 Phoenix V1.0 A simple add-on to let add the Google reCAPTCHA V2 to any form in Phoenix 1.0.3.0 that has the hooks added to it.
  8. 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
  9. 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.
  10. 2 points
    raiwa

    List of my Phoenix compatible Addons

    Uploaded: Points and Rewards Phoenix
  11. 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
  12. 2 points
    mddel

    Product listing

    Annual subscription has been paid and we wish the team all success with the project
  13. 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.
  14. 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.
  15. 2 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
  16. 1 point
    Has been updated to add optional accept terms hook.
  17. 1 point
    JcM AdBlock Check Phoenix V1.2 If you use sliders or banners on your site these can be blocked by adblockers depending on how the user has set his browser. This add-on will display a modal leting them know if it's blocking content.
  18. 1 point
    highly recommended
  19. 1 point
    cables24h

    HoneyPot Captcha

    I not want to be a game breaker here. But for the address part, google seemed to took care of it as well. Google: Autocomplete Address Form I just want to point out that most of the problems are covered in so much ways and by so much people and company who offer solutions. I perhaps stirred the pot a little here. But i think in the end it the discussion was worth it. I definitely noticed that what i mentioned gave some second thoughts. Nothing of what i Sayed was to hurt anyone in one way or the other, or try to let them look bad. I think with what i told, opened doors to other views. There is a real difference in running a shop or a forum or a blog. I understand , the quicker the process, no burdens in registration etc, could make the purchase of an item quicker. But it is good to talk about it, and even more........... to listen what the other say or try to understand I excuse to anyone who felt or thought i was or that i am a disturbing factor.
  20. 1 point
    Uploaded update for Phoenix: Points and Rewards Phoenix
  21. 1 point
    Dan Cole

    How can i automate a SQL update query?

    I don't know if it's appropriate for your application or not but you could always trigger it on a page call...ie someone visits one of your store pages and the call gets executed. Dan
  22. 1 point
    valquiria23

    Continue Shopping

    Nice job Jack !!! This addon should be part of the Core, but hey ... Thank you for your contributions to the OSC community !!! Best regards. Valqui
  23. 1 point
    Tested on Phoenix 1.0.3.0 only but both email and news letter work fine. Now your email and letters can be more than plain text without having to cut and past html.
  24. 1 point
    I believe that it's if (!file_exists(DIR_FS_CATALOG . 'includes/modules/payment/'. $payment . '.php')) and require_once(DIR_FS_CATALOG . 'includes/modules/payment/'. $payment . '.php'); Here's the commit. It says that the following were removed 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/'); So anything with DIR_WS_MODULES should be replaced with 'includes/modules/' and then you can concatenate neighboring strings. DIR_FS_CATALOG and $payment should stay the same. If you continue to have trouble, try replacing $payment with $GLOBALS['payment'] and output both (either to log or screen; preferably log if a live site).
  25. 1 point
    Probably, this contribution does not use the osC way of doing an insert (using function tep_db_perform in includes/functions/database.php) and therefore it doesn't put a backslash in front of the apostrophe, therefore MySQL sees it as the end of the string and when it sees the next apostrophe: error.The function tep_db_perform adds slashes in this line: default: $query .= '\'' . tep_db_input($value) . '\', '; where tep_db_input does the addslashes (a PHP function): function tep_db_input($string) { return addslashes($string); }
×