Jump to content

lastfahrt11

Members
  • Content count

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. lastfahrt11

    New EU VAT regulations per July 1st 2021

    create tax_rates and geo_zones for eache EU VAT tax_rates 21% + geo_zones 21 ad Country LV,NL,,CZ...... tax_rates 19% + geo_zones 19 ad Country DE tax_rates 23% + geo_zones 23 ad Country PL AND all other This is only for normal tax Find list https://apps.datev.de/dnlexka/document/1021662
  2. lastfahrt11

    Fake accounts

    this stop most spam and inform you by mail $bad_companies = array('google', 'apple', 'add next', 'add next'); add this after line 58 $error = false; //Added to block spammers A $bad_companies = array('google', 'apple'); if (in_array(strtolower($company), $bad_companies)) { $error = true; $messageStack->add('create_account', "You have triggered spamming prevention rules. If your info is correct and you are not a spammer please contact us or try again."); $spam_email_text = "Spammer Alert: <b>" . $firstname . " " . $lastname . "</b> Using company name <b> " . $company . "</b> triggered spam alert."; tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, 'BOT Spammer Alert!', $spam_email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } if (in_array(strtolower($entry_tax_id), $bad_companies)) { $error = true; $messageStack->add('create_account', "You have triggered spamming prevention rules. If you info is correct and you are not a spammer please contact us or try again."); $spam_email_text = "Spammer Alert: " . $firstname . " " . $lastname . "Using company name: " . $company . " with tax id: " . $entry_tax_id . " triggered spam alert."; tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, 'Spammer Alert:', $spam_email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } //block ZIP CODE without number like this hjhjkjgkjbkgjg if ($postcode != '') { if (ctype_alpha($postcode)) { $error = true; $messageStack->add('create_account', "You have triggered spamming prevention rules. If you info is correct and you are not a spammer please contact us or try again."); $spam_email_text = "Spammer Alert: postcode" . $firstname . " " . $lastname . " " . $email_address . " Using company name: " . $company . " with postcode: " . $postcode . '-'. $good_postcode . " triggered spam alert."; tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, 'Spammer Alert:', $spam_email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); }} //END Added to block spammers
×