Search Results for 'wordpress'
-
Search Results
-
Topic: Users Not Able to Register
Recently updated my site to the newest WordPress and Buddypress updates. Everything else seems to work fine but people are not able to register. The register page is there and user is able to fill it out but after hitting submit, it just refreshes the register page and the password section is highlighted. This happens even if a strong password was used. I’ve read previous threads about this who suggested making the subdomain folder title in lowercase. Didn’t work. Also someone suggested adding www. in wordpress url in settings. That kicked me out of the site to where my username and password would no longer work. Had to restore backup to get back into my site.
(I have a placeholder page on fabambitious.com currently because of issue)
Help anyone? I want to launch my site in few days….
Hi,
whenever i try to upload a group title image (background) i can choose the image, click upload, the progressbar runs… and when it’s done, i get the message, that there was a problem during the upload of the image.
I experience this problem even with twentyseventeen theme, with WordPress 5.0.3 and Buddypress 4.1.0 as the only activated plugin.
happens in live zieltraum.de (with more complex configuration) as in staging staging2.zieltraum.de
Help please, as i have no clue, what’s the reason š
Topic: New Topic Notification
Hi,
I have created a custom notification for my site when a post is published, the code used to do this is :-
// this is to add a fake component to BuddyPress. A registered component is needed to add notifications function custom_filter_notifications_get_registered_components( $component_names = array() ) { // Force $component_names to be an array if ( ! is_array( $component_names ) ) { $component_names = array(); } // Add 'custom' component to registered components array array_push( $component_names, 'publishpost' ); // Return component's with 'custom' appended return $component_names; } add_filter( 'bp_notifications_get_registered_components', 'custom_filter_notifications_get_registered_components' ); // this hooks to post creation and saves the post id function bp_custom_add_notification( $post_id, $post ) { $post = get_post( $post_id ); $author_id = $post->post_author; $blogusers = get_users( array( 'role' => 'staff' ) ); // Array of WP_User objects. foreach ( $blogusers as $user ) { bp_notifications_add_notification( array( 'user_id' => $user->id, 'item_id' => $post_id, 'component_name' => 'publishpost', 'component_action' => 'publishpost_action', 'date_notified' => bp_core_current_time(), 'is_new' => 1, ) ); } } add_action( 'publish_post', 'bp_custom_add_notification', 99, 2 ); /** * Format the BuddyBar/Toolbar notifications * * @since bbPress (r5155) * * @package bbPress * * @param string $action The kind of notification being rendered * @param int $item_id The primary item id * @param int $secondary_item_id The secondary item id * @param int $total_items The total number of messaging-related notifications waiting for the user * @param string $format 'string' for BuddyBar-compatible notifications; 'array' for WP Toolbar */ function custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) { // New custom notifications if ( 'publishpost_action' === $action ) { $post = get_post( $item_id ); $author_name = get_the_author_meta('display_name', $post->post_author); $custom_title = bp_core_get_user_displayname( $post->post_author ) . ' published a new post "' . get_the_title( $item_id ) . '"'; $custom_link = get_permalink( $post ); $custom_text = bp_core_get_user_displayname( $post->post_author ) . ' published a new post "' . get_the_title( $item_id ) . '"'; // WordPress Toolbar if ( 'string' === $format ) { $return = apply_filters( 'publishpost_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link ); // Deprecated BuddyBar } else { $return = apply_filters( 'publishpost_filter', array( 'text' => $custom_text, 'link' => $custom_link ), $custom_link, (int) $total_items, $custom_text, $custom_title ); } return $return; } if ( 'bbp_new_reply' === $action ) { $topic_id = bbp_get_reply_topic_id( $item_id ); $topic_title = bbp_get_topic_title( $topic_id ); $topic_link = wp_nonce_url( add_query_arg( array( 'action' => 'bbp_mark_read', 'topic_id' => $topic_id ), bbp_get_reply_url( $item_id ) ), 'bbp_mark_topic_' . $topic_id ); $title_attr = __( 'Topic Replies', 'bbpress' ); if ( (int) $total_items > 1 ) { $text = sprintf( __( 'You have %d new replies', 'bbpress' ), (int) $total_items ); $filter = 'bbp_multiple_new_subscription_notification'; } else { if ( !empty( $secondary_item_id ) ) { $text = sprintf( __( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), (int) $total_items, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) ); } else { $text = sprintf( __( 'You have %d new reply to %s', 'bbpress' ), (int) $total_items, $topic_title ); } $filter = 'bbp_single_new_subscription_notification'; } // WordPress Toolbar if ( 'string' === $format ) { $return = apply_filters( $filter, '<a href="' . esc_url( $topic_link ) . '" title="' . esc_attr( $title_attr ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $text, $topic_link ); // Deprecated BuddyBar } else { $return = apply_filters( $filter, array( 'text' => $text, 'link' => $topic_link ), $topic_link, (int) $total_items, $text, $topic_title ); } do_action( 'bbp_format_buddypress_notifications', $action, $item_id, $secondary_item_id, $total_items ); return $return; } } add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 1, 5 );How can i create the same for a new bbpress topic? iām thinking i need to change this code section but not sure how
// this hooks to post creation and saves the post id function bp_custom_add_notification( $post_id, $post ) { $post = get_post( $post_id ); $author_id = $post->post_author; $blogusers = get_users( array( 'role' => 'staff' ) ); // Array of WP_User objects. foreach ( $blogusers as $user ) { bp_notifications_add_notification( array( 'user_id' => $user->id, 'item_id' => $post_id, 'component_name' => 'publishpost', 'component_action' => 'publishpost_action', 'date_notified' => bp_core_current_time(), 'is_new' => 1, ) ); } } add_action( 'publish_post', 'bp_custom_add_notification', 99, 2 );I am using woffice as the theme, bbpress version 2.5.14, buddypress version 4.1.0 and the latest version of wordpress
Thanks
I had created a test user a few days ago. After I logged the test account out and attempted to log back in the next day, I was shown error messages.
The error messages I am receiving are the following:
“User does not exist” – when the user actually does exist
“Email already taken” – when I go to sign up with the email linked to the account they are responding to with “user who does not exist”
If I go to sign up a new test account with a different email, I’m not receiving the activation email – I’ve checked spam.
It just simply is not letting me register or login or do anything.
I’m so confused. I don’t understand.
Hi there,
I was trouble shooting already hosted live website which is already setup buddy press wall.
BuddyPress – Version 4.1.0
BuddyBoss Wall – Version 1.3.2
BuddyBoss Media – Version 3.2.2
BuddyPress Activity Filter – Version 2.0.0
Wordpress – Version 4.9.6And user can post on there friend profile and see the posted on user wall. But when mentioned user wall doesn’t display it. Any idea what will causing this issue.
But the wall post will notify and notification will be redirect site-wide-activity page display posts on that page, not on their wall.
Hi,
i’m using latest version of WordPress and Buddypress. All seems to work fine EXCEPT for the user visability settings. I have activated the option for users to allow to change it. but the only thing i get to see is 1 table with base / visibility ( and value everyone )
it is not showing this at all.

can someone help me please
ThanksWP V. 5.0.3
BP V. 4.1.0I have searched and found the following information on changing who notification emails are seen as coming from:
Filter From Address and Name
If you have been using the wp_mail_from or wp_mail_from_name WP filter, then you need to switch to this:add_action( ‘bp_email’, function( $email_type, $email_obj ) {
$email_obj->set_from( “custom@example.com”, “Custom Website Name” );
}, 10, 2 );Unfortunately, it isn’t clear where I am supposed to add this code. Can I access the file from the WordPress editor? Or, do I need FTP access to do this? Why is the from name and from address not an inline editing option on the WP backend?
Thanks,
JamesHi ! Here’s my problem : when I post something on the wall from a group, the post fails to be published and I just get this message : “Invalid post type”. My website was created 10 days ago and there’s nobody on it (that’s why I was trying to create content) so I don’t know about how this goes for the very few users I have. Kind of a pain, since the posts just completely disappear to let this message appear. I checked my settings and I could not find any parameter controlling some “Post Types”.
Hi use WP version 5.0.3, installed straight from Softaculous on Siteground, so probably as a directory. Unless the updates are automatic in WordPress, I don’t think I upgraded WP from 5.0.2 since I started creating my site later than the release of the latest version of WP. I had no issues with WP before downloading BuddyPress and I only had one problem after I had : weird display of messages with some code visible in some places of the page. I didn’t get to test much though since the site is very recent. I’m running BuddyPress Version 4.1.0. I didn’t upgrade it since I created the site. I have many plugins activated. Here’s the full list : Antispam Bee; bbp style pack; bbpress Version 2.5.14; BP Better Messages; BuddyDrive; BuddyPress Create Group Types; BuddyPress Follow; BuddyPress Global Search; BuddyPress Member Type Generator; BuddyPress Security Check; Contact Form 7; Events Manager; Flamingo; Footer Putter; GEO my WP; Loginizer; Nested Pages; Orbit Fox Companion; Post Types Order (supposed to deal with order?); SG Optimizer; Sitewide Newsletters; Super Progressive Web Apps; Query Monitor (recently downloaded, after noticing the problem); The GDPR Framework; TranslatePress – Multilingual; Wordfence Security; WP Statistics; Wpworx FAQ; YellowPencil Pro; Yoast SEO; Youzer. I have a few other installed but deactivated plugins. I am using the theme Orfeo by ThemeIsle, a child theme from Hestia if I remember correctly. I didn’t modify the core files and I don’t think I have custom functions.
I don’t know what system my server is running.Thanks in advance ????
My site has developed an issue since last updates where the friend request button no longer works. If I copy the link to a new tab it will trigger the event, but the button itself is no longer firing.
Using BuddyPress 4.1.0, WordPress 5.0.3
WordPress version 5.1.3
BuddyPress version 4.1.0
Divi version 3.19.11There should be a Register Link on the top right in the secondary menu area, right next to the Log In link. Both of these links should display when the user is logged off. I have also added them to the primary menu area just see if they would display there. Unfortunately, I only see the Log In link.
When I have the BP option “Show the tool bar for logged out users” checked, the register and log in links both display on the left above the secondary menu area.
Any thoughts about what I can try next?
Thank you
SueI have BuddyPress 4.1.0 and bbPress 2.5.14 installed on a WordPress 5.0.3
I already tried resetting the permalinks. I have not tried disabling and re-enabling all other plugins. I’m hoping it’s a simple fix.
I am having URL Rewrite issues.
This URL works and gets me to a page which lists all groups/my groups.
//example.com/groups/For testing, I log in as a user having the wp ‘subscriber’ role who is a member of one of the private groups listed.
I click on the group to which the user is a member and it takes me here:
//example.com/groups/regenerative-farming-discussion/forum/This is good. This is where I want the user to be. But on this page, the user has the ability to see how many other members are in this group and clicking the ‘members’ button should take the user to a page that lists only the members of that group. When I hover over the members button, the URL that displays is
//example.com/groups/regenerative-farming-discussion/members/but when I click on the members button, the URL I am taken to is
//example.com/members/which is a page that lists ALL the members. NOT what I want.
Similarly, if I’m logged in as a user and I go to the Members page (//example.com/members/), and I click on a member’s name, I’m taken to the member’s page:
//example.com/members/member_name/I see that this member belongs to 2 groups. I want to know which ones, so I should click on the tab that says “Groups (2)” to see which two groups the person belongs to. When I hover over that tab, the URL displayed is
//example.com/members/member_name/groups/but when I click on it I am taken here instead
//example.com/groups/which lists all the groups. NOT what I want.
What can I do to fix the errant rewriting of these URLs?
Hello,
I’m suffering in a really critical issue during a couple of days as when I set the WordPress pages permalinks plain (ID based ?p=123). BuddyPress does not support that URL format and passing a 404 error.
In the meantime, I couldn’t set the permalinks by post name due to the server issue. Except the BuddyPress pages, all the plugins and pages on the site are running accurately.Could you please help me solve this problem?
An urgent reply would be highly appreciated.
Looking forward to hearing from you
Thanks