Jump to content
Latest News: (loading..)

Dnj1964

Members
  • Content count

    110
  • Joined

  • Last visited

Everything posted by Dnj1964

  1. BS4 7.125 After SSL install clicking "ADD TO CART" First has a pop up saying: "The information you have entered on this page will be sent over an insecure connection and could be read by a third party. Are you sure you want to send this information?" Clicking "CONTINUE" Sends to https://www.BAD-EXAMPLE.ca/shopping_cart.php And shows your cart is empty. Hopefully someone can point me in the right direction. Thanks .htaccess #redirect index.php to root RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ https://www.bad-example.ca/ [R=301,L] #redirect non-www to www RewriteCond %{HTTPS} !on [OR] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://www.bad-example.ca/$1 [R=301,L] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.bad-example.ca/$1 [R,L] public_html/admin/includes/configure.php define('HTTP_SERVER', 'http://www.bad-exmaple.ca'); define('HTTPS_SERVER', 'https://www.bad-exmaple.ca'); define('ENABLE_SSL', 'true'); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/user55/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'yeah-right'); define('DB_SERVER_PASSWORD', 'up-down-all-around'); define('DB_DATABASE', 'user55_indica'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('CFG_TIME_ZONE', 'UTC'); public_html/admin/includes/configure.php define('HTTP_SERVER', 'http://www.bad-exmaple.ca'); define('HTTPS_SERVER', 'https://www.bad-exmaple.ca'); define('ENABLE_SSL', 'true'); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/shopadmin'); define('HTTPS_COOKIE_PATH', '/shopadmin'); define('HTTP_CATALOG_SERVER', 'http://www.bad-exmaple.ca'); define('HTTPS_CATALOG_SERVER', 'https://www.bad-exmaple.ca'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/user55/public_html/'); define('DIR_WS_ADMIN', '/shopadmin/'); define('DIR_WS_HTTPS_ADMIN', '/shopadmin/'); define('DIR_FS_ADMIN', '/home/user55/public_html/shopadmin/'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/user55/public_html/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'yeah-right'); define('DB_SERVER_PASSWORD', 'up-down-all-around'); define('DB_DATABASE', 'user55_indica'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('CFG_TIME_ZONE', 'UTC');
  2. Thank you very much! That fixed it.
  3. Dnj1964

    Email queuing system

    Just got the email below plus the email for order #39 too. Huge space between Summary and order # Gary <oscshops@gmail.com> To:Doug Pleasures Apr. 17 at 3:57 p.m. Dear Doug, thank you for your order #40. BOLD Italic Summary ------------------------------------------------------ Order Number: 40 Detailed Invoice: https://template.me.uk/outgoing/account_history_info.php?order_id=40 Date Ordered: Wednesday 17 April, 2019 Status: Pending Products ------------------------------------------------------ 1 x Microsoft Internet Keyboard PS/2 1 x Unreal Tournament 1 x Samsung Galaxy Tab 1 x Hewlett Packard LaserJet 1100Xi Delivery Address ------------------------------------------------------ Doug Pleasures 99 over-there ave. useless, l9a5d8 one, Belize Billing Address ------------------------------------------------------ Doug Pleasures 99 over-there ave. useless, l9a5d8 one, Belize Payment Method ------------------------------------------------------ Cash on Delivery for $1,414.96 A big BIG BIG Thank You from all of us here at Burtys Test Shop!
  4. Dnj1964

    Email queuing system

    Above see a post by Dan Cole with an attached message. Just followed through and received 1 email below, which would be the create an account email. No email from product purchase Gary <oscshops@gmail.com> To:Doug Pleasures Apr. 17 at 3:08 p.m. Dear Mr. Pleasures, We welcome you to Burts Test Shop. You can now take part in the various services we have to offer you. Some of these services include: Permanent Cart - Any products added to your online cart remain there until you remove them, or check them out. Address Book - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves. Order History - View your history of purchases that you have made with us. Products Reviews - Share your opinions on products with our other customers. For help with any of our online services, please email the store-owner: oscshops@gmail.com. Note: This email address was given to us by one of our customers. If you did not signup to be a member, please send an email to oscshops@gmail.com.
  5. Product Attributes and Add To Cart used to line up below the Gallery or Product Images For some reason they have decided to jump ship and move to the left column and push the manufacturer info to the right. Gallery Settings Option/Atrribute Settings Manufacturer Info set to 75 as well. Haven't made any code changes so no idea why this has happened. Any ideas of where to start would be greatly appreciated. Thanks, Doug
  6. Dnj1964

    Product Attributes & Add To Cart Moved?

    Thanks for the reply Just got around to playing with the sort orders. Something is not working right. Only thing that seems to line up correctly is product description tabs and gallery set @ same sort order with a column split of 8 & 4. Going to play with it until I get it right.
  7. Wondering if I can delete the unused payments options from the payment folders without problem. Updated all core files including any payment related to paypal and ignored the other payment options. Also see an install_4.php file I assume I will need to run those sql queries in phmyadmin as well. I know... Trying to catch up on the commits not to far behind though. Although did skip the 03-07-2019 - Remove ht_canonical.php commit for now
  8. Thanks for the clarification. Was trying to figure it out Understand the why now Thanks again
  9. Blocked loading mixed active content ext/jquery/ui/redmond/jquery-ui-1.10.4.min.css”[Learn More] categories.php Blocked loading mixed active content ext/jquery/jquery-2.2.3.min.js”[Learn More] categories.php Blocked loading mixed active content ext/jquery/ui/jquery-ui-1.10.4.min.js”[Learn More] categories.php Blocked loading mixed active content ext/flot/jquery.flot.min.js”[Learn More] categories.php Blocked loading mixed active content ext/flot/jquery.flot.time.min.js”[Learn More] categories.php Blocked loading mixed active content ext/jquery/ui/redmond/jquery-ui-1.10.4.min.css”[Learn More] categories.php Blocked loading mixed active content ext/jquery/jquery-2.2.3.min.js”[Learn More] categories.php Loading failed for the <script> with source ext/jquery/jquery-2.2.3.min.js”. categories.php:10:1 Blocked loading mixed active content ext/jquery/ui/jquery-ui-1.10.4.min.js”[Learn More] categories.php Loading failed for the <script> with source ext/jquery/ui/jquery-ui-1.10.4.min.js”. categories.php:11:1 Blocked loading mixed active content ext/flot/jquery.flot.min.js”[Learn More] categories.php Loading failed for the <script> with source ext/flot/jquery.flot.min.js”. categories.php:14:1 Blocked loading mixed active content ext/flot/jquery.flot.time.min.js”[Learn More] categories.php Loading failed for the <script> with source ext/flot/jquery.flot.time.min.js”. categories.php:15:1 ReferenceError: $ is not defined[Learn More] categories.php:38:1 ReferenceError: $ is not defined[Learn More] categories.php:116:1 ReferenceError: $ is not defined[Learn More] categories.php:129:1 Loading mixed (insecure) display content images/bl-esse-100.png” on a secure page[Learn More] categories.php From the Admin side - Blocked loading mixed active In /public_html/admin/includes/template_top.php there is this code <base href="<?php echo ($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_ADMIN : HTTP_SERVER . DIR_WS_ADMIN; ?>" /> Would changing it fix the issue -- The change below was wishful thinking.... But Doesn't Work! <base href="<?php echo ($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_ADMIN; ?>" /> Not sure why it is trying to serve the js files via http instead of https #redirect index.php to root RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ https://www.xxxxx/ [R=301,L] #redirect non-www to www RewriteCond %{HTTPS} !on [OR] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://www.xxxxx/$1 [R=permanent,L] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.xxxxx.ca/$1 [R,L] Thought that adding the conditions forced all https Or are there http links on certain pages that need to be updated? Thanks
  10. Dnj1964

    https - mixed active content - errors

    Thanks for the reply Dan Changed the referring links in /public_html/admin/includes/template_top.php That fixed it. Probably a better way to do it than hard coding the links but works for now. Thanks again
  11. Dnj1964

    https - mixed active content - errors

    https://www.whynopadlock.com/results Mixed Content - Errors Hard Failure A style-sheet with an insecure url of "http://www.xxx/ext/jquery/ui/redmond/jquery-ui-1.10.4.min.css" was loaded on line: 9 of https://www.xxx/admin/login.php. This URL will need to be updated to use a secure URL for your padlock to return. Hard Failure A script with an insecure url of "http://www.xxx/ext/jquery/jquery-2.2.3.min.js" was loaded on line: 10 of https://www.xxx/admin/login.php. This URL will need to be updated to use a secure URL for your padlock to return. Hard Failure A script with an insecure url of "http://www.xxx/ext/jquery/ui/jquery-ui-1.10.4.min.js" was loaded on line: 11 of https://www.xxx/admin/login.php. This URL will need to be updated to use a secure URL for your padlock to return. Hard Failure A script with an insecure url of "http://www.xxx/ext/flot/jquery.flot.min.js" was loaded on line: 14 of https://www.xxx/admin/login.php. This URL will need to be updated to use a secure URL for your padlock to return. Hard Failure A script with an insecure url of "http://www.xxx/ext/flot/jquery.flot.time.min.js" was loaded on line: 15 of https://www.xxx/admin/login.php. This URL will need to be updated to use a secure URL for your padlock to return.
  12. Sorry I missed post. Actually figured that Etiquette out as plodded along. Thanks though
  13. Going backwards a bit. Was just looking at the code. /public_html/includes/modules/navbar_modules/templates/tpl_nb_horizontal_multi_menu.php Includes coding for<style> but the file also calls <style> from /public_html/ext/responsivemenu/css/responsivemultimenu.css <link rel="stylesheet" href="ext/responsivemenu/css/responsivemultimenu.css" type="text/css"/> And pulls from .dropdown-menu css code If the <style> is inserted into the page shouldn't the link to ext be set <!--<link rel="stylesheet" href="ext/responsivemenu/css/responsivemultimenu.css" type="text/css"/>--> Changing the .dropdown-menu min-width: 150px; to min-width: 600px; Doesn't seem to work Want to change the menu width sub-menu width sub-sub-menu width Thanks
  14. Downloaded and had a look, thanks for the great work. As always I take your work and break it into the pieces I want. Did notice that the upload had an error... \catalog\includes\modules\content\cm_pi_jcm_page_share_buttons.php should actually be in \catalog\includes\modules\content\product_info\cm_pi_jcm_page_share_buttons.php Thanks again! Doug
  15. Added this quickly and just wanted to say thanks. Was wondering if there is a way to have multiple products listed inline With something like #orp li { display: inline; list-style-type: none; padding-right: 20px; } <ul id="orp"> <li>product 1</li> <li>product 2</li> </ul> Doug
  16. Thanks had a look at your demo/play site. Like the changes, looks like the example had no manual so no tab shown. Going to strip the code out that I need and upgrade so unused tabs won't show. Also like the Product Social just below the carousel, was looking for an add-on but the only one I saw was the AddThis add-on where you needed create an account. Thanks, that is an awesome upgrade to an already great addon!
  17. I am using this module but stripped out the tabs I didn't want. Which included the video tab Wondering if the videos are tied to the Product Model the same as the manuals and limited to only one video or is it possible to add multiple videos in one tab. Being able to add multiple videos in a tab would eliminate a lot of dead space in product info if adding them inline with the product description with a <div> tag. Would be nice to have one tab and use say: 1_VVID_1 1_VVID_2 1_VVID_3 1_VVID_4 Where 1 is the product and being able to add multiple videos for that product.
  18. <strong><em>Product Name</em><br/><u>blah blah blah blah blah blah blah blah</u></strong> Adding this into the large image html popup - nothing shows up. Adding just text breaks the colorbox and only shows the text and no image.
  19. Edge BS4 This shows up in product_new.php Obviously I made a mistake hacking the code apart to suit.... Guessing it is a mistake in product_info I am using the hacked apart JCM Description w/ Tabs Any help is greatly appreciated!
  20. Dnj1964

    Article Manager v1.0

    Thank you.
  21. Dnj1964

    Article Manager v1.0

    Jack_mcs I am using Edge BS4 - was looking at Articles Manager v1.57_8 in the BS folder. Was this updated for a BS version prior to BS4 Thanks Doug
  22. And this is what you get by adding this
  23. Edge BS4 Wanting to add a group of small clickable images that open a pop-up to a larger image similar to what the colorbox does but without obscuring the whole page. Not sure if I am on the right track, assume that it has to be implemented in some type of modal.... Did a search for image links - bootstrap and this is the code that I came up with... <head> elements.... <css> elements.... <body> elements.... <js> elements..... <meta name="viewport" content="width=device-width, initial-scale=1"> <style> #myImg { border-radius: 5px; cursor: pointer; transition: 0.3s; } #myImg:hover {opacity: 0.7;} /* The Modal (background) */ .modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ padding-top: 100px; /* Location of the box */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgba(0,0,0,0.9); /* Black w/ opacity */ } /* Modal Content (image) */ .modal-content { margin: auto; display: block; width: 80%; max-width: 700px; } /* Caption of Modal Image */ #caption { margin: auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #ccc; padding: 10px 0; height: 150px; } /* Add Animation */ .modal-content, #caption { -webkit-animation-name: zoom; -webkit-animation-duration: 0.6s; animation-name: zoom; animation-duration: 0.6s; } @-webkit-keyframes zoom { from {-webkit-transform:scale(0)} to {-webkit-transform:scale(1)} } @keyframes zoom { from {transform:scale(0)} to {transform:scale(1)} } /* The Close Button */ .close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; } .close:hover, .close:focus { color: #bbb; text-decoration: none; cursor: pointer; } /* 100% Image Width on Smaller Screens */ @media only screen and (max-width: 700px){ .modal-content { width: 100%; } } </style> Image Modal Using CSS to create a modal (dialog box) that is hidden by default. JavaScript to trigger the modal and to display the current image inside the modal when it is clicked on. Also note that we use the value from the image's "alt" attribute as an image caption text inside the modal. <img id="myImg" src="img_snow.jpg" alt="Snow" style="width:100%;max-width:300px"> <!-- The Modal --> <div id="myModal" class="modal"> <span class="close">&times;</span> <img class="modal-content" id="img01"> <div id="caption"></div> </div> <script> // Get the modal var modal = document.getElementById('myModal'); // Get the image and insert it inside the modal - use its "alt" text as a caption var img = document.getElementById('myImg'); var modalImg = document.getElementById("img01"); var captionText = document.getElementById("caption"); img.onclick = function(){ modal.style.display = "block"; modalImg.src = this.src; captionText.innerHTML = this.alt; } // Get the <span> element that closes the modal var span = document.getElementsByClassName("close")[0]; // When the user clicks on <span> (x), close the modal span.onclick = function() { modal.style.display = "none"; } </script>
  24. The code above doesn't work or at least didn't for me. What I did do is... Uploaded 2 files /public_html/ext/js jquery.js and main.js (They are attached below) In /public_html/includes/modules/content/product_info/templates/tpl_cm_pi_description_tabs.php Added above <?php <script src="ext/js/jquery.js" type="text/javascript"></script> <script src="ext/js/main.js" type="text/javascript"></script> Added to bottom of /public_html/includes/modules/content/product_info/templates/tpl_cm_pi_description_tabs.php (I am using Product Description with Tabs) by JCMagpie In /public_html/includes/modules/content/product_info/templates/tpl_cm_pi_description.php (Stock Edge BS4) would be below the </div> <style> a{ text-decoration:none; color:#f30; } p{ clear:both; margin:0; padding:.5em 0; } pre{ display:block; font:100% "Courier New", Courier, monospace; padding:10px; border:1px solid #bae2f0; background:#e3f4f9; margin:.5em 0; overflow:auto; width:800px; } img{ border:none; } ul,li{ margin:0; padding:0; } li{ list-style:none; float:left; display:inline; margin-right:10px; } #preview{ position:absolute; border:1px solid #ccc; background:#333; padding:5px; display:none; color:#fff; } </style> Then when adding product place the code where you need. I chose to create 2 image files first is the thumbnail which loads with the page and then the mouseover larger image <ul> <li> <a href="images/LARGE IMAGE 1" class="preview" title="TEXT YOU WANT BELOW IMAGE ON MOUSE OVER"> <img class="img-responsive" src="images/LARGE IMAGE 1 THUMB" alt="IMAGE NAME"> </a> </li> <li> <a href="images/LARGE IMAGE 2" class="preview" title="TEXT YOU WANT BELOW IMAGE ON MOUSE OVER"> <img class="img-responsive" src="images/LARGE IMAGE 2 THUMB" alt="IMAGE NAME"> </a> </li> </ul> All I can tell you is that it works for my needs, don't think it should cause any issues but maybe Burt or another can have a look and decide that for sure. Best of luck! jquery.js main.js
  25. Thinking this over and don't know how badly this messes things up or if it even works and if it creates any vulnerabilities. But here goes nothing... Add this code to /public_html/includes/template_top.php <meta name="viewport" content="width=device-width, initial-scale=1"> Add this code to /public_html/user.css #myImg { border-radius: 5px; cursor: pointer; transition: 0.3s; } #myImg:hover {opacity: 0.7;} /* The Modal (background) */ .modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ padding-top: 100px; /* Location of the box */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgba(0,0,0,0.9); /* Black w/ opacity */ } /* Modal Content (image) */ .modal-content { margin: auto; display: block; width: 80%; max-width: 700px; } /* Caption of Modal Image */ #caption { margin: auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #ccc; padding: 10px 0; height: 150px; } /* Add Animation */ .modal-content, #caption { -webkit-animation-name: zoom; -webkit-animation-duration: 0.6s; animation-name: zoom; animation-duration: 0.6s; } @-webkit-keyframes zoom { from {-webkit-transform:scale(0)} to {-webkit-transform:scale(1)} } @keyframes zoom { from {transform:scale(0)} to {transform:scale(1)} } /* The Close Button */ .close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; } .close:hover, .close:focus { color: #bbb; text-decoration: none; cursor: pointer; } /* 100% Image Width on Smaller Screens */ @media only screen and (max-width: 700px){ .modal-content { width: 100%; } } Save this as a .js file and upload to /public_html/ext/js/mymodal.js Then add script call to /public_html/includes/modules/content/product_info/templates/tpl_cm_pi_description.php <script src="ext/js/mymodal.js" type="text/javascript"></script> <script> // Get the modal var modal = document.getElementById('myModal'); // Get the image and insert it inside the modal - use its "alt" text as a caption var img = document.getElementById('myImg'); var modalImg = document.getElementById("img01"); var captionText = document.getElementById("caption"); img.onclick = function(){ modal.style.display = "block"; modalImg.src = this.src; captionText.innerHTML = this.alt; } // Get the <span> element that closes the modal var span = document.getElementsByClassName("close")[0]; // When the user clicks on <span> (x), close the modal span.onclick = function() { modal.style.display = "none"; } </script> Use the html on the product description pages as needed <img id="myImg" class="img-responsive" src="images/img_snow.jpg" alt="Snow" style="width:100%;max-width:300px"> <!-- The Modal --> <div id="myModal" class="modal"> <span class="close">&times;</span> <img class="modal-content" id="img01"> <div id="caption"></div> </div> mymodal.js
×