Search Results for 'buddypress'
-
Search Results
-
When I activate this plugin (ae global templates for elementor) my Buddypress pages go white. What can be done?
Topic: Buddypress Docs
I am looking for a document plugin for my buddypress 4.2 site any recommendation? I am on wordpress 5.1
Topic: Notifications not working
I created a new buddypress 4.2 site on the latest version of wordpress 5.1 . I have updated all plugins. Notifications does not work, any help on how i can troubleshoot this or is there a plugin i can use for notifications ?
Topic: profile field
Hi,
I’m using BuddyPress and the result that I’d like to reach is modifying a field in the user profile page (http://yourSite/members/userName). So far I’ve found bp_after_profile_content and bp_before_profile_content but what I want is affecting one field inside the profile_fields_content. I’m not using any custom field and I can’t find a solution. Does any of you have any idea? I’m in function.php of a child theme and my function so far is this one:function get_member_field_test($data){
$data = bp_get_member_profile_data( ‘field=lname’ );
if ( strlen($data) > 3){
$data = substr($data,0, 3).’…’;
return $data;
}
}add_action(‘bp_before_profile_content’,’get_member_field_test’);thanks in advance
Topic: Notifications (OneSignal)
Hi,
I would like Onesignal to additionally notify users when a BuddyPress notification is activated.
There is an option for ‘Additional Custom Post Types’. (If this is not an option, is there another workaround)?Thanks in advance for the support!
Log:
PHP Warning: reset() expects parameter 1 to be array, boolean given in /site_path/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 3034Code: https://buddypress.trac.wordpress.org/browser/trunk/src/bp-core/bp-core-template.php#L3034
BuddyPress 4.2.0
WordPress 5.1.0
PHP 7.2.15-1+ubuntu16.04.1+deb.sury.org+1Trying to modify a block plugin for my website.
All is going well, but the “block” can be bypassed if the blocked user simply @-mentions the blocker-user. The blocker-user will then receive a notification/email from the “blocked” user.
So I’m trying to catch the notification/email prior to anything being sent. Then I’d compare user IDs and cancel it.
What function(s) should I be looking at?
I found this in bp-activity-notifcations.php but unsure if this is what I’m looking for, unless it is? Is this early enough to prevent the email too?
/** * Notify a member when their nicename is mentioned in an activity stream item. * * Hooked to the 'bp_activity_sent_mention_email' action, we piggy back off the * existing email code for now, since it does the heavy lifting for us. In the * future when we separate emails from Notifications, this will need its own * 'bp_activity_at_name_send_emails' equivalent helper function. * * @since 1.9.0 * * @param object $activity Activity object. * @param string $subject (not used) Notification subject. * @param string $message (not used) Notification message. * @param string $content (not used) Notification content. * @param int $receiver_user_id ID of user receiving notification. */ function bp_activity_at_mention_add_notification( $activity, $subject, $message, $content, $receiver_user_id ) { bp_notifications_add_notification( array( 'user_id' => $receiver_user_id, 'item_id' => $activity->id, 'secondary_item_id' => $activity->user_id, 'component_name' => buddypress()->activity->id, 'component_action' => 'new_at_mention', 'date_notified' => bp_core_current_time(), 'is_new' => 1, ) ); } add_action( 'bp_activity_sent_mention_email', 'bp_activity_at_mention_add_notification', 10, 5 );I’m trying to create a network where people ‘register’ for the services by submitting a Group. After the group is submitted, an invoice will be sent manually, and after it gets paid, the admin will manually change the Group to Public.
I’ve used this code snippet to skip the Group Settings Page when users submit their group (I don’t want them to be able to change it themselves).
But now, I’m trying to force all new Groups to be Hidden instead of the default value Public. I’ve edited the create.php, but that does not seem to work, I guess because the Group Settings page gets skipped. Is there a different way to set the default value to Hidden?
Kind regards,
Topic: rss group
Dear,
I noticed I had a problem 2 sites. When i created a Group in buddypress i noticed there was a button rss feeds. I clicked on it and it gave a red page with:
This page contains the following errors on line 6 at column6: XML declaration allowed onley at the start of the document. Below is rendering of the page up the First error.When I used controle U , I see indeed there is a white space and the code start at the 6th line with
<?xml version=”1.0″ encoding=”UTF-8″?>
I have this problem in 2 of my site. I don’t know how the problem was created. I deactivated all the plugins, I changed my generatepress theme with 2017 theme. I used the plugin: Fix my Feed rss repaire on 1 of my site. When i actived and go to Group –> RSS –> I see somethings new. I some codes with as title: THIS XML file does not appear to have any style information associated wit hit. The document tree is show below.Searching a bit around i found that it could be that my function.php has a white line problem. I didn’t find any, but to be shure i changed it back to the original.
Does anyone know what went wrong with RSS in buddypress groups and how could i fix this for 2 of my sites?
thank you?
nice dayTopic: New update problems
Hi
I have tested the new release 4.2.0 for BuddyPress.
But have problems with BuddyPress Members only integration with it. When we are logged in at a mozilla firefox browser then some links redirect to the login page even though I’m administrator and is logged in. But when logged in and click on the link with google chrome then it will just redirect to the page like it should, not the login page.