Jump to content

metacreo

Members
  • Posts

    77
  • Joined

  • Last visited

  • Days Won

    1

metacreo last won the day on April 16

metacreo had the most liked content!

About metacreo

  • Birthday 03/13/1980

Contact Methods

Profile Information

  • Location
    Lithuania
  • Interests
    development, programming, system and network administration, FreeBSD forever
  • First Name
    Oleg
  • Last Name
    Suprun
  • Activity
    Freelancer
    Developer
    Merchant
    Module Developer

Recent Profile Visitors

4,340,812 profile views

metacreo's Achievements

Contributor

Contributor (5/14)

  • Dedicated Rare
  • Conversation Starter Rare
  • First Post Rare
  • Collaborator Rare
  • Week One Done Rare

Recent Badges

32

Reputation

  1. @biker1947 Hi, As can you see, no problem on PS 8.1.3 with Classic theme. Check your module config. Maybe wrong settings stored. test_1.mp4
  2. PS 1.8.3 please write correct version No bugs on PS 1.7.8.3. Tested.
  3. Your SS Actions table is always empty or just on registration? Probably your PS version too old and not have separate registration controller. Try new 1.0.6 with small corrections of logic. If IP or Email is blocked or is set to never, no more records in table. Checked last record only for blocked or whitelisted conditions. If IP or Email have zero condition in table, all related checks performed always and if detected bot (for example), IP is blocked. private $_block_ip = 0; // 0 - not blocked, 1 - blocked, 2 - never block private $_block_email = 0; // 0 - not blocked, 1 - blocked, 2 - never block public function hookActionSubmitAccountBefore($params) { $this->_redirect = $this->_action = 'registration'; $this->checkAuthAndReg(); if (!$this->_errors) { return true; } } private function checkAuthAndReg() { .... if (!$this->checkIsBlocked()) { $this->checkIsBot(); $this->_attempt = $this->getAttemptsCount(); if (($this->_attempt .... { if ($this->_block_ip !== 2 && $this->_block_email !== 2) { $this->_errors[] = $this->l('Temporarily prohibited. Please try again in a few minutes.'); } $this->_detected[] = 'warn'; } if ($this->_attempt ....) { if ($this->_block_ip !== 2 && $this->_block_email !== 2) { $this->_errors[] = $this->l('Prohibited. Please contact site administrator.'); $this->_block_ip = 1; } $this->_detected[] = 'ban'; } $this->storeData(); } if (!$this->_errors) { return; } else { ... } } Function store data runs only if not blocked. private function storeData() { if ($this->_block_ip === 2 || $this->_block_email === 2) { return; } and storeData self checks for witelisting.... About newsletter is just a bug, just my themes not used ajax for newsletter and I missed this moment. Now it fixed.
  4. Hook back again and up module ver. to 1.0.5 I found the problem and fixed it.
  5. Version UP 1.0.5 Fixed newsletter registration failure bug on classic theme. Fixed bot check process for newsletter via ajax call on classic theme or themes used ajax.
  6. please write ps version, this module (1.0.4 latest) version and ps_emailsubscription module version. because as I see this bug is possible only on 1.7 to temporary disable this part of functionality just unhook this module from actionNewsletterRegistrationBefore hook just tested on 1.7.8.11 and 8.x ps and not found any bug with newsletter
  7. Thank you for warm words. To block IP, go to SS Actions in customer section. Find (last by date) IP you need in table and click Edit (not VIEW). Set ban IP or email or both and save.
  8. Hello, What PHP version your PS used? And can you publish error from http server log and from PS_DIR/var/log? Unfortunately I'm very busy at the moment. Maybe later I will launch the old version of PS and adapt the module. 1.7.6 and 1.7.8 have different auth controllers and hooks. So... need to rewrite much code to work with 1.7.6 correctly. 1.7.8+ have separate auth and reg controllers. 1.76 have one auth controller, 1.7.6 email subscribe module different of 1.7.8 too. Simple rewrite PS_VERSION requirements not help you to module work with 1.7.6
  9. Hi joe ramires. You can try to install again. I downgraded PS version requirements to 1.7.8.3.
  10. Module updated. No version up. Same version 1.0.4. Small fix in contact form checker. Fixed error if customer sent empty email. Also processing form access counter if email is empty.
  11. Updated to v 1.0.4 Small improve contact form checks. Convert all chars in Simple Security Triggers to lowercase. Automatic conversion to lowercase during checks and addition to table. simplesecurity.zip <- download v 1.0.4 (also the same version in start of topic)
  12. Try [Simple Security] free module. No spyware, no advertising and no third party services. Module real is free. Some people have already forgotten about bots and the problems that are in this topic, and you are still trying to connect some scripts. 🤣
  13. Upgraded. Actual version 1.0.3. Fixed update issues. Now no need additional actions on update. Config must be filled with default values by default on update and on install. Added function checkConfig for each action. Added small description in module config. Warn - count attempts to before warning, Ban - count attempts to before ban. Warn values (default 3) must be always less than Ban values (default 5). simplesecurity.zip <- download v 1.0.3 In your case you can just uninstall and install. config fill auto on install. in new version on update too.
×
×
  • Create New...