Replies
- Tosin on April 24, 2019 at 8:30 am in reply to: [Resolved] Activity confirm action support for confirm bp action plugin #22546This reply has been marked as private.
- Tosin on April 23, 2019 at 3:48 pm in reply to: [Resolved] Activity confirm action support for confirm bp action plugin #22542
Hello
I just tried the code but it did not work.
- Tosin on April 23, 2019 at 11:03 am in reply to: [Resolved] Activity confirm action support for confirm bp action plugin #22531
Hello,
I just found out why it’s not working, I am using a custom code in my bp-custom.php file
function bpdelete_remove_activity_delete_text(){ $url = bp_get_activity_delete_url(); $class = 'delete-activity'; $link = '<a href="' . esc_url( $url ) . '" class="button item-button bp-secondary-action delete-activity confirm no-ajaxy fas fa-trash-alt" rel="nofollow">' . __( '', 'buddypress' ) . '</a>'; return $link; } add_filter('bp_get_activity_delete_link', 'bpdelete_remove_activity_delete_text' );
How can I make it work while using this code
Thanks
- Tosin on April 23, 2019 at 9:46 am in reply to: [Resolved] Activity confirm action support for confirm bp action plugin #22529
Hello,
Thanks for the update but after installation I noticed that the confirm actions for activity delete is still not working, I was able to delete several activity updates without buddypress asking me if I was sure about deleteing them.
Thanks
- Tosin on April 15, 2019 at 11:44 am in reply to: [Resolved] Activity confirm action support for confirm bp action plugin #22293
Hello Ravi,
I will be expecting your feedback on this topic this week. Have a great day.
Thank you
Tosin - Tosin on April 11, 2019 at 9:02 am in reply to: [Resolved] Activity confirm action support for confirm bp action plugin #22180
Ok thank you will be expecting your feedback
I got it to work with this code
function bpdelete_remove_activity_delete_text(){ $url = bp_get_activity_delete_url(); $class = 'delete-activity'; $link = '<a href="' . esc_url( $url ) . '" class="button item-button bp-secondary-action delete-activity confirm fa fa-trash" rel="nofollow">' . __( '', 'buddypress' ) . '</a>'; return $link; } add_filter('bp_get_activity_delete_link', 'bpdelete_remove_activity_delete_text' );
Thanks for the hint,have a great day
- Tosin on March 25, 2019 at 11:55 pm in reply to: How to display default wordpress login error message inside theme #21681
Hello Brajesh,
I am using wp-login.php and not a custom login page.
I am using the Klein theme which has a login button in the theme header and this button appears on all pages and post to logged out users, when the button is clicked a popup login modal box appears.
When you try to login with the popup login box/form and not wp-login.php page with incorrect login credentials. The whole page reloads without login being successful, now the problem is that after the page reloads there is no error message informing the user why his/her login failed.
I want to call the same error message that appears in wp-login.php inside the theme, so that users will always see an error message when their login fails irrespective of user login either through wp-login.php or the site’s homepage.
It is not compulsory for the error message to appear as a buddypress notice I was using this as an example.
Thanks
- Tosin on March 25, 2019 at 9:00 am in reply to: How to display default wordpress login error message inside theme #21667
Any feedback sir
thank you