YAFLogo

ksuvalk2
  • ksuvalk2
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
I have turned on email verification of registration. The user gets the following link in their email:

http://www.site.com/forum/default.aspx?g=approve&k=34B547BDF85CBA57FABC59DA2F1DD29F 

But when they click the link, it appears it is getting redirected rather than showing any approval page. The redirect url in the address bar looks to be:

http://www.site.com/forum/default.aspx?g=login&ReturnUrl=/forum/default.aspx?g=approve%26k=34B547BDF85CBA57FABC59DA2F1DD29F 

So it looks like auth is preventing access to the approval process?

Please Help! Running v1.9.3.

Thx.

Sponsor
ksuvalk2
  • ksuvalk2
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
In researching this, I have found that when I turn OFF the setting where users must be logged in to see any content, this works correctly.

So, when the option is turned ON that forces users to be logged in to see content, the email approval process doesn't seem to work correctly. YAF authentication seems to be forcing authentication even during the email approval process.

Strangely, when clicking an email approval link, if you log in with any valid existing user, it then does the redirect to the approval page and whoever the user was for the original email approval gets approved.

Is there a tweak (or something I'm missing) that allows me to successfully provide email approval AND prevent content from being seen unless you are an approved user?

Thx.

Mek
  • Mek
  • 100% (Exalted)
  • YAF Developer
15 years ago
FP:Mek

I'll take a looksy


UserPostedImage

"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon 🙂 )

wdks
  • wdks
  • 55.4% (Neutral)
  • YAF Forumling
15 years ago
Did you ever determine if there was an issue here? I (ksuvalk2) have set up another forum site and it seems to be having a similar problem.

I have users registering and getting their verification email, but when they click the link it takes them to the login page rather than any kind of "email verified" message or any page where they can enter their verification code.

What a particular user's browser config prevent the verification link from working?

I basically took the recommended web.config, got mail and db set up correctly, and made no other changes to configuration. It is running in a virtual directory (/forum) so I just set it up as a virtual dir, and copied the bin folder contents to the root.

Any ideas why some users would not be able to verify via email?

Thx

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
15 years ago
Fixed in the latest code. Planning to release by next month v1.9.4 beta.
wdks
  • wdks
  • 55.4% (Neutral)
  • YAF Forumling
15 years ago
Super! What's the fix or any workaround? I need to do something about the current version on a few live sites. Any particular configuration that works better than the rest until the new version comes out?

Thx