Main menu

Forum


× Help Forum English

Some comments to the registration form validation

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 1 month ago #5789 by Lyr!C

SLV wrote: 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 Attachment:

Please Log in or Create an account to join the conversation.

  • SLV
  • Topic Author
  • Junior Member
  • Junior Member
More
11 years 1 month ago #5802 by 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

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 1 month ago #5807 by Lyr!C

SLV wrote: 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 Attachment:

Please Log in or Create an account to join the conversation.

  • SLV
  • Topic Author
  • Junior Member
  • Junior Member
More
11 years 1 month ago #5830 by 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.

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 1 month ago #5849 by 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 Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.102 seconds

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new