Advertisement:

Author Topic: Stop Spammer  (Read 804183 times)

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,745
  • Gender: Male
    • Kindred-999 on GitHub
Re: Stop Spammer
« Reply #2080 on: December 06, 2019, 03:57:57 PM »
changing the files will not have any effect on the data (which is in the database)

Additionally, always take a backup (of files AND database) before klutzing around. :)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Nodaz

  • Full Member
  • ***
  • Posts: 456
Re: Stop Spammer
« Reply #2081 on: December 08, 2019, 09:08:59 PM »
changing the files will not have any effect on the data (which is in the database)

Additionally, always take a backup (of files AND database) before klutzing around. :)
Back up in progress, thanks for the patience and advice advice .

Offline KittyGalore

  • Semi-Newbie
  • *
  • Posts: 29
Re: Stop Spammer
« Reply #2082 on: January 18, 2020, 06:47:59 AM »
This mod is fantastic but upon installation it gives errors. Can it be updated. I currently use it on my forum but not sure at the time when it gave errors did i install it or do something but on a test forum new install of smf no mods this gives one error in the mangemembers.php file.

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,285
  • Gender: Male
    • i30 Owners Club
Re: Stop Spammer
« Reply #2083 on: January 18, 2020, 07:34:19 AM »
Quote from: KittyGalore
This mod is fantastic but upon installation it gives errors.
Installation into which version of SMF ?

What, exactly, are the errors you're seeing?

Offline KittyGalore

  • Semi-Newbie
  • *
  • Posts: 29
Re: Stop Spammer
« Reply #2084 on: January 18, 2020, 08:58:39 AM »
Quote from: KittyGalore
This mod is fantastic but upon installation it gives errors.
Installation into which version of SMF ?

What, exactly, are the errors you're seeing?
Sorry i thought i had included the version SMF 2.0.17
This is the code it's trying to replace in the Source ManageMembers.php

Code: (Find) [Select]
Code: [Select]
if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && empty($_POST))
Code: (Replace) [Select]
Code: [Select]
if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))
This is the only code i could find from a fresh copy of the file that matches some parts of it.

Code: [Select]
if ($context['sub_action'] == 'query' && empty($_POST))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,285
  • Gender: Male
    • i30 Owners Club
Re: Stop Spammer
« Reply #2085 on: January 18, 2020, 01:24:33 PM »
This is covered already in this very thread.

Eg:  https://www.simplemachines.org/community/index.php?topic=283309.msg3957547#msg3957547


... and in several other places, also in this very thread.

Offline KittyGalore

  • Semi-Newbie
  • *
  • Posts: 29
Re: Stop Spammer
« Reply #2086 on: January 18, 2020, 02:56:39 PM »
This is covered already in this very thread.

Eg:  https://www.simplemachines.org/community/index.php?topic=283309.msg3957547#msg3957547


... and in several other places, also in this very thread.
Thank you i see the codes now i will edit them in. :)