1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Resource and Add-on Requests' started by Adam K M, Jun 25, 2015.

  1. Adam K M

    Adam K M Active Member

    Hello,
    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.
    upload_2015-6-25_11-16-26.png
     
    Liam W likes this.
  2. Liam W

    Liam W Well-Known Member

    I could do this.

    I'll look into it when I have some free time :)

    Liam
     
    Adam K M likes this.
  3. Chris D

    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.
     
  4. Adam K M

    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.
    Code:
    /^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/
     

Share This Page