• Resolved Dan

    (@reggie_bond)


    Dear Madewithfuel and community,

    1st: I love your plugin. Most helpful, many thanks!

    2nd: Membership site – I do have an individual registration process which a new subscriber is forced to set a password after he went through the billing gateway.
    For this he normally get the WP native email: “Your username and password info” with an individualize link. The function from pluggable.php:

    $message .= ‘<‘ . network_site_url(“wp-login.php?action=rp&key=$key&login=” . rawurlencode($user->user_login), ‘login’) . “>\r\n\r\n”;

    In BNFW I am using the email template “New user – Post-registration Email”. But unfortunately I can’t find a short code that would provide this specific individualized URL.

    Is there a short code existing or any way to integrate that via PHP code into the email body?

    Thanks a ton for a hint!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi Dan,
    Thanks for your message.

    Are you using a multisite installation of WordPress? If so, it’s not yet supported in BNFW but an add-on to add support is coming this year.
    That may answer you question but if not, what is the individualised link that you speak of? Can you give an example of what it is and where it takes the user when they click it?

    Thanks,
    Jack

    Thread Starter Dan

    (@reggie_bond)

    Hi Jack,
    Thanks for your ultra swift reply!

    A) No multi site installation

    B) Signup Process
    1) User pays a membership outside of WP. I only collect Fisrt Name, Name, Emai – but no password.
    2) A webhook brings the data back to WP (MemberPress) and several tasks get triggered.
    3) One is that native WP sends the request to set now the password using WP’s function in pluggable.php. As we all know this looks ugly as hell.
    4) In BNFW I sorted out that the correct notification mail “New user – Post-registration Email” is
    5) Now in those emails should be an individualized link be integrated like seen here:
    Unique, one-time password setting link

    I hope you understand what I am trying to illustrate and ask here…

    Thanks,
    Dan

    Plugin Author bnfw

    (@voltronik)

    Hi Dan,
    Ah, I see what you mean now.

    You’ll need to use the ‘New User Registration – For User’ notification in order to be able to include the password URL.

    For reference, details of each notification can be found here: https://betternotificationsforwp.com/documentation/notifications/types-of-notification/

    ..and details of the shortcodes that are available for each notification can be found here: https://betternotificationsforwp.com/shortcodes/

    Hope this helps and remember, if you like the plugin and the support, please feel free to leave an honest review.

    Thanks,
    Jack

    Thread Starter Dan

    (@reggie_bond)

    Hello jack,

    Thanks for your hint. Trouble is:

    1) If I choose template “New User Registration – For User” no mail gets triggered from/by BNFW. (I always test with a unique, new email address)

    2) If I choose “New User – Post-registration Email” I get the email via BNFW but in this template I can’t include the short code *Set-up Password URL* [password_url] which I guess would be the right one but unfortunately I can’t test that…

    Before we are creating an endless thread here: Do you have a paid support option where we could discuss things further and give you more “details”?
    I really cross-checked everything 🙁

    Thanks a lot big appreciation.

    Dan

    Plugin Author bnfw

    (@voltronik)

    Hi Dan,
    I don’t have a paid support option at present unfortunately.

    It sounds like a potential plugin or theme conflict which is preventing the correct notification from being sent out. Please can you make your way through this document and let me know how you get on?

    Thanks,
    Jack

    Thread Starter Dan

    (@reggie_bond)

    Hi Jack,

    Thanks for your time and kind help. Unfortunately I couldn’t solve the problem but somehow this seems to be related to my WP installation. I give up and will let somebody create just a snippet I can put in my functions.php.

    Again, many thanks for taking your time!

    Dan

    Plugin Author bnfw

    (@voltronik)

    Hi @reggie_bond,

    Not a problem. Sorry to hear you couldn’t get it working but hope you find a solution.
    If you like the plugin and the support (even though you couldn’t get it working with your installation), please feel free to leave an honest review.

    Thanks,
    Jack

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Post Registration: Short code for unique URL?’ is closed to new replies.