JacksonOr
  •  JacksonOr
  • 50.6% (Neutral)
  • YAF Forumling Topic Starter
2013-11-05T08:06:30Z
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
2013-11-18T16:54:32Z
I have exactly the same problem! anybody please?
squirrel
2013-11-21T07:02:52Z
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
2013-11-22T03:46:24Z
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.
UserPostedImage
squirrel
2013-11-22T10:29:10Z
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
2013-11-22T19:44:51Z
Originally Posted by: tha_watcha 

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.



I will be glad to help
tha_watcha
2013-11-24T08:53:57Z
Originally Posted by: Theodor 

Originally Posted by: tha_watcha 

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.



I will be glad to help



I attached the updated YAF 2.0 dlls, simply replace them on your server.
File Attachment(s):
YAF-v2.0.0.0-TEST.zip (1,287kb) downloaded 77 time(s).

UserPostedImage
Theodor
2013-11-28T19:30:45Z
OK buddy.I will report back.
Tًheodor
2013-12-05T14:24:11Z
Originally Posted by: tha_watcha 

Originally Posted by: Theodor 

Originally Posted by: tha_watcha 

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.



I will be glad to help



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



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
2013-12-05T14:36:04Z
Sorry, there is the. Yaf.dotnetnuke.module.dll included, if you remove that file itv should Work.
UserPostedImage
Tًheodor
2013-12-05T16:57:21Z
Yes Watcha It works now and emails are sent correctly 👍
tha_watcha
2013-12-06T12:50:54Z
Originally Posted by: Tًheodor 

Yes Watcha It works now and emails are sent correctly 👍



Thanks for your testing! I committed the update code. This fix is included in YAF 2.1
UserPostedImage
coral
2014-02-19T07:31:58Z
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
2014-02-19T09:42:41Z
Originally Posted by: coral 

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



here...

https://github.com/YAFNE...8b692d98afdf937e6b2fa9bc 

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

Originally Posted by: coral 

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.



Yes the email and the key (hash) are stored in the yaf_CheckEmail Table
UserPostedImage
coral
2014-02-19T13:38:53Z
Many thanks for your quick reply.

Originally Posted by: tha_watcha 


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



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?

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved