Replies
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
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 sawdomain.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
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-activitywhat is correct code?
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
`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 6 years, 7 months ago by smart life.
How do i change return bp_core_get_user_domain( $user->ID ) . ‘all-activity’;
to custom url: domain.com/activity
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 6 years, 7 months ago by smart life.
- smart life on May 8, 2018 at 6:23 pm in reply to: [Resolved] Auto delete "already red" buddypress notification #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
- smart life on May 8, 2018 at 9:22 am in reply to: [Resolved] Auto delete "already red" buddypress notification #14982
Hi,
1) It worked on case click on “read” button. It don’t work with click on view title link.
2) Button:
Read | DeleteI found “|” classs is #text, but i tried to display:none
==> But it don’t work. How do i success delete “|”Thanks
- smart life on April 27, 2018 at 5:42 pm in reply to: BuddyPress Moderation – Report Users/Groups #14789
Hi how is the plugin processing going on?