Skip to:
Content
Pages
Categories
Search
Top
Bottom

Lost Password Link


  • elucinda
    Participant

    @elucinda

    Hi I use the Buddypress widget login on my site.

    I’m using the latest Buddypress & WordPress version.

    It doesn’t have a lost password link, how can I add this?
    What else do I need to do to set this up? Is there a form accessible for this in buddy press?

    Thank you.

    Home Full Page

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

  • Venutius
    Moderator

    @venutius

    Have you investigated other login widgets that have this feature? For example https://wordpress.org/plugins/login-sidebar-widget/

    The alternative is to raise a feature request on Trac https://buddypress.trac.wordpress.org/


    elucinda
    Participant

    @elucinda

    Really? You just want me to add another plugin? Lost-password isn’t a feature you already offer??


    shanebp
    Moderator

    @shanebp

    Another plugin is the path of least resistance if you don’t know how to code, don’t want to learn and don’t have a developer.

    Adding the lost-password link is easy.
    Just use one of the action hooks in the class for that widget.
    I suggest you use this hook: do_action( 'bp_login_widget_form' );
    For the hook context, see this file:
    buddypress\bp-core\classes\class-bp-core-login-widget.php

    If you don’t know how to code, share the hook info with your developer.


    elucinda
    Participant

    @elucinda

    Makes sense thanks. I am a student of coding, I don’t have a developer.

    So I add:

    do_action( ‘bp_login_widget_form’ );

    to the class-bp-core-login-widget.php file?

    or is there more I need to add along with that hook? I really appreciate your help.


    shanebp
    Moderator

    @shanebp

    Please use the code button when posting code.

    Did you look at the class? Did you see the hooks in the class?

    You don’t add the hook, you use the hook – do_action.

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