Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Word Filter distinguishes between uppercase and lowercase letters in words.

11 years 1 month ago
Licenses:
JomSocial Active Socialize Expired

After adding a list of words spelled in lowercase, WordFilter not distinguish if the same words are written with a capital letter. I'd have to say the same word many times taking account of the size of letters:
example:
mom
Mom
MOM

If I might add to the dictionary mom - Word Filter will not block the word Mom or MOM. Asking for help in solving the problem to WordFilter not verify the size of the letters in written words.

Second problem:
Word Filter does not work in group activities and in the comments to posts. Why?

11 years 1 month ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

1. This is default behavior, we avoid the case sensitive letters.. eg if you set "shit", so "sHit" won't be filtered :)

2. this is a bug, the comment is not filtered

thank you

11 years 1 month ago
Licenses:
JomSocial Active Socialize Expired

Answer 1: I think you should make improvement so that filtering is not distinguished uppercase and lowercase letters. Alternatively Give a piece of code that would replace a file to Word Filter indistinguishable volume of written letters.

Answer 2: How to make improvement to filter the included activity groups and comments to post?

11 years 1 month ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

#1 If you think this is a good idea, please you post this to our user voices, and if you wanna hack the code you can edit this file plugins/community/wordfilter/wordfilter.php

#2 this is a bug, and need to wait the patch for fixing this

11 years 1 month ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

#2 This is the patch, open this file , add this code :

CWall::triggerWallComments($comments);
after this code :
$commentsHTML = '';

add this code :
$args[] = $table;
            CWall::triggerWallComments($args);

before this code :
$comment = CWall::formatComment($table);

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW