A free components from skorp.royy.net

A free components from skorp.royy.net

Download arrow Forum
Joomla
Welcome, Guest
Please Login or Register.    Lost Password?
Problem with the german 'Umlaute' (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Problem with the german 'Umlaute'
#35
BigJens (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Problem with the german 'Umlaute' 2 Years, 9 Months ago Karma: 0  
Hi there,

just installed your component and i like it very much! (Just un-installed an other cloud componet, because yours is much better ). But in fact i do have a small problem with the german Umlaute. Raf Clouds cuts off the rest of the word here, eg 'erklärt' gets to 'erkl' :-/
Any help here?

TIA
Jens
 
Logged Logged  
  The administrator has disabled public write access.
#36
skorp (Moderator)
Moderator
Posts: 206
graph
User Offline Click here to see the profile of this user
Re: Problem with the german 'Umlaute' 2 Years, 9 Months ago Karma: 6  
Hi!

Pls, open configuration of Raf Cloud component and set this value:
Advanced preg_replace options: /[,.-:><()!?]/
it will remove "," and "." and "-"and ":" etc. , you can put there other chars.

This problem will be solved with the new version.

Skorp
 
Logged Logged  
 
Project site: www.joomla.royy.net
------------------------------------------------------------
"Anyone who has never made a mistake has never tried anything new."
Albert Einstein

  The administrator has disabled public write access.
#37
BigJens (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re: Problem with the german 'Umlaute' 2 Years, 9 Months ago Karma: 0  
Hmmmmhhh do you think the advanced preg_replace options will solve my problem? I rather need more chars than less, because i am missing ä, ö, ü, ß .....

Keep up the good work!

Jens
 
Logged Logged  
  The administrator has disabled public write access.
#38
BigJens (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re: Problem with the german 'Umlaute' 2 Years, 9 Months ago Karma: 0  
Just set the following in the

Advanced preg_replace options  /[,.-:><()!?]/

That´s it. Works like a charm.

Thanks
Jens
 
Logged Logged  
  The administrator has disabled public write access.
#162
ReneDD (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with the german 'Umlaute' 2 Years, 4 Months ago Karma: 0  
To fix htmlentities Problem with german "umlaute".

Add this

Code:

$blacklist_filter = htmlentities($_POST['blacklist']);


line before

Code:

$RC_config = new RafCloud_config();
$RC_config->setValue("RC_enabled", $_POST['words_enabled'],'config');



Then find

Code:

$RC_config->setValue("RC_blacklist", $_POST['blacklist'],'config');


and replace with

Code:

$RC_config->setValue("RC_blacklist", $blacklist_filter,'config');


Now german "umlaute" will by saved with htmlentities on your Database and filtered by this component.
You can write german "umlaute" at text field in admin panel from this component and this entry will be fixed.
 
Logged Logged  
  The administrator has disabled public write access.
#163
ReneDD (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with the german 'Umlaute' 2 Years, 4 Months ago Karma: 0  
In admin.rafcloud.php
 
Logged Logged  
  The administrator has disabled public write access.
#181
ReneDD (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with the german 'Umlaute' 2 Years, 4 Months ago Karma: 0  
Same problem with whitelist.

admin.rafcloud.php

Find:

Code:

$RC_config = new RafCloud_config();
$RC_config->setValue("RC_enabled", $_POST['words_enabled'],'config');
$RC_config->setValue("RC_published", $_POST['published'],'config');



Before add

Code:

$whitelist_filter = htmlentities($_POST['whitelist']);


Find

Code:

$RC_config->setValue("RC_whitelist", $_POST['whitelist'],'config');


overwrite with

Code:

$RC_config->setValue("RC_whitelist", $whitelist_filter,'config');


Now whitelist works fine with German Umlaute.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top


Joomla Templates by Joomlashack