Elxis CMS Forum

Support => Technical support => Topic started by: manager2507 on August 18, 2016, 05:58:37

Title: Edit validation email
Post by: manager2507 on August 18, 2016, 05:58:37
How to change the verification email support adding a Russian domain zone in the email address. for example: webmaster@xn--80adxhks.xn--p1ai
p.s. Letters are sent to this address!
Title: Re: Edit validation email
Post by: datahell on August 19, 2016, 18:37:31
You have a domain name with Cyrillic characters? For example пример.ru? Can you tell me more about the problem you have?
Title: Re: Edit validation email
Post by: manager2507 on August 21, 2016, 05:27:11
Yes, I have a domain name with Cyrillic characters. If you write in the address bar москва.рф, it will be the same that in the address bar write xn--80adxhks.xn--p1ai
Title: Re: Edit validation email
Post by: datahell on August 21, 2016, 19:16:35
I have never tested Elxis with international domain names. There are many reasons for this but mostly SEO and compatibility issues with a bunch of software (server/site). The site you show me is empty. Elxis is running good and you have only problem with the email? If it is the email the problem may be solved by using "xn--80adxhks.xn--p1ai" in the email address (eg something@xn--80adxhks.xn--p1ai) although it doesn't look a valid email address. Most servers will reject such addresses. My personal opinion is that international domain names are a very bad idea and cause a lot of problems to both site owners and visitors. However as I am interesting seeing Elxis running under such a domain name, if you wish send me with a private message ftp access to your Elxis site to test it.
Title: Re: Edit validation email
Post by: manager2507 on August 29, 2016, 06:19:38
In Russia there are no problems of compatibility with international domain hosting. My website can be viewed at http://xn--80afpafbdnlfcbhzl7g.xn--p1ai (http://xn--80afpafbdnlfcbhzl7g.xn--p1ai). Problems in elxis were found only in the settings does not pass validation email.
Title: Re: Edit validation email
Post by: manager2507 on August 29, 2016, 06:26:49
(http://i11.pixs.ru/storage/6/3/5/SnimokPNG_1166698_23092635.png)
Title: Re: Edit validation email
Post by: datahell on August 29, 2016, 17:37:01
Please do the following:
Open this file: includes/js/elxis.js

go to line 217 and change this:
var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,10}$/;
to this:
var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,10}$/;

Save the file and test it. Hit control+F5 in your browser to refresh its cache.
Title: Re: Edit validation email
Post by: manager2507 on August 30, 2016, 18:05:24
It works. Thank you!