Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: mrstevejobs on June 24, 2019, 09:42:28 AM

Title: BBC permissions for specific groups?
Post by: mrstevejobs on June 24, 2019, 09:42:28 AM
I get some spammers creating accounts and posting for the first or second time with a link to certain URL.

I'm wondering, isn't there a way to only allow to post links to users with more than X posts?
I saw this is a common trend in other forum services.

I've seen this mod, but It hasn't been updated in a long time (2007) and there's no assurance that it will work in 2.0.15:
https://custom.simplemachines.org/mods/index.php?mod=449
Title: Re: BBC permissions for specific groups?
Post by: Sesquipedalian on June 24, 2019, 10:19:12 AM
In SMF 2.1, all you need to do is add 'url' and 'iurl' to this list (https://github.com/SimpleMachines/SMF2.1/blob/d943e571865d195a0b01dc8868fc9ee2b4d94f19/Sources/Load.php#L402-L405) and then go to the BBCode settings page in your browser to choose which groups will have permission to use them.

I'm sure that sometime in the near-ish future someone will release a mod to make the first step easy to do without directly editing the file, but for now you'll need to do it manually.
Title: Re: BBC permissions for specific groups?
Post by: Illori on June 24, 2019, 10:29:23 AM
or the op can increase security to stop the spammers from registering in the first place.
Title: Re: BBC permissions for specific groups?
Post by: Sesquipedalian on June 24, 2019, 11:22:26 AM
That's also a good idea, yes, but it doesn't answer the question that was asked.
Title: Re: BBC permissions for specific groups?
Post by: Kindred on June 24, 2019, 12:00:45 PM
except what he's asking for is his concept of what is needed... but is not a solution to his actual problem. :P

1- stop the spammers from ever registering. (best option)
https://wiki.simplemachines.org/smf/Spam_-_my_forum_is_flooded_with_spam,_what_can_I_do
primarily -- QUESTIONS

2- this mod will do essentially what he asked (limit links) without messing with permissions of BBCode
https://custom.simplemachines.org/mods/index.php?mod=2404


3- he is apparently using v2.0.15, not 2.1 (moving)
Title: Re: BBC permissions for specific groups?
Post by: Sesquipedalian on June 24, 2019, 02:09:22 PM
Quote from: Kindred on June 24, 2019, 12:00:45 PM
3- he is apparently using v2.0.15, not 2.1 (moving)

Oh, I missed that bit. In that case, nothing that I said applies anyway. :)
Title: Re: BBC permissions for specific groups?
Post by: mrstevejobs on June 24, 2019, 03:02:47 PM
Quote from: Illori on June 24, 2019, 10:29:23 AM
or the op can increase security to stop the spammers from registering in the first place.

I added a reCaptcha.

But just in case anyone enters or even registers manually (yes, some people like to register to promote their sites/companies/products) then I would like to make it more difficult for them by just not providing an option to post URLs when they didnt reach X posts.

That would filter some others for sure.
Title: Re: BBC permissions for specific groups?
Post by: Illori on June 24, 2019, 03:06:39 PM
reCaptcha is not enough to keep the spammers at bay.
Title: Re: BBC permissions for specific groups?
Post by: mrstevejobs on June 24, 2019, 03:11:54 PM
What solution would you suggest that doesn't require connecting to a 3rd party?
I assume I won't have to install all of these mods?

Bad Behavior
Forum Firewall
httpBL
Stop Forum Spam
Stop Spammer
Title: Re: BBC permissions for specific groups?
Post by: Illori on June 24, 2019, 03:13:39 PM
Quote from: Kindred on June 24, 2019, 12:00:45 PM
1- stop the spammers from ever registering. (best option)
https://wiki.simplemachines.org/smf/Spam_-_my_forum_is_flooded_with_spam,_what_can_I_do
primarily -- QUESTIONS

that is the best way and requires no mods or 3rd party connection.
Title: Re: BBC permissions for specific groups?
Post by: mrstevejobs on June 24, 2019, 03:48:19 PM
I already have:

- reCaptcha
- Verification by email (not going to check them personally...)

Verification questions didn't seem to prevent spammers to register previously, so I don't think I'll go for that one.

The rest of the article talk about mods.

There's another option I do not see there but that I do see on this forum.
reCaptcha whenever anyone tries to add any reply or post new topic. Where can I enable that?
Title: Re: BBC permissions for specific groups?
Post by: Illori on June 24, 2019, 03:52:12 PM
then you need better verification questions, the ones you had were too easy.
Title: Re: BBC permissions for specific groups?
Post by: Kindred on June 24, 2019, 03:56:56 PM
Seriously.... questions.

I have a set of 25 questions.
I ask 2 at registration.

I've had to change the set once in 4 years now... and in that time I have had a total of 4 spammers register - 1 was almost definitely a human spammer and the other three got in after 3 years when the set of questions had been mostly catalogued and answered by human spammers.