Jump to content


Popular Content

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

  1. 3 points

    Stripe v3 module for SCA

    I've updated the module to version 1.0.13 to remove a potential SQL injection and tidy the account saved cards display when there are multiple cards (thanks @Smoky Barnable). @mhsuffolk I'm afraid the current version does not support Apple Pay, etc but looking at the Stripe documentation, it does not look too difficult to add. It just involves adding an extra HTML element to host a 'Payment Request' button which is displayed for certain compatible browsers, and some javascript and server code to support the creation and processing of a 'PaymentRequest' in a similar fashion to the handling of the 'PaymentIntent' in the current version. I'll add it to my list of things to do.
  2. 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.
  3. 1 point
    Has been updated to fix language file path. JcM Google reCAPTCHA V2 & Terms Phoenix
  4. 1 point

    Generic Infobox

    This module allows one infobox module to be installed that can contain any number of template files. In effect, it is an infobox container. This could be accomplished by creating many individual modules but this provides a better way in certain situations. With this module, - Add a new section by adding just one more file, instead of the normal three files. - Easily enable and disable the modules via the main module in admin. - Sort the modules via the setting in the file. - One css class controls the whole appearance of the infobox, allowing more design choices for the shop. Currently only available for the Responsive version, though it should work in some later 2.3.4 versions.
  5. 1 point

    Phone Orders

    This addon makes it very easy to create orders using the customers account. It is access in admin with one click, which takes you to the shop. There you search for the customer. When that customers entry is clicked on, you are automatically logged into his account and can start ordering. There are two built-in security options to make this as secured as possible. This addon will work with Phoenix and Frozen. It can also work with other versions of oscommerce but would require a few modifications. It has been tested with php 7.3 without warnings or errors.
  6. 1 point

    Manufacturer Images

    This module displays images of the manufacturers on the home page. It is meant for the Responsive versions of oscommerce (Frozen and Phoenix) though it may work with some later versions of 2.3.4.
  7. 1 point

    Full Width Footer

    This addon adds a footer module designed to display horizontally, instead of the usual vertical alignment. It is compatible with Frozen, Phoenix and all V2.3.4 shops that can use modules.
  8. 1 point
    Dan Cole

    Product listing

    Thanks Rainer....you get a gold star. 🤩 That would explain it. My images are outside the images directory and needed some code added to their urls so they could be located. As a test I removed the extra code from one of my skus and it works as it should. Thanks for pointing me in the right direction. Dan
  9. 1 point

    Product listing

    It shouldn't be like this. I have several sites using kiss it together with image subfolders and it works like you say. Just to be sure, you have the "skus" directory included in the image path in the database? Like: "skus/category_name/my_big_image.jpg"
  10. 1 point


    A new version has been uploaded with these changes: Added headers to the mail function. Added a global entry in functions file to fix problem with php 7.2 Found by member mhsuffolk. Corrected coding mistake that stopped some configurations from being recognized. Removed the BOX_WIDTH usage for newer shops. Removed definitions missed in the last version.
  11. 1 point

    Google XML Sitemap SEO

    A new version has been uploaded. It includes the missing security code mentioned previously.
  12. 1 point

    FAQ's BS

    A new version has been uploaded with these changes: Changed the cursor to a pointer when mousing over questions. Corrected some php 7.2 problems.
  13. 1 point

    Category Images

    A new version has been updated. It contains display fixes for Phoenix shops as found my @Heatherbell
  14. 1 point

    Auto Update Currencies

    A new version has been uploaded. It uses the latest currency site and is compatible with Phoenix as well as previous versions.
  15. 1 point

    Horizontal Categories Menu BS

    Yeah.. @Demitry I did not install the XS modul either as @puggybelle I didn't know I should. Now it works like it should, except now the categories button in mobile view is floating over my fixed top navbar. Thanks for all help!
  16. 1 point

    Horizontal Categories Menu BS

    Good Morning, @Demitry I am so glad I thought to revisit this thread. I never did install the XS module for this contribution. The Categories button has always displayed on cellphones, despite never having installed the XS folder. And when clicked, the Categories button always displayed the parent categories with arrows to indicate there are deeper categories within, so...I just assumed everything was okay. I am not a cellphone person. I hate cellphones, so...I thought what I was seeing was sufficient and that was the end. Wrong. If I clicked on an arrow next to a category (indicating there are sub-categories) - nothing would load on a cellphone. Couldn't see the subcats at all. It's been like that for a year and I had no idea until today. So, I installed the XS folder and...what a difference, and it's a huge difference. Everything is appearing beautifully, complete with a back button to go back to the parent category. God, I wish I had realized how this works a long time ago. The instructions were pretty vague and just said, you can install one or the other or both. And that's about it. So, I installed the BS folder only. I didn't understand the significance of the XS folder at all. Big mistake in a world full buyers using cellphones to shop. Glad you pointed me in the right direction - Thanks, Demitry! - Andrea
  17. 1 point

    UPS XML 1.7 for Phoenix

    Well, right now we don't have the necessary hook. So let's add it. See here. Find $action = (isset($_GET['action']) ? $_GET['action'] : ''); Add before it add $OSCOM_Hooks->call('modules', 'preAction'); Now, in includes/hooks/admin/modules/ create a file called canadapost.php or upsxml.php or whatever.php. I'm going to proceed as if named whatever. In that file, create a class named hook_admin_modules_whatever, e.g. class hook_admin_modules_whatever { function listen_preAction() { if (isset($_GET['module']) && 'whatever.php' == $_GET['module'] && isset($_GET['action']) && 'save' == $_GET['action'] && isset($_POST['configuration'])) { foreach ($_POST['configuration'] as $key => &$value) { if (isset($value) && is_array($value)) { $value = implode(', ', $value); if (false !== strpos($value, '--none--')) { $value = str_replace(', --none--', '', $value); $value = str_replace('--none--, ', '', $value); $value = str_replace('--none--', '', $value); } } } unset($value); } } } My suggestion would be that whatever should be the name of the module. Note that in the 'whatever.php' == $_GET['module'] whatever must be the name of the module. After you test that this works, I'll ask Gary to make the core change so that in future versions, you don't have to change admin/modules.php
  18. 1 point

    Creating Custom Sessions

    In osCommerce, the session_start() is always done for you in includes/application_top.php. You should not trigger it yourself. It is done as early as possible. To do what you want, try if (!tep_session_is_registered('custom_session')) { $GLOBALS['custom_session'] = []; tep_session_register('custom_session'); } Then just use $GLOBALS['custom_session'] as you would normally. If in global context (outside a class or function), you can access it as $custom_session. You'd have to do this after tep_session_start is called. And you probably should wait until after the extract($_SESSION , EXTR_OVERWRITE+EXTR_REFS );
  19. 1 point

    Phoenix Announcements

    Phoenix 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; 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 Then follow "how to update if on & after which" instructions - OR - You can download and install a brand new, 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... 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 - 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.
  20. 1 point

    GitHub Crashkurs

    Schau mal hier rein https://t3n.de/news/github-fuer-einsteiger-ersten-schritte-762760/
  21. 1 point

    Support thread for JcM CKEditor V1.0

    Hi ! CK Editor throws errors while not all textareas where found on all adminpages... ckeditor.js:19 [CKEDITOR] Error code: editor-incorrect-element. Object ckeditor.js:19 [CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#editor-incorrect-element ckeditor.js:19 [CKEDITOR] Error code: editor-incorrect-element. Object ckeditor.js:19 [CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#editor-incorrect-element ckeditor.js:19 [CKEDITOR] Error code: editor-incorrect-element. Object ckeditor.js:19 [CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#editor-incorrect-element ckeditor.js:19 [CKEDITOR] Error code: editor-incorrect-element. Object ckeditor.js:19 [CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#editor-incorrect-element ckeditor.js:19 [CKEDITOR] Error code: editor-incorrect-element. Object ckeditor.js:19 [CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#editor-incorrect-element Why not include CK like Tiny MCE in https://apps.oscommerce.com/1VCAj&amp;tinymce-editor-for-admin ? Tiny MCE even catches all languageareas but does not load on every adminsite... Should I try to update and upload ? Greetings, Denzel.
  22. 1 point
    Tested on Phoenix 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.
  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

    New customers - injected?

    @Scottyj It's an increasingly common occurrence with all websites. Make sure your website is using the latest Phoenix - that's a good start. Download here - https://github.com/gburton/CE-Phoenix Google recaptcha 2 installed will usually stop this - it did on our website.
  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); }