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

Lack of interest No censor action on URLs

Mike

XenForo developer
Staff member
#2
Censoring in URLs is intentional - it's commonly done to block people from posting certain URLs.
 

giorgino

Well-known member
#7
I use the censoring feature for correct/expand/capitalize common words like google=Google xenforo=XenForo xf=XenForo etc.
Censoring is active in URL text also, so an URL like this: http://xenforo.com.... became http://XenForo.com... and sometimes this brake the URL.

Is it possible to disable censoring function in URL text only?
 

giorgino

Well-known member
#9
I love the features because increment the forum reading and SEO effect. But there are places where censor feature must be disabled for ensure correct forum operations.

Ragtek just you! :whistle:
Why not develop an add-on? :p
 
R

ragtek

Guest
#10
Because it's not possible:(

The censor happens on output and you would need to edit ALL templates and remove {xen:string censor, from the template where you don't need this
 

Jeremy

Well-known member
#14
Because it's not possible:(

The censor happens on output and you would need to edit ALL templates and remove {xen:string censor, from the template where you don't need this
You could write your own censor function that can possibly determine if it is censoring URLs and such and then overriding the actual one through an event listener and doing:
PHP:
XenForo_Template_Helper_Core::$helperCallbacks['censor'] = array('Your_Addon', 'censorString');
 

Rob

Well-known member
#15
I would like to see HTML allowed in censor replacement text. This will allow for people to swap images in for bad words as well as replace words with links.

Any ideas anyone? RagTek? KK?