Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activation key


  • albabu
    Participant

    @albabu

    Hello,

    When someone is registrered in my website by buddypress, the system send an email. That email contains one link where you can click and it sends you to a activation page. In this page, the website ask you an activation key, but in the email it doesn’t appear.
    Someone can help me?

    Thank you!

    http://weplaybox.com
    Buddypress Versión 3.0.0
    WordPress 4.9.6

Viewing 16 replies - 1 through 16 (of 16 total)

  • Venutius
    Moderator

    @venutius


    albabu
    Participant

    @albabu

    Hello Venutius,

    I’ve read that topic but i’m very new and i dn’t know programatic…
    So, I need make that change in my cpanel?


    Venutius
    Moderator

    @venutius

    What theme are you using?


    albabu
    Participant

    @albabu

    YouplayVersión: 3.5.4
    By nK


    Venutius
    Moderator

    @venutius

    The other thread indicated that this is a theme issue, so you should raise this with the thee authors, and in the meantime rollback to BP 2.9.4 there’s a link to the zip file, so all you would need to do is deactivate and delete BP from your plugins directory and them install the old bp by using the upload option when adding the plugin.


    albabu
    Participant

    @albabu

    Y try it and let you know.
    thank you


    jamersonnc
    Participant

    @jamersonnc

    Hi,

    I was having the same issue, It turns out, the LINK that is sent in the email IS the activation key.

    The text for the activation link shows https://mysite.com/register/yxyxyxyxyxyxyxyx/

    the actual hyperlink is https://eur29.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmysite%2Factivate%2FTupSrVxRicmnKIEsQiuIlovErbwriTzJ%2F&data=02%7C01%7C%7C201b5e1d1dd54668ac5708d5c15eb009%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636627534774115404&sdata=qtu4TSSlCTvw7dSb7rmJoJkqkbp672R9ccFUuPuDA9M%3D&reserved=0

    So I believe when the user lands at the activation page, the activation link is supposed to be auto populated. maybe there is a script or a listener on the page waiting for the activation link.

    I think maybe due to the spam protector, the hyperlink is encrypted or screwed up, which keeps the “activation page” from listening for the key (which it would normally auto-populate)

    I dont know if this is just an outlook issue, i haven’t tested it anyfurther. nor do i know if its an email server issue.

    This first test user, the activation link was sent from a wordpress generated email (not tied to smtp or anything) i had to dig the email out of my spam.

    so i’ll register the bbpress with an actual smtp email, and send to a gmail, and a yahoo..
    and see if it auto populates the activation key field.

    long story short, the activation link is in the url of the email link (with exception for mysite.com/register/)


    jamersonnc
    Participant

    @jamersonnc

    Also this test i did in an incogneto window as well. so.

    at least I know that the “Activation Key” is actually in the email that is sent saying “click here to activate”.

    It would be nice if i could just make it redirect them to the dashboard allowing the email click to be an official registration…


    albabu
    Participant

    @albabu

    Finally, i can do it from my cpanel searching “activate.php”

    Then i follow this (from the other post):
    https://github.com/buddypress/BP-Default/commit/baa3be909bb353e2a20a16a0e6da5219b4a73627

    I don’t know if it still a long time, but for the moment it works.

    Thank you!


    albabu
    Participant

    @albabu

    Hey @jamersonnc!

    I knew it the activation key was in the url but the it wasn’t clear for the user.
    Whit the solution that I did it, the activation key is automatic completed in the activation page.
    The only problem is that the buttom activate last a little to charge, and you make click but it don’t do anything….

    If some one can help me in this, I’ll very gratefull!


    jamersonnc
    Participant

    @jamersonnc

    wow, This worked? I’ve been scratching my head for 2 hours..

    So now the submit button does not work?
    maybe its just a php class issue thats not identical to the original.


    jamersonnc
    Participant

    @jamersonnc

    <input type=”submit” name=”submit” value=”Activate”>


    albabu
    Participant

    @albabu

    Yes it works!
    The button works, but it take a “long” time since you are in the activation page and the button do its fuction… If you fix with the solution that i said, let me know if you have de same problem with the activate button


    albabu
    Participant

    @albabu

    Hey @jamersonnc

    I need change this?:
    <input type=”submit” value=”<?php esc_attr_e( ‘Activate’, ‘youplay’ ); ?>” name=”submit” />

    For this?:
    <input type=”submit” name=”submit” value=”Activate”>


    jamersonnc
    Participant

    @jamersonnc

    umm. I tried that as well, didn’t seem to work, I used the example from github but I am still not seeing autopopulate of the field.

    So i will take a break!
    lol


    albabu
    Participant

    @albabu

    This is the php that i modificated

    /public_html/weplaybox.com/wp-content/themes/youplay/buddypress/members/activate.php

    Maybe it helps you

Viewing 16 replies - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.
Skip to toolbar