DR

Forum Replies Created

Viewing 8 posts - 61 through 68 (of 68 total)
  • Author
    Posts
  • in reply to: Custom Field for Main listing on Franchise #161096

    DR
    Expired Member
    Post count: 78
    This reply has been marked as private.
    in reply to: Whoop! Questions (and bugs?) #46130

    DR
    Expired Member
    Post count: 78

    Hi,
    Was giving this a go and I noticed two things. Don’t know if I’ve just not looked through enough for a switch.
    1. Is it normal to log out to the default WordPress logout page?
    2. I can’t seem to find any options to control the colors of the button and the header.

    Will keep looking though.

    Cheers

    in reply to: What function builds the Search Query #45808

    DR
    Expired Member
    Post count: 78
    This reply has been marked as private.

    DR
    Expired Member
    Post count: 78

    Hi Paolo,
    Thank you for the follow up and response. I am looking forward to seeing this sorted out.

    Cheers


    DR
    Expired Member
    Post count: 78

    Hi Paolo,
    Thanks for the response. I have actually tried that your suggestion along with a host of others (including plugins). I find the problem is the same in all the situations as I stated. It redirects to http://siteadrress/user_nicename while profile is at http://siteadrress/members/user_nicename

    Will keep trying and will post any successes but in the meanwhile, I am standing by for suggestions please..

    Cheers.


    DR
    Expired Member
    Post count: 78

    Hi Paolo,
    I have been trying to get this to work for a little while now.. but not so lucky.
    Adding this bit of code to the functions.php I was able to get it to redirect to:

    http://mysite/user_nicename/ while the profile is actually in http://mysite/members/user_nicename/

    /*
    Following Function Redirect the user to profile page after login
    */

    add_filter(“login_redirect”,”bpdev_redirect_to_profile”,10,3);

    function bpdev_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user)
    {
    if(empty($redirect_to_calculated))
    $redirect_to_calculated=admin_url();

    /*if the user is not site admin,redirect to his/her profile*/
    if(!is_site_admin($user->user_login))
    return bp_core_get_user_domain($user->ID );
    else
    return $redirect_to_calculated; /*if site admin or not logged in,do not do anything much*/

    }

    (credits: https://codeofsandy.wordpress.com/2015/04/21/buddypress-redirect-user-to-profile-page-after-login/)

    Can you help with this please?

    in reply to: Auto fill/populate custom post #14175

    DR
    Expired Member
    Post count: 78

    I broke it. But I guess it’s cause I didn’t do it right. New to WP too. Will try again and if I can’t get it to work, maybe have a PM if that’s ok with you..:)

    Thank you

    in reply to: Auto fill/populate custom post #14171

    DR
    Expired Member
    Post count: 78

    That was quick…! Thank you. Will try this out and get back asap.

Viewing 8 posts - 61 through 68 (of 68 total)