Jump to content

word filter replace text with formatted text? color etc?


johnr5

Recommended Posts

Hi,

We're trying to replace swear words with ¿¿¿¿

But when it displays it the first time, it shows the code, but if someone quotes it, it works...?!

What are we doing wrong please and how can we make it right?

Thanks

Link to comment
Share on other sites

I contacted support last night (not sure why I didn't do that in the first place) and they've confirmed it's not possible at the moment to add formatting - very disappointing

On 8/2/2019 at 1:08 PM, DawPi said:

Maybe you should try my mod:

 

I've just taken a closer look at this but it seesm to only change text to links which is not what I want. I want to be able to change words (swear words in this case) to formatted (colour/bold etc) words. Can your mod do this?

 

Link to comment
Share on other sites

4 hours ago, opentype said:

I don’t think the word filter is supposed to work with styling. It just replaces characters with other characters. 

Yes, so I gather but that doesn't highlight to the author or others that a word has been replaced. We run a family board so we don't allow people to swear (we allow lesser swear words just not a handful of strong ones) and we don't allow them to do things like 'he can just **** off'. 

So if we just replace it with **** etc, it makes it harder to know if they have done it themselves or it's part of the filter. Which is why we went (or tried to) for the ???? symbols in red. 

The odd thing is, when someone quotes it, it shows correctly, so regardless of anything else there is a bug there.

 

Link to comment
Share on other sites

If you want to signal something to the user, messing with their texts is not really the right way to do it. There are the moderation tools for that. 

If you want to signal to other readers that something was removed automatically, I’m sure you can find a replacement text that makes that clear, e.g [removed by word filter] or something. 

Link to comment
Share on other sites

3 hours ago, opentype said:

If you want to signal something to the user, messing with their texts is not really the right way to do it. There are the moderation tools for that. 

If you want to signal to other readers that something was removed automatically, I’m sure you can find a replacement text that makes that clear, e.g [removed by word filter] or something. 

no, it's not about moderation (that takes time), it's the automatic word filter to remove swear words. we shouldn't have to edit every single post with a swear word in.

Link to comment
Share on other sites

28 minutes ago, johnr5 said:

 we shouldn't have to edit every single post with a swear word in.

Huh? No one suggested that, nor is it necessary as we are discussing the feature to do that here. So I don’t know why you make the statement I quoted or how that is a useful reply to what I said. 

Link to comment
Share on other sites

Sorry, you said 'If you want to signal something to the user, messing with their texts is not really the right way to do it. There are the moderation tools for that. '

I only want a way to add color to a word filter (which, as I said , works when it is quoted for some strange reason).

If it's not possible, or you can't help further, please don't argue. We both have better things to do.

Link to comment
Share on other sites

I’m not here to argue. I made the suggestion to choose your replacements in a way, that it’s clear that it’s coming from an automatic replacement, as you requested it.

You cannot add styling to word filters, since word filters need to work everywhere. This includes titles for example, which cannot use HTML and would then show your styling code. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...