Add-on Post links in thread permission - In the name of combatting spam!

Adam K M

Active member
I would love to see a add-on that adds a permission that users must have to post links in threads/replies (and a maximum number of links, if possible). I believe this should be similar to the already existing signature permissions, but under Forum Permissions.

Chris D

XenForo developer
Staff member
Just use Spam Phrases and detect links in posts that way.

This would allow the first X posts to be checked for links and then moderated or rejected. It doesn't impose a limit on the number of links, though.

Adam K M

Active member
@Chris D Oh, how nifty! I didn't even really acknowledge that as an option!

I'm still looking forward to that forum permission, as it could be useful in other cases, but I'm definitely going to be using spam phrases for new registrations.

Is the regular expression that I'm using (from tutsplus) if anyone is interested.
/^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/