News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Forbid outbound links

Started by loki66, July 06, 2022, 05:14:04 AM

Previous topic - Next topic

loki66

Is there a way, feature or mod to remove all url in messages so there is no possible spam ???

Thanks,

Doug Heffernan

Quote from: loki66 on July 06, 2022, 05:14:04 AMIs there a way, feature or mod to remove all url in messages so there is no possible spam ???

Thanks,

There is no such mod a.f.a.i.k. I do not think that there is an easy way to do this. You can run a regex replace sql query though to replace all links: '\<a href.*?\</a\>' with an empty string.

Arantor

https://custom.simplemachines.org/index.php?mod=2404

Mostly designed for preventing outbound links for the first few posts but there's no reason you couldn't crank it up higher.

Advertisement: