WordPress.org

Ready to get started?Download WordPress

Forums

Login With Ajax
[resolved] Can't get Login with Ajax to redirect to member page (2 posts)

  1. michaelrmoore
    Member
    Posted 1 year ago #

    I'm trying to set a member page that is only accessible to members of our boat club. When I use a test UN and PW it takes me to the WP admin page. I have it set to redirect to the member page in the settings, however it isn't working. Any suggestions?

    http://wordpress.org/extend/plugins/login-with-ajax/

  2. voji91
    Member
    Posted 1 year ago #

    hi there,
    1.in your wordpress menu go to Plugins-> Installed Plugins
    2.under "Login With Ajax" select Edit
    3.from the right sidebar choose : login-with-ajax/widget/widget.css
    4.then the right sidebar will update so choose : login-with-ajax/widget/default/widget_in.php
    5.go down in the codes (center of the page) and find this line : if( function_exists('bp_loggedin_user_link') )
    6.now change the link to where you want it to point. (simply change YOUR_DESTINATION)

    if( function_exists('bp_loggedin_user_link') ){ ?>
    <a href="YOUR_DESTINATION" ><?php echo strtolower(__('profile')) ?></a><br/>
    	<?php }else{ ?>
    	<a href="YOUR_DESTINATION" ><?php echo strtolower(__('profile')) ?></a><br/>
    <?php
    }  ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.