YAFLogo

JacksonOr
  • JacksonOr
  • 50.6% (Neutral)
  • YAF Forumling Topic Starter
10 years ago
Hello friends,

I have installed the latest version (2.0.0) of this fantastic forum software and I really like it but there is a problem with verification emails.

The content of such emails include very strange characters (look Chinese to me) and therefore can not be read by users.They are like this:

㜀㄀䄀䈀㈀㌀㄀ 㘀䐀㠀㈀䘀㌀䄀㤀㔀 㘀㈀䄀㤀㈀㠀㤀㜀㄀䄀䈀㈀㌀㄀ 㘀䐀㠀㈀䘀㌀䄀㤀㔀 㘀㈀䄀㤀㈀㠀㤀㜀㄀䄀䈀㈀㌀㄀ 㘀䐀㠀㈀䘀㌀䄀㤀㔀 㘀㈀䄀㤀㈀㠀㤀㜀㄀䄀䈀㈀㌀㄀ 㘀䐀㠀㈀䘀㌀䄀㤀㔀 㘀㈀䄀㤀㈀㠀㤀㜀㄀䄀䈀㈀㌀㄀ 㘀䐀㠀㈀䘀㌀䄀㤀㔀 㘀㈀䄀㤀㈀㠀㤀㜀㄀䄀䈀㈀㌀㄀ 㘀䐀㠀㈀䘀㌀䄀㤀㔀 㘀㈀䄀㤀㈀㠀㤀

I have turned email verification off for now but can not continue this way due to high spammers activity.My forum is in Arabic.

Also In the users page where you can see list of members it is not possible to sort ! is it by design or a bug?

Regards

Jackson

Sponsor
Theodor
  • Theodor
  • 52.4% (Neutral)
  • YAF Forumling
10 years ago
I have exactly the same problem! anybody please?
squirrel
10 years ago
This is a localization/culture issue - it appeared around when YAF moved to .NET 4.0 -- my understanding is it is in roadmap for fix. I am also investigating workaround as we have same issue, but it is random and not often it occurs.
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
10 years ago
I located the source of the problem, it is an encoding issue. The wrong encoding causing Arabic or Russian letters to be encoded in Chinese chars. Some email clients are display it correctly, but others not.

I have a fix ready, but since I can not directly reproduce I need someone who can test it out, or let me know in which email client it shows Chinese chars.

squirrel
10 years ago
I've gotten foreign characters via MS Outlook 2007 (primary mail client) -- I have gmail as well but don't use it for forum accounts -- our own forums the issue seems to have cleared, but I took a long pass through our members table and changed many problems with the language settings -- after that, no more messages were attempt to come from our main forum in 'high bit' encoding like creates problem --

PS - I found same issue last night searching, but after days trying to solve other ASP.NET project I gave up and left it to people who know what they're doing. For the life of me, I can sometimes hack together code to make something work, but otherwise I can't wrap my head arount .NET no matter what I do or try...


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
Theodor
  • Theodor
  • 52.4% (Neutral)
  • YAF Forumling
10 years ago

I located the source of the problem, it is an encoding issue. The wrong encoding causing Arabic or Russian letters to be encoded in Chinese chars. Some email clients are display it correctly, but others not.

I have a fix ready, but since I can not directly reproduce I need someone who can test it out, or let me know in which email client it shows Chinese chars.

Originally Posted by: tha_watcha 

I will be glad to help

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
10 years ago

I located the source of the problem, it is an encoding issue. The wrong encoding causing Arabic or Russian letters to be encoded in Chinese chars. Some email clients are display it correctly, but others not.

I have a fix ready, but since I can not directly reproduce I need someone who can test it out, or let me know in which email client it shows Chinese chars.

Originally Posted by: Theodor 

I will be glad to help

Originally Posted by: tha_watcha 

I attached the updated YAF 2.0 dlls, simply replace them on your server.

Theodor
  • Theodor
  • 52.4% (Neutral)
  • YAF Forumling
10 years ago
OK buddy.I will report back.
Tًheodor
10 years ago

I located the source of the problem, it is an encoding issue. The wrong encoding causing Arabic or Russian letters to be encoded in Chinese chars. Some email clients are display it correctly, but others not.

I have a fix ready, but since I can not directly reproduce I need someone who can test it out, or let me know in which email client it shows Chinese chars.

Originally Posted by: tha_watcha 

I will be glad to help

Originally Posted by: Theodor 

I attached the updated YAF 2.0 dlls, simply replace them on your server.

Originally Posted by: tha_watcha 

Hey watcha,

I had no success running the app.It asks for Dotnetnuke dll .

Do you mind sharing the actual code so that I can compile it on my own machine?

Theodor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
10 years ago
Sorry, there is the. Yaf.dotnetnuke.module.dll included, if you remove that file itv should Work.
Tًheodor
10 years ago
Yes Watcha It works now and emails are sent correctly 👍
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
10 years ago

Yes Watcha It works now and emails are sent correctly 👍

Originally Posted by: Tًheodor 

Thanks for your testing! I committed the update code. This fix is included in YAF 2.1

coral
  • coral
  • 72% (Friendly)
  • YAF Lover
10 years ago
hi there. I have the same problem with yaf 2. I cannot simply update my site to yaf 2.1 because I have customized it for my own need.

Could you please tell me which file and part of code must be changed so I can fix it myself.

many thanks.

one more thing, can I send the "Approval Key" manually. Is it stored somewhere so I can access it and sent it out for users who had the problem.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
10 years ago

Could you please tell me which file and part of code must be changed so I can fix it myself.

many thanks.

Originally Posted by: coral 

here...

https://github.com/YAFNET/YAFNET/commit/503b5dab388b76488b692d98afdf937e6b2fa9bc 

at some point you should create a fork of your changes, or you will never able to upgrade.

one more thing, can I send the "Approval Key" manually. Is it stored somewhere so I can access it and sent it out for users who had the problem.

Originally Posted by: coral 

Yes the email and the key (hash) are stored in the yaf_CheckEmail Table

coral
  • coral
  • 72% (Friendly)
  • YAF Lover
10 years ago
Many thanks for your quick reply.

at some point you should create a fork of your changes, or you will never able to upgrade.

Originally Posted by: tha_watcha 

I am not familiar with fork. Can you explain a bit more please? How I can do it? Is there any special tools for that?