[SOLVED] Words filter

More
11 years 10 months ago - 11 years 10 months ago #38329 by bau65
[SOLVED] Words filter was created by bau65
Hi to all,
I've a text field where need filter any scurrilous words.
Anyone suggest me how I can build the filter.
Thanks in advance
Last edit: 11 years 10 months ago by bau65.

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #38616 by bau65
Replied by bau65 on topic [SOLVED] Words filter
Nobody have any suggestion about?

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #38617 by ggppdk
Replied by ggppdk on topic [SOLVED] Words filter
Hello,

-- your textarea allow HTML or is plain text?

-- is a solution to make your new or updated content go though FLEXIcontent Approval process?
or you don't want to review new or updated content?


Also, you want to replace the bad words when
- content is saved
by removing them when calling Joomla's onContentBeforeSave event

- content is displayed,
because you have existing content and then
e.g via Joomla's onContentPrepare event, they will be removed every time the content is displayed


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #38619 by bau65
Replied by bau65 on topic [SOLVED] Words filter
Hi,
thanks for your answer.
My text area don't allow HTML and I use JCE editor.
I'd like do as JComments where if somebody write in a comment a dirty word, that I've previously added to a black list, it replace dirty word with "term scurrilous not published"
I'm sorry if you take advantage of your kindness but I would have another simple different question.
I can't find where I can hide not all but some icons that I'd like the registered users will can use.
You can see the icons that I mean in the screenshot.
Thanks.
Attachments:

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #38621 by ggppdk
Replied by ggppdk on topic [SOLVED] Words filter
Hello
this appears to logged users that have publish/unpublish privilege , but these icons appear only after clicking on the state above,

if they appear without clicking on the state above , then your page Javascript is broken,

About bad words filter,
there is a Joomla Plugin that replace bad words when the description or (other FLEXIcontent field) is displayed

extensions.joomla.org/extensions ... lace/10790
It is a content plugin, please select to trigger it in the FLEXIcontent fields that you need to filter,
it has a parameter for comma separated bad words and the text that will appear instead of bad word


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #38623 by bau65
Replied by bau65 on topic [SOLVED] Words filter
The icons appear regularly when clicking but I'd like they appear not all.
I've setup the privileges as you can see on the new screenshot, but appear all iconos.
Regarding the bad words I had not thought of a plugin solution, I thought of a more complex solution.
In fact, the plugin is very easy solutions :)
Thanks for having given a simple solution that I had not thought :)
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.359 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save