Page 1 of 1
Blocked Words
PostPosted: 17 Feb 2015, 15:58
by Solace
Hi
When a user adds a blocked word, the recipient chat displays nothing - is that correct?
Is it possible to display something like [blocked word] in the recipient chat - so at least the know the sender has written something? At the moment, it is blank on mine.
Thanks
Re: Blocked Words
PostPosted: 17 Feb 2015, 16:59
by Solace
Ah - actually I can see it works now. It displays **** instead of the word.
I found a bug in the blocked words list - when I add [http://] the chat comes through as empty
When I reduce this down to [//] that's what makes it stop working.
I am trying to prevent people posting links.
Re: Blocked Words
PostPosted: 17 Feb 2015, 17:09
by Solace
It would also be nice to be able to modify the **** to something like [blocked] - can you please add it to the language file ?
Re: Blocked Words
PostPosted: 21 Feb 2015, 23:55
by Jason
Go to the includes/functions/functions_send.php file and change the "****" to whatever you'd like.
Re: Blocked Words
PostPosted: 22 Feb 2015, 12:19
by Solace
Yes I've done this and confirm it works - however, it would be good to have this in the language or template file, so it's not overwritten during updates.