Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • aomao
    Participant

    @aomao

    Sorry I found my mistake.
    Its working now.


    aomao
    Participant

    @aomao

    Finally it’s working
    the plugin works fine in the normal server
    but not working under localhost
    thanks boyevul


    aomao
    Participant

    @aomao

    That plugin use this code to show users page.

    `function bp_profile_homepage()
    {
    global $bp;
    if(is_user_logged_in() && $_SERVER==’/’)
    {
    wp_redirect( $bp->loggedin_user->domain );
    }
    }
    function logout_redirection()
    {
    global $bp;
    $redirect = $bp->root_domain;
    wp_logout_url( $redirect );
    }
    add_filter(‘get_header’,’bp_profile_homepage’,1);
    add_action(‘wp_logout’,’logout_redirection’);`
    by the way I am testing it in localhost
    maybe that causes problem


    aomao
    Participant

    @aomao

    Thank you very much

    I checked my code again and found that I accidentally deleted
    this one `class=””`
    while changing from ul -> div
    now its working fine


    aomao
    Participant

    @aomao

    I need your help again.
    For my design I needed to use div instead of list(ul) for displaying activities.
    instead of this
    ` ul.activity-list .red { background: #f00 }`
    I have
    ` div.activity-list .red { background: #f00 } `

    But filter not working now. I couldn’t fix it by myself


    aomao
    Participant

    @aomao

    @muchad
    Thanks that worked


    aomao
    Participant

    @aomao

    Oh, thanks for reply
    I will try your hint


    aomao
    Participant

    @aomao

    Please I also need this one

Viewing 8 replies - 1 through 8 (of 8 total)
Skip to toolbar