News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Stop Forum Spam

Started by SleePy, March 21, 2022, 12:11:09 AM

Previous topic - Next topic

ian

Hi,

Firstly, thanks for creating this great mod. I would like to report a couple of bugs:

If you use the "Stop Forum Spam" option on a guest post and then click "SUBMIT TO STOP FORUM SPAM", you end up adding yourself to the SFS database! Submitting guest info probably isn't a good idea anyway (the email address hasn't been verified), so rather than try modifying the submission code, I've just disabled the option on guest posts like this:

    public static function hook_prepare_display_context(&$output, &$message, $counter): void
    {
        global $smcFunc, $scripturl, $context;

        if ($output['member']['id']) // not a guest
            $output['quickbuttons']['more']['sfs'] = [
                'label' => $smcFunc['classSFS']->txt('sfs_admin_area'),
                'href' => $scripturl . '?action=profile;area=sfs;u=' . $output['member']['id'] . ';msg=' . $output['id'],
                'icon' => 'sfs',
                'show' => $context['can_moderate_forum'],
            ];
    }

The other issue is that the "Guest Verification Sections" and "Member Verification Sections" options cannot be set to empty if they aren't already empty. This actually appears to be an SMF bug (in the saveDBSettings function) affecting all multi-select options, but thought I'd mention it here anyway since it affects this mod.

live627

Any documentation on this? The settings seem kinda obtuse or opaque (words are hard). What happens to a member who's registration is caught as spam?

SleePy

Words are hard, I'm a software engineer, not an English professor.  I would appreciate it if anyone has better words to clean up the confusion.  Grammarly helps me in posts, but I haven't bothered to add it into my coding process because it generally just gets confused.

During registration, if they are found in the Stop Forum Spam response for checks (like IP, username, email) and above confidence thresholds (for usernames), it will block the registration and present a warning to them that the information provided was found in the Stop Forum Spam database.

No documentation exists yet.  I should work on that.  If I did, I would just wiki it over on the GitHub page. https://github.com/jdarwood007/smfmod_sfs
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

live627

"Words are hard": a reference to me potentially using a wrong word in my post above.

planetdance

Request: A way to delete all spammers in one go! The button Check these Members only asks confirmation but then nothing happens.
Thanks.

Lazybones

I think it is the same as what is asked above. Would it be possible to get an admin function to bulk scan the existing member list for bots with the option to ban or delete the accounts?

Maybe have it limited by having filters for never registered, never posted, never online.. A lot of these bots that do succeed in registering just quietly wait to post stuff later.

Also on the check screen we have two actions to report or report and ban.. Could we get a report and delete option as well?

Dream of Omni

#186
Quote from: planetdance on May 03, 2025, 11:35:31 AMRequest: A way to delete all spammers in one go! The button Check these Members only asks confirmation but then nothing happens.
Thanks.
The first post mentions this, but

Quote from: SleePy on March 21, 2022, 12:11:09 AMThis version includes logging, bulk checks and the ability to check non standard SMF verification fields.

but I cannot find this feature anywhere in my admin panel after SFS is installed. I can only check members one by one.  I tried using wildcards out of curiosity and they are not supported either. I can't even find "Check these Members" anywhere either.

SleePy

Bulk checks refer to checking a username, IP (s), and email per user account.

I didn't add a feature to check multiple users at once.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: