BuddyDev

Search

Replies

  • Participant
    Level: Master
    Posts: 213
    smart life on #15060

    Can you please work with email. I don’t know how to us link you profile and here is not allow attachment. For this explain i need send you full detail attachment.

    My email topic: Redirect to /all-activity

  • Participant
    Level: Master
    Posts: 213
    smart life on #15055

    More detail again.
    Ex: i’m on page`1
    As an admin or subcriber when i “hover” to “logout button” . Right conner of pc, i saw

    domain.com/page1 _bl_nonce=432ea194cf&redirect_to=https://domain.com:443//page1

    Here is my theme logout button code (just coppy for you IF part, not full header menu code)

    
    if ( bp_is_active( 'logout' ) ) {
    	$profile_1['logout'] = '<li> <a href=" ' 
    . wp_logout_url('/url-page-to-be-redirected') . '/">' 
    . __( "Logout", "buddypress" ) 
    . '</a></li>';
    }
    
    So i think the issue at: 
    . wp_logout_url(‘/url-page-to-be-redirected’) . ‘/”>’
    . 
    

    Finaly hope it full detail. So how can i fix the issue?

    I want every time user click on logout will redirect to homepage

  • Participant
    Level: Master
    Posts: 213
    smart life on #15054

    It don’t work correct

    Here is my website menu full code

    
    <?php if ( function_exists( 'bp_is_active' ) ): ?>
    								<?php $profile_setting = array();
    
    if ( bp_is_active( 'activity' ) ) {
    $profile['activity'] = '<class="menu-activity">
        <li><a href="' . bp_loggedin_user_domain()
            . 'all-activity/">' . __( "all Activity", "buddypress" )  
            . '</a></li>
        <li><a href="' . bp_loggedin_user_domain() 
            . 'activity/">' . __( "My Activity", "buddypress" ) 
            . '</a></li>
    ';
    }			
    $profile = apply_filters( 'header_dropdown', $profile );?>
    
    

    Now i want to change domain.com/username/activity/all-activity
    to be: domain.com/all-activity

    what is correct code?

  • Participant
    Level: Master
    Posts: 213
    smart life on #15051

    Now i work with menu

    My theme used this code

    
    if ( bp_is_active( 'activity' ) ) {
    $profile_setting['activity'] = '<class="menu-activity">
        <li><a href="' . bp_loggedin_user_domain() 
            'all-activity/">' . __( "All Activity", "buddypress" )  
            . '</a></li>
    
    About
    <a href="' . bp_loggedin_user_domain() 
            'all-activity/">' . __( "All Activity", "buddypress" )  
            . '</a></li>
    

    How do i change it to domain.com/activity

  • Participant
    Level: Master
    Posts: 213
    smart life on #15047

    `1) Hey this widget build is not right, buddypress defaul already have widget newest, active, poupular . Do u plan to fix this basic on logged in user in soon?

    2_)They are query to count view, if i DON’T add this widget to website, will it effect speed of website or not?

    • This reply was modified 3 years, 7 months ago by smart life.
  • Participant
    Level: Master
    Posts: 213
    smart life on #15045

    How do i change return bp_core_get_user_domain( $user->ID ) . ‘all-activity’;

    to custom url: domain.com/activity

  • Participant
    Level: Master
    Posts: 213
    smart life on #15015

    All reported was tested with “subcriber”

    Everything work good when i try to logout as admin (both theme frontend & backend logout).

    • This reply was modified 3 years, 7 months ago by smart life.
  • Participant
    Level: Master
    Posts: 213
    smart life on #14994

    All coded worked as support.

    Can you please give a snipped code
    Make “Delete” button of “bunk action” in Notifications checked by defaul?

    Thanks

  • Participant
    Level: Master
    Posts: 213
    smart life on #14982

    Hi,

    1) It worked on case click on “read” button. It don’t work with click on view title link.

    2) Button:
    Read | Delete

    I found “|” classs is #text, but i tried to display:none
    ==> But it don’t work. How do i success delete “|”

    Thanks

  • Participant
    Level: Master
    Posts: 213
    smart life on #14789

    Hi how is the plugin processing going on?