XF 1.5 Spam in post title

Chris D

XenForo developer
Staff member
The spam phrases system, as demonstrated in that guide, is the recommended approach to this. Spam phrases checks both the thread title and post content for spam.

If spam is getting through, you need to add additional spam phrases to cover those cases.

It's worth noting that the guide does seem to demonstrate the appropriate way to block content containing URLs if they're in [URL] tags but you wouldn't usually find someone using BB code inside the title (because we don't support BB code there) so you'd be wanting to either block common words that appear in these URLs, or even just blocking usage of http / https in content entirely.

Spam management is an ever-evolving thing so as you get spam, it's important to try and analyze which parts of that content seems "spammy" and notice patterns and try and factor those patterns into your list of spam phrases.
 

dentoffe

Member
The spam phrases system, as demonstrated in that guide, is the recommended approach to this. Spam phrases checks both the thread title and post content for spam.

If spam is getting through, you need to add additional spam phrases to cover those cases.

It's worth noting that the guide does seem to demonstrate the appropriate way to block content containing URLs if they're in [URL] tags but you wouldn't usually find someone using BB code inside the title (because we don't support BB code there) so you'd be wanting to either block common words that appear in these URLs, or even just blocking usage of http / https in content entirely.

Spam management is an ever-evolving thing so as you get spam, it's important to try and analyze which parts of that content seems "spammy" and notice patterns and try and factor those patterns into your list of spam phrases.
Okay but is there a way to block all urls and whitelist some?
 

Chris D

XenForo developer
Staff member
It would likely be possible with a fairly complex regular expression.

Honestly, I'd just go for blocking them all. Spam checking only applies to a user's first 5 posts by default (configurable). There's an increased chance of false positives here but providing the content is moderated (and not blocked entirely) and there's generally a moderator around to approve any content that should be allowed, then it should work quite well.
 
Top