Mafia Clouds Module

Mafia Clouds 1.5 generates automatically a Cloud or a List with the most used words from your content items (title, intro and text) sized by their amount of appearance. Clicking on the words you are redirect to the search page with results for this word. You can configure the module with the parameters. Configuration options: Number of Tags to show Ordering options: No ordering, Alphabetical, by rate Type of format: Cloud or list Show rates (Yes/No) Right and Left Rates separators Max / Min Font Sizes Max / Min word lengths Text align Text Transform: Capitalize, Upper case or Lower case Line height Tags separator Max. Last Rows in Database Query (very important for good performances)Custom Font, Bold, and italic Possibility to exclude some seccions /categories Possibility to include only some seccions /categories Black list / Stopwords not usefully (default in English) White list / forced words (will appear in the module independently if they are used). The format is: word=rate This is just like all the other clouds, Only JoomlaMafia.com has made it.

Report

Works great except when I began it was stripping the html and punctuation in such a way that...
"The monkey was Silly.Head to the beach."
Created a cloud with the word "sillyhead", the link of which returned a list of zero results because the search does parse the text properly. Also if you have Rates turned on it would show "sillyhead(1)"

If you have the same problem edit the helper.php file and change the line...
$input_text = preg_replace('|["!()$%?&^#:;,.*=]|i', '', $input_text);
to
$input_text = preg_replace('|["!()$%?&^#:;,*=]|i', '', $input_text);

AND add a line
$input_text = str_replace('.', ' ', $input_text);

After that the module works perfectly for me (Win 2003 IIS6)