• Resolved chuckienorton

    (@chuckienorton)


    When adding the [password_url] inside a link (ie – “activate your account” as the text) using the WYSIWYG editor within a notification, it strips a colon from between http & //. Here is the link it generates form my website: http//mywebsite/wp/wp-login.php?action=rp&key=lCeYQBQiRs81OIncXPa0&login=testuser3

    Is there an easy workaround here, or should i glance at the plugin code and see where the issue is?

    Thanks in advance!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Jack – BNFW

    (@voltronik)

    Hi @chuckienorton,
    Thanks for your message.

    I’m not aware of this issue. Does the URL look correct if you don’t use it in a link?

    Thread Starter chuckienorton

    (@chuckienorton)

    Thanks for the quick response!

    Yes that is correct. If you don’t use a link, it shows the entire url – except – that it’s not a link, just plain text. So a user sees the plain text url, and would need to copy/paste it into the address bar. So that way is definitely not ideal.

    Now i’m wondering if I am the only one seeing this? Or has it just not been reported before!?

    Plugin Author Jack – BNFW

    (@voltronik)

    Hi @chuckienorton,
    It should work – I haven’t had any other reports of this and this feature has mostly gone unchanged overall.

    Can you post the code for the link you’re using in your notification so I can see?

    Thread Starter chuckienorton

    (@chuckienorton)

    Thanks @bnfw.

    Here is the code i am using.

    Congratulations! You are now an approved product. That means you’re now eligible to participate in our sponsorship opportunities.
    
    Please follow the instructions below to login and see what options are available.
    
    ---
    
    First, <a href="[password_url]">set your own password</a>. 
    
    Then use your username - <strong>[user_login] -</strong> to login.

    That above link tries to go to: “http//mywebsite/wp/wp-login.php?action=rp&key=lCeYQBQiRs81OIncXPa0&login=testuser3” – notice the missing “:” after http.

    However if i put the non-html link in like this:

    [password_url]

    it produces the the correct url: “http://mywebsite/wp/wp-login.php?action=rp&key=lCeYQBQiRs81OIncXPa0&login=testuser3&#8221; – but it’s a string ( which makes sense ) and would need to be selected and copied by a user to actually use.

    Only unique thing about my system is that I set it up with Roots/Sage. But otherwise there were no unique filters or hooks in play.

    Plugin Author Jack – BNFW

    (@voltronik)

    Thanks @chuckienorton,
    Can you confirm which notification this is for?
    Can you also tell me if you’re using single site or multisite mode?

    Thread Starter chuckienorton

    (@chuckienorton)

    Thanks,

    It’s the “New User Registration – For User” notification.

    It’s in Single site mode.

    Plugin Author Jack – BNFW

    (@voltronik)

    Thanks @chuckienorton,
    How is the user registering? Is it via the WP Admin, via the default registration form, or via a front-end form added via a plugin?

    Thread Starter chuckienorton

    (@chuckienorton)

    Thanks,

    I’m using the built in wordpress ‘add new user’ form: /wp/wp-admin/user-new.php.

    Plugin Author Jack – BNFW

    (@voltronik)

    Thanks @chuckienorton,
    Because I haven’t had any other reports of this, are you able to run through this document just to rule out any plugin or theme conflicts?
    https://betternotificationsforwp.com/documentation/how-can-i-receive-the-best-support/

    Thread Starter chuckienorton

    (@chuckienorton)

    I had removed all other plugins at one point. Right now, however, I went a different direction and removed BNFW. I simply wanted to make you aware for your own sake and future users.

    If no one else reports this, and you haven’t been able to duplicate it locally, feel free to ignore.

    Thanks for responding.

    Plugin Author Jack – BNFW

    (@voltronik)

    Hi @chuckienorton,
    Thanks for the update.

    Sorry I wasn’t able to help more. If this comes up again, I can re-investigate.

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

The topic ‘[password_url] doesn’t work inside link’ is closed to new replies.