Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by bsmither

  1. Works for me by making the change: /admin/skins/default/styles/layout.css, near line 1445: grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; Alternate: grid-template-columns: repeat(6, 1fr); Then making sure the browser fetches and uses this changed version of layout.css.
  2. I have created a set of instructions that allow for individual downloadable files to be associated with a product's options. It is still in experimental stage, and will require hard edits to the actual code. If you wish to try it, send me a PM.
  3. I will study this and report back soon. Please try adding just the new file 'element.recaptcha.invisible.php'.
  4. Please observe the differences between the 'from' code versus the 'To' code. Then, find those lines specified in the 'from' section. The specified lines could be anywhere in the file, and may have extremely minor differences, but should be easy enough to locate. For example, in your code posted above, the last two lines (mostly) match: </images> </skin> Between those two lines, add the following changes: <!-- Use this to add custom variables into the skin which can be found in the smarty SKIN_CUSTOM array --> <custom> <recaptcha_badge_position>bottomright</recaptcha_badge_position><!-- Invisible Recaptcha Badge Position: bottomright, bottomleft or inline --> </custom> For the template file edits, note the essential difference between the 'from' section versus the 'To' section. Among all the lines of code in the template files, locate just the one line (or two, three) specified in the 'from' section. Apply the difference noted.
  5. CC645 is not 100% compatible with PHP8. For the past few weeks, the programmers have been making edits to the current CC64X code to make it PHP8.1 compatible. So, we can expect to see that in CC646. We should also be prepared to be upgrading third-party modules.
  6. "There are too many differences in the code" For example?
  7. To review, please verify your skin has made the following changes: The skin's config.xml, from: </images> </skin> To: </images> <!-- Use this to add custom variables into the skin which can be found in the smarty SKIN_CUSTOM array --> <custom> <recaptcha_badge_position>bottomright</recaptcha_badge_position><!-- Invisible Recaptcha Badge Position: bottomright, bottomleft or inline --> </custom> </skin> A new template, content.recaptcha.head.php, containing: {if $RECAPTCHA} <script src="https://www.google.com/recaptcha/api.js?onload=reCaptchaCallback&render=explicit" async defer></script> {/if} {if $RECAPTCHA=='3'} <script> var reCaptchaCallback = function() { $(".g-recaptcha" ).each(function() { var el = $(this); grecaptcha.render($(el).attr('id'), { 'sitekey': '{$CONFIG.recaptcha_public_key}', 'badge': '{$SKIN_CUSTOM.recaptcha_badge_position}', 'callback': function(token) { if($(el).attr("data-form-id")){ $('#'+$(el).attr("data-form-id")).submit(); } else { $(el).parent().submit(); } } }); }); }; </script> {/if} The existing template, content.recaptcha.php, from: {if $RECAPTCHA} <fieldset id="recaptcha-title"> <legend>{$LANG.form.verify_human}</legend> <script type="text/javascript"> var RecaptchaOptions = { theme : 'clean' }; </script> {$DISPLAY_RECAPTCHA} </fieldset> {/if} To: {if $RECAPTCHA=='1' || $RECAPTCHA=='2'} <fieldset id="recaptcha-title"> <legend>{$LANG.form.verify_human}</legend> {if $RECAPTCHA=='2'} {if empty($CONFIG.recaptcha_public_key) || empty($CONFIG.recaptcha_secret_key)} <p>{$LANG.form.recaptcha_key_not_set}</p> {else} <div class="g-recaptcha" data-sitekey="{$CONFIG.recaptcha_public_key}"></div> {/if} {else} <script type="text/javascript"> var RecaptchaOptions = { theme: 'clean' }; </script> {$DISPLAY_RECAPTCHA} {/if} </fieldset> {/if} A new template, element.recaptcha.invisible.php, containing: {if $RECAPTCHA=='3'} data-sitekey="{$CONFIG.recaptcha_public_key}" data-callback="recaptchaSubmit" {/if} The template content.contact.php, from: {include file='templates/content.recaptcha.php'} <p><input type="submit" class="button_submit" value="{$LANG.documents.send_message}" /></p> </form> To: {include file='templates/content.recaptcha.php'} <p><input type="submit" class="button_submit g-recaptcha" value="{$LANG.documents.send_message}" /></p> </form> The template content.register.php, from: {/if} <p><input type="submit" name="register" value="{$LANG.account.register}" class="button_submit" /></p> </form> To: {/if} <p><input type="submit" name="register" value="{$LANG.account.register}" class="button_submit g-recaptcha" /></p> </form> The template content.checkout.php, from: {if $DISABLE_CHECKOUT_BUTTON!==true} <input type="submit" name="proceed" class="button_submit" value="{$CHECKOUT_BUTTON}" /> {/if} To: {if $DISABLE_CHECKOUT_BUTTON!==true} <input type="submit" name="proceed" class="button_submit g-recaptcha" value="{$CHECKOUT_BUTTON}" /> {/if} The template box.newsletter.php, from: <input type="submit" class="submit right" value="Subscribe" /> To: <input type="submit" class="submit right g-recaptcha" value="Subscribe" /> <div class="hide" id="newsletter_recaptcha"> {include file='templates/content.recaptcha.php' ga_fid="Newsletter"} </div> The template content.product.php, from: <input type="submit" value="{$LANG.catalogue.submit_review}" class="button_submit" /> To: <input type="submit" value="{$LANG.catalogue.submit_review}" class="button_submit g-recaptcha" /> The template main.php, from: </head> To: {include file='templates/content.recaptcha.head.php'} </head> CubeCart determines if the reCaptcha version 2 can be seen in the currently selected storefront's default skin (as set in the Layout tab, and the cache has been cleared) if the template 'content.recaptcha.head.php' exists, and if the invisible mode can be seen if the template 'element.recaptcha.invisible.php' exists. The code for this can be seen in the admin /source/settings.index.inc.php, near lines 462-465. If these templates do not exist in the currently selected default skin, there will be a message that these modes are not available for the currently selected default skin. The above skin edits were taken from an experiment on the e-Tone skin. There may be slight differences in class names as compared to Kurouto.
  8. Allow me to say, "CarolBauer" is fake and is hijacking really old threads to spam.
  9. Recently had to change the password on a friend's Outlook 2013 (which does not do OAuth like Thunderbird). Now, I have not actually done this for my development installations of CubeCart yet, but I have every expectation that this will work. What you need to do is to acquire an "app password" for your "less-than-secure" app (as Google puts it). See: https://support.google.com/accounts/answer/185833 To do this, you will need a cell-phone. In your GMail account settings page, find the Security section. Enable "Two-step Verification". (This is not as bad as it sounds.) This is only to verify that the person doing this process is, in fact, you. Google will text a code when you begin the process of generating an app password. There should now be a new option in the "Signing in to Google" section for App Passwords. Select this option. On the App Password page, choose Select App, and for the name of the app, choose something like FettleBox Store (something in one or two words to describe what you are to use this app password for). Then choose Generate. The 16-digit number in a yellow banner is what you will enter in CubeCart's SMTP Password field (the banner shows spaces between each set of four digits that are not part of the password - do not include the spaces). This is all how it worked for Outlook 2013. I expect it to also work when wanting to use GMail as the SMTP server for CubeCart.
  10. Regarding having an additional area, or a complete page, to hold custom content about Gift Cards, would the following work? Create a Site Document having the desired content. The document's settings could have "Show link to document in storefront" as not checked. Have a link to this document in the Gift Card language string, and have a link to the Gift Card order page in the document. Would this Feature Request work? https://github.com/cubecart/v6/issues/2513
  11. CC645 will use a skin template (content.404.php) if it exists. If the skin you are using does not have this template, you can create it. The existing template file has very basic code in it - essentially just a title and a phrase found in the language pack. If you wish for a more elaborate page of content (which gets displayed within the CubeCart overall page layout), feel free to compose it. You either edit the phrase (in admin, Languages), or use a Code Snippet to overrule the existing language phrases with something way more complicated.
  12. Attached is a follow-on report for more edits needed to make CC645 run under PHP 8.1 - attempting to eliminate (at least minimize) the numerous error messages that PHP logs. Some of these edits assume that the edits and file replacements found in the prior report have already been made. PHP8.1_Changes2.txt.zip
  13. According to the plugin's version history: https://www.cubecart.com/extensions/plugins/google-adwords-tracker Version 2.0.2 fixed this.
  14. According to: https://github.com/cubecart/v6/issues/3015 the latest version of the PayPal Commerce plugin should now have the setting to establish the priority. There should be a small logo for Stripe in the module's /admin/ folder, named "logo.png". If its is there, then when managing the settings for the Stripe Module, for the Description, check to see if there is an asterisk next to "Description". The asterisk references a comment at the bottom of the table that says: "It is possible to either enter text such as "Credit Card" or enter a file path to an image." If that comment is shown for CC629, then try for the Description the value /modules/gateway/stripe/admin/logo.png. (If you are running your store in a sub-directory, prepend the sub-directory name to this value.)
  15. The "invisible" mode of reCaptcha is still considered to be of the v2 'family'. CubeCart's list of choices are numbered 0 (disabled), 1 (no longer a choice), 2, (standard 'I am not a robot' picture chooser), and 3 (invisible). What you see in the code is the numerical index to CubeCart's internal list of modes of Google's reCaptcha v2.
  16. The error message is a known issue: https://github.com/cubecart/v6/issues/2984 We also recommend that all details of a new product, except for the image, be saved, then try to assign the image(s) to the product.
  17. Please see if this conversation is a solution for you: https://forums.cubecart.com/topic/53819-recaptcha-v2-for-cubecart-5/
  18. Please verify that in admin, Store Settings, Features tab, Sales section, "Sales Mode" is other than 'Disabled'. If Sales Mode is 'Per-Product', make sure there are enabled products that have a sale price less than retail price but greater than zero.
  19. CubeCart has it's own sitemap file generator. I believe there is also a third-party sitemap file plugin. Which sitemap are you having an issue with, and please mention what the specific problem may be (as compared to what it was doing when it was last working).
  20. Thank you. This issue has been posted to the Github.
  21. Other than the Invalid Security Token messages, all are probes by miscreants wanting to test for penetrable applications. A couple messages are attempts at poisoning a "log4j" application. CubeCart doesn't use "log4j". The Invalid Security Token messages are when data is POSTed (as if from a web form), but CubeCart determines that the data payload does not contain the token CubeCart was expecting.
  22. In admin, Maintenance, Rebuild tab, Miscellaneous section, there is a checkbox to have CubeCart rebuild the Site Map. Once the Site Map has been rebuilt, Cubecart will 'ping' Google with the location of the site map so that it can be easily absorbed into Google's databases. I have no knowledge of how long it would take for Google to make these pages from the Site Map appear in their search results.
  23. I've looked at your site, and can agree that a search targeting a category would be useful to you. Specifically, searching 'Electropop' returns nothing. Only because 'Electropop' is a sub-category of 'Music/Genres', where the sub-categories of 'Genres' is a list so long (tall) that a goodly number of genres disappear off the bottom of the browser window. So, because of this (but not so much 'antiques'), searching for a category is a practical necessity - in your case. Alternatively, the 'Genres' category can be modified to not have any sub-categories, and compose a 'mini-directory' contained within the 'Genres' description. Alternatively, a different skin might have a suitable navigation layout that would accommodate a large number of sub-categories.
  24. CubeCart's 'search' function does not search category names or category descriptions. That said, we would like to know how many categories are listed on the top navigation bar. That is, is "antiques" not readily apparent as a category to peruse?
  25. Using a programmer's text editor, open the file /language/de-DE.xml. Looking at lines 17-21, find what looks like: <version>1.0.0</version> The latest version is 2.0.0 - but the problem is still present. For version 1, scroll to near line 488. For version 2, scroll to near line 578. Then find: <group name="checkout"> Eight lines after that, find: <string name="make_payment" introduced="5.0.0"><![CDATA[Für Bestellnummer <strong>%s</strong> wird eine Summe von <strong>%s</strong> fällig]]></string> Please compose for yourself a new phrase that is a translation of this English phrase: (Note: change only the contents inside the CDATA[ and ]] delimiters.) <string name="make_payment" introduced="5.0.0"><![CDATA[A total of <strong>%s</strong> is due for order number <strong>%s</strong>]]></string> Note the order of the sentence subjects. Whatever the new phrase, the subjects in the sentence must match the English phrase - amount then order number. You will see that the current Deutsch phrase has the order of the subjects in the sentence backwards - order number then amount. Save the edited file, and have CubeCart clear its internal cache (in admin, button at the top-right corner). An issue will be posted in the Github.
  • Create New...