Main menu

Forum


× Help Forum English

Some comments to the registration form validation

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 1 Mese fa #5789 da Lyr!C

SLV ha scritto: 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) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • SLV
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
11 Anni 1 Mese fa #5802 da 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

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 1 Mese fa #5807 da Lyr!C

SLV ha scritto: 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) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • SLV
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
11 Anni 1 Mese fa #5830 da 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.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 1 Mese fa #5849 da Lyr!C
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) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.193 secondi

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new