Main menu

Forum


× Help Forum English

Some comments to the registration form validation

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 1 mois #5789 par Lyr!C
Réponse de Lyr!C sur le sujet Some comments to the registration form validation

SLV écrit: Yes, partially solved by "surgery" :)

Had to comment lines of the code that checks the name (lines 3370 - 3391) in icmodel.php


Hi!

Maybe this is due to Russian font and the function to count number of letters not working...

Are you on a linux or windows server ?

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • SLV
  • Auteur du sujet
  • Membre junior
  • Membre junior
Plus d'informations
il y a 11 ans 1 mois #5802 par SLV
I do not understand. Usually, string functions work with Cyrillic symbols.
In the details of the code, I have not delved.

There are characteristics:

Server - Linux 2.6.32-458.23.2.lve1.2.45.el6.x86_64
Database Version - 5.1.69-cll-lve
Database Collation - utf8_general_ci
PHP Version - 5.3.27
Web Server - Apache
Joomla! Version - Joomla! 3.2.0 Stable [ Ember ] 6-November-2013 14:00 GMT

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 1 mois #5807 par Lyr!C
Réponse de Lyr!C sur le sujet Some comments to the registration form validation

SLV écrit: I do not understand. Usually, string functions work with Cyrillic symbols.
In the details of the code, I have not delved.


In fact, not always when you count!

In icmodel.php, for the variable "monthshort", i've had created this function because of issue with Russian and Chinese :
// Function used for special characters
	function substr_unicode($str, $s, $l = null) {
    	return join("", array_slice(
		preg_split("//u", $str, -1, PREG_SPLIT_NO_EMPTY), $s, $l));
	}

Could you give me example of working and not working control for name ? (as the control is detecting if no number as first letter, more than 2 letters, and no special characters...)

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • SLV
  • Auteur du sujet
  • Membre junior
  • Membre junior
Plus d'informations
il y a 11 ans 1 mois #5830 par SLV

Could you give me example of working and not working control for name ? (as the control is detecting if no number as first letter, more than 2 letters, and no special characters...)


Perhaps I misunderstood your request. :dry:
Notes to the malfunctioning of the control input are described in my first post of this topic.

Regarding "monthshort" - abbreviated month name works correctly (if this in dates)

Regards.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 1 mois #5849 par Lyr!C
Réponse de Lyr!C sur le sujet Some comments to the registration form validation
Okay! sorry!
2John or D, or if the name contains quotes

I will try to take time next week to test on Russian language... and try to track what could be the reason of this problem.

So, the error is not in Russian characters ? It is like you have exactly post on the first topic ?

Thank you again!

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.092 secondes

 

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new