Jump to content

ruden

Members
  • Content count

    78
  • Joined

  • Last visited

2 Followers

About ruden

  • Birthday 04/20/1974

Profile Information

Recent Profile Visitors

5,442 profile views
  1. ruden

    XML Sitemap Generator

    Unfortunately this doesn't work with Ultimate SEO URLs, due to the language session.
  2. ruden

    XML Sitemap Generator

    Which SEO add-on is installed in the store?
  3. ruden

    XML Sitemap Generator

    In file sitemap.php this code if (SEARCH_ENGINE_FRIENDLY_URLS == 'true' || (defined('SEO_ENABLED') && SEO_ENABLED == 'true')) { $languages_array = tep_db_query("SELECT code FROM languages"); while ($languages = tep_db_fetch_array($languages_array)) { $file_extension = ($languages['code'] == DEFAULT_LANGUAGE ? '' : '-' . $languages['code']); create_sitemap($file_extension . '.xml'); create_sitemap_catalog($doc, $root, $file_extension . '.xml'); } } else { create_sitemap(); create_sitemap_catalog($doc, $root); } replace with //if (SEARCH_ENGINE_FRIENDLY_URLS == 'true' || (defined('SEO_ENABLED') && SEO_ENABLED == 'true')) { $languages_array = tep_db_query("SELECT code FROM languages"); while ($languages = tep_db_fetch_array($languages_array)) { $file_extension = ($languages['code'] == DEFAULT_LANGUAGE ? '' : '-' . $languages['code']); create_sitemap($file_extension . '.xml'); create_sitemap_catalog($doc, $root, $file_extension . '.xml'); } //} else { // create_sitemap(); // create_sitemap_catalog($doc, $root); //} OR If you know what constant controls the inclusion of your SEO add-on, then just replace SEO_ENABLED with [YOUR_SEO_ADDON_ENABLED]
  4. ruden

    XML Sitemap Generator

    @mendoh Give a link to your site.
  5. var_dump($_POST['formid'], $sessiontoken); ???
  6. ruden

    Google reCAPTCHA v3

    Include class hooks two times remove duplicate in /includes/application_top.php and /admin/includes/application_top.php require(DIR_FS_CATALOG . 'includes/classes/hooks.php');
  7. ruden

    Google reCAPTCHA v3

    I find it difficult to answer. View error logs.
  8. ruden

    Google reCAPTCHA v3

    @Tiff13 Installed Hook System? https://apps.oscommerce.com/p9Yyp&hook-system
  9. ruden

    Google reCAPTCHA v3

    Check for errors Open the console in a browser F12 and check for errors in the php logs on the server.
  10. ruden

    Google reCAPTCHA v3

    Add-on updated Add support Hook System ⚠️ This add-on use Hook System, for versions below < 2.3.5 install Hook System https://apps.oscommerce.com/p9Yyp&hook-system Create directory includes/hooks/shop/pwa_account Copy file includes/hooks/shop/create_account/Recaptcha3.php in includes/hooks/shop/pwa_account In file includes/hooks/shop/pwa_account/Recaptcha3.php replace $this->form_name = basename(dirname(__FILE__)); $this->form_name = 'create_account';
  11. ruden

    if this bundle then that help

    $bundleContents = ''; $bundle_query = tep_db_query("SELECT pb.subproduct_id, pb.subproduct_qty, p.products_id, pd.products_name, pd.language_id FROM products p LEFT JOIN products_bundles pb ON (pb.bundle_id=p.products_id) LEFT JOIN products_description pd ON (pd.products_id=pb.subproduct_id) WHERE p.products_model = '" . $order->products[$i]['model'] . "' AND pd.language_id = '1'"); while ($bundle_info = tep_db_fetch_array($bundle_query)) { $bundleContents .= '<br /><em style="font-size:12px;">&nbsp;&nbsp;' . $bundle_info['subproduct_qty'] . ' x ' . $bundle_info['products_name'] . '</em>'; }
  12. still need to add check extension mysqlnd function tep_db_fetch_all($db_query) { // check if "mysqlnd" driver is used if (extension_loaded('mysqlnd') && function_exists('mysqli_fetch_all')) { return mysqli_fetch_all($db_query, MYSQLI_ASSOC); } else { $data = []; while ($row = tep_db_fetch_array($db_query)) { $data[] = $row; } return $data; } }
×