Option to block URLs and embeds in posts?

BIG LLC

Active member
Similar to this one, but for 2.2:


We're looking at blocking URLs and embeds for the first X days before allowing new users to embed and link out of the site.

Is there anything out there?

Right now it looks like I might need to create our own addon to do this.
 

Xon

Well-known member
@BIG LLC my Signup Abuse Block and Detection add-on does something like this. But rather than X days, it is for the Y posts scanned by the XenForo spamchecker.

It has a "Link content spam checking" feature, which fields on signup and also content posts for links. It resolves these to domains which can then be deny/moderated/allowed by domain. So you can allow links to your own domains but moderate or reject external links.
 

Mr Lucky

Well-known member
Try this in ACP spam management > Spam phrases

Code:
/^\[url.*\[\/url\]$/si
/^http\S+$/si
/\[url=("|')?([^"'\]]+)("|')?\].*\[url\]\2\[/si
/\[url=("|')?([^"'\]]+)("|')?\].*\[url=("|')?\2("|')?\]/si
/^https?:\/\/\S+\n/si

Set x days
 
Last edited:

BIG LLC

Active member
@BIG LLC my Signup Abuse Block and Detection add-on does something like this. But rather than X days, it is for the Y posts scanned by the XenForo spamchecker.

It has a "Link content spam checking" feature, which fields on signup and also content posts for links. It resolves these to domains which can then be deny/moderated/allowed by domain. So you can allow links to your own domains but moderate or reject external links.

Y posts scanned by the XenForo spamchecker.

This is the "Maximum messages to check for spam" option?
 
Top