This topic has 5 replies, 2 voices, and was last updated 10 years by Catalin.

  • Author

    Tagged: , ,

  • #29906
     moosemanmedia
    Participant

    Hi,

    I filled the sidebar on my pages with the Buddypress login widget. When clicking the register button in this widget, you are linked to the choses WP page linked to the specific page “register” (done in buddypress settings.)

    This brings you to a fill in form to join the website. It should however point to another page, the page with the different membership levels to choose from, the page selected in PMPro to show the memebership levels page to register!

    How can I alter this link?

    Thanks,
    Stefaan

    #30801
     Catalin
    Moderator

    Hello,

    Please send me a link to your website with the widget activated to take a look.

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #30908
     moosemanmedia
    Participant

    Hi Catalin,

    See for example: http://www.mentorschap.be/nieuws-2/
    You will see widget on the right, where you can login in or register (the register points to the buddypress registration page, thus registration to website. But, I want this to link to the registration page I created with PMP, accessible via http://www.mentorschap.be/membership-account/registreren-2/

    Thanks for taking a look and explaining how to get this done.

    Stefaan

    #30927
     Catalin
    Moderator

    Hello,

    The file you need to modify is this:

    ..\wp-content\plugins\buddypress\bp-core\bp-core-widgets.php

    around line 94 you have:

    COPY CODE
    
    <span class="bp-login-widget-register-link"><?php printf( __( '<a href="%s" title="Register for a new account">Register</a>', 'buddypress' ), bp_get_signup_page() ); ?></span>
    

    you will need to modify this code like:

    COPY CODE
    
    <span class="bp-login-widget-register-link"><?php printf( __( '<a href="http://www.mentorschap.be/membership-account/registreren-2/" title="Register for a new account">Register</a>', 'buddypress' ), bp_get_signup_page() ); ?></span>
    

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #31546
     moosemanmedia
    Participant

    Thanks Catalin, did the trick!

    #31550
     Catalin
    Moderator

    glad to hear that… closing this.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘register link in sidebar (widget)’ is closed to new replies.

Log in with your credentials

Forgot your details?