XF 2.3 prevent the use of particular urls in the forum

Anacleto

Active member
Hello, we have some users who are using short links within the forum, to refer to other discussions always within our forum. Being popular users they have thought well to exploit the traffic of the forum to earn with short links.

So from one thread to another, instead of there being the regular link with the name of our forum.com/discussioni number etc... there is a short link. and we have noticed that he has been using it for a very long time and many urls scattered throughout the forum are like this.

How can we prevent a particular URL from being inserted in the text editing form for users?
 
Probably the easiest solution is to use the censor function that will wipe out any URL's that fit the text you want to block.
../admin.php?options/groups/censoringOptions/
 
actually I was thinking about the censorship tool, but it happens that, when the user posts the comment, his url will be half censored and half not, it will not lead anywhere so, right?
However, it is also true that he would see it immediately and therefore could be pushed to correct the url as appropriate.

Thanks for the suggestion.-
 
actually I was thinking about the censorship tool, but it happens that, when the user posts the comment, his url will be half censored and half not, it will not lead anywhere so, right?
However, it is also true that he would see it immediately and therefore could be pushed to correct the url as appropriate.

Thanks for the suggestion.-
You can also put known shorteners in the spam phrase detection list and it will flag the post with that content. It will kick it into moderation, so it won't be seen. ../admin.php?options/groups/spam/ That requires a bit more configuration for checking, but just another avenue to catch unwanted words, etc.

But yes, with the censor function, the URL will become null. We use this function and we just replace the text with our main page link or some other funny URL depending on the situation.
 
Back
Top Bottom