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

URL Censor 1.0.1

No permission to download

Liam W

Well-known member
#1
Liam W submitted a new resource:

URL Censor - Censor URLs...

This is a relatively simple add-on that will allow you to 'censor' URLs in posts.

You add each domain via a simple form, shown below.

View attachment 91720
If the 'Replace Text' field is specified, then that content will be displayed instead of the URL/text (otherwise the URL/text will be displayed, but it won't be visible).

If the 'Tooltip Text' field is specified, then whatever is put into that box will be displayed as a tooltip on hover.

Censored domains/urls/links (however you...
Read more about this resource...
 

Liam W

Well-known member
#5
Useful add on, maybe you can add features that exclude some usergroup from being affected by the censor :)
I'll look into that, but there isn't a way to know whose post it is when I filter out the URL (I'm editing the bbcode parser), so it'll take a few workarounds...

Liam
 

Daniel-SP

Active member
#6
Awesome addon !

As a suggestion, you could add some more rules to attend some variations:

google.com is the same as www.google.com for example. This might feel for http:// and https:// too.

Thanks for this :)
 
#7
Very useful add-on, especially nice since it lets you leave the links visible but not clickable.
But now for some reason I'm getting tons of these:
ErrorException: Undefined index: host - library/LiamW/URLCensor/Extend/BbCode/Formatter/Base.php:36
Generated By: Unknown Account, 5 minutes ago
 
#8
I'm guessing this add-on is no longer actively maintained?
@Liam W , just in case this helps, I'm running xf v1.49 and all the errors happen when someone requests an rss page.

I'm uninstalling it now; hope you get it fixed/patched. It was very nice when it ran OK.
 
Last edited: