Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Register error "We couldn\'t confirm your email. Check the link in the email we sent...."

edited October 2012 in Vanilla 2.0 - 2.8

Hi

After around two hours trying to figure out where I could find the string "'We couldn\'t confirm your email. Check the link in the email we sent you or try sending another confirmation email.' finally I´ve found It on "applications/dashboard/model/class.usermodel.php" file. Now I´m a bit happy and succeeded on tranlate It to pt-BR language.

Thanks to Google I´ve found this link: https://github.com/vanillaforums/Garden/blob/master/applications/dashboard/models/class.usermodel.php

It´s inside the "public function ConfirmEmail" function.

And around line 2024 of the same file, we have

// Make sure the user needs email confirmation. $Roles = $this->GetRoles($User['UserID']); $Roles = ConsolidateArrayValuesByKey($Roles, 'RoleID'); if (!in_array(C('Garden.Registration.ConfirmEmailRole'), $Roles)) { $this->Validation->AddValidationResult('Role', 'Seu email Não necessita ser confirmado.');

Where i´ve translated the other string "Your email doesn´t need confirmation"

Just in case someone needs it too.

But actually what i´m trying to figure out is why after a successfull register process and click on the confirmation email sent by vanilla i have that warning.

The funny thing is that after i click on "send another confirmation email" i receive the other warning "Your email doesn´t need confirmation" and nothing happens.

I´m using Vanilla embeded in wordpress with force remote URL ( eg. http://mydomain.com/discuss ) and also using the LoginRadius Social Login 1.1.0 plugin ( http://vanillaforums.org/addon/sociallogin-plugin )

After some further dig I´ve found this thread ( http://vanillaforums.org/discussion/18041/changing-the-follow-the-link-below ) Do you guys think i must apply what Todd told?

There is a better way to do this in your config:

        $Configuration['Garden']['ExternalUrlFormat'] = 'http://www.mysite.com#/%s';

===================================================
The e mail sent by Vanilla points to my "real" path ( eg http://mydomain.com/debate ) instead of the embeded one.

Any ideas?
Thanks and sorry for that long post :-)

Comments

  • Options

    Hi all
    Any light....i´m really stucked
    thanks

  • Options
    peregrineperegrine MVP
    edited October 2012

    @wilsoncortez said

    But actually what i´m trying to figure out is why after a successfull register process and click on the confirmation email sent by vanilla i have that warning.

    these may help

    http://vanillaforums.org/discussion/comment/164997/#Comment_164997

    http://vanillaforums.org/discussion/20874/email-confirmation-wont-turn-off

    you could look in user table for the affected user id and clean up the attributes field.

    although slightly different problem - this is more explanatory about attributes field.
    http://vanillaforums.org/discussion/comment/166686/#Comment_166686

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    Hi peregrine

    I´m late because I have to install Vanilla again. Due to server maintenence and upgrades I´ve decided to start from scratch.

    Anyway, thanks for pointing me some good reading :-)
    I´m still configuring the basics, re-checking some translations (some missing strings are really difficult to find.) and making some minor tweaks on the the layouts.

    After that I´ll try to use the embed functionality with a wordpress install and instead of use the LoginRadius social plugin I´ll try the default vanilla ones.

  • Options
    edited November 2012

    I´m back sooner then i´ve expected :(

    Regarding the wierd message spotted above what i´ve found so far:

    This error only happens on my forum. Before the embed, registration was smooth with no false messages.

    The funny thing is that even with warning the user is already loged and on further logins there is no error at all

    Well, meanwhile I´ll put my eyes on peregrino´s links.

  • Options
    edited November 2012

    I could not edit anymore a wrong phraseabove. the correct:

    "This error only happens on my EMBEDED forum. Before the embed, registration was smooth with no false messages

  • Options

    Hi guys

    Any light on this? i´d love to see it solved :-)

    thank u all

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    I think the problem is with embedded forum . Can I guess that when you try to log into via the embed nothing happens?
    If so then you need to tweak something in the java in the embedvanilla
    folder. There is a section embedURL and it refers to http:// but if you are embedding in WP they use SSL encryption and it it possible that is causing the problem.
    maybe you can try to change that to https://.

  • Options

    Can I guess that when you try to log into via the embed nothing happens?

    Not really vrijvlinder.
    The app only gets stucked on the email confirmation, you now?

    Scenario:

    1. new user registers on
    2. new user receives the confirmation email
    3. new user clicks on the confirmation link
    4. a warning is spotted "We coul not confirm your email. Please ask it it again " (almost these words :-)
    5. new user clicks on send it again
    6. a new warning " you email doesn´t need confirmation"
    7. news user is logged

    Pretty wierd isn´t it? :-(

    Thank you for your interest

Sign In or Register to comment.