Search Results for 'buddypress'
-
Search Results
-
wordpress v 4.6.1
buddypress v 2.7.1I notice there is a ” 0 “ figure appearing anytime I post an update. this started occurring when i updated to the new version 2.7.1 but goes off when reverted to v2.7
The issue still occurs all themes been used
Please Help me fix this issue… Thank You
Hello,
All the Groups I create display this error across the Group Profile:
Warning: Creating default object from empty value in …wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 1122
Any idea what the issue is and how to fix it?
Thanks
I would like to include the post category with the author name and post title. I have looked all over and found a bunch of answers along these lines
$activity_action = sprintf( __( '%1$s added the post, %2$s in the categories %3$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>', get_the_category_list( ', ', '', $post->ID ) );I have tried using the various functions available for getting the categories but no luck. Worth noting is that the current Buddypress version is using
$actioninstead of$activity_actionand the rest of the arguments have been modified also.I tried adding
add_filter('wp_get_post_categories()', 'bp_blogs_activity_new_post_action');into my theme’s
functions.phpfile but nothing.What am I missing?
Thanks in advance.
Topic: Multisite question
I currently have 2 domains associated with my multisite install. One of the domains is mapped under the main domain. I have a different theme on each website, but I am wanting them to be synced with buddypress and users info. However, if I access my buddypress file on my secondary mapped domain it takes me to the BuddPress profile page on my main domain. Is there away to fix this, as I would prefer that users are taken to the particular theme BuddyPress profile page instead of only the main domains BuddyPress Profile page? So in other words, can you have the BuddPress profile information linked from both websites on the Multisite install, but allow users to access their profile settings within the website that they are on and not be redirected to the main websites profile page? Thanks
Hello,
I’m developing a website for my company and we’re trying to sync the assigned group data in buddy press with the user so when we go into mailchimp we can sort/partition our lists in mailchimp by the corresponding group.
The code we’re using to sync all the other data in extended profile is here, but my concern is that we can’t pull the group the same way because it’s not something that gets added in the extended profile. I’m almost certain that I can’t pull the group with these parameters because when i look in the database, there’s no user-ID tied to any group. However, when i go into buddypress groups there’s users assigned to them.
This is the function we’re using to sync:
add_filter( ‘mailchimp_sync_user_data’, ‘mailchimp_buddypress’, 10, 2 );
//Write the function
function mailchimp_buddypress( $data, $user ) {//Get user ID
$user_id = $user->ID;// Store Xprofile fields in the $data variable
$data[‘JOBTITLE’] = xprofile_get_field_data( 11 , $user_id );
$data[‘ORG’] = xprofile_get_field_data( 12 , $user_id );
$data[‘CITY’] = xprofile_get_field_data( 36 , $user_id );
$data[‘STATE’] = xprofile_get_field_data( 16 , $user_id );
$data[‘COUNTRY’] = xprofile_get_field_data( 18 , $user_id );
$data[‘PHONE’] = xprofile_get_field_data( 19 , $user_id );
$data[‘SALUTATION’] = xprofile_get_field_data( 3 , $user_id );
$data[‘GROUP’] = bp_get_current_group_id( 1 , $user_id );
//Return the data
return $data;}
Right now the last line “$data[‘GROUP’] = bp_get_current_group_id( 1 , $user_id );” outputs a “0”.
Thank you for reading! Hoping someone on here can help me.
Topic: MemberType Tutorials?
It seems all the videos I can find regarding setup of BuddyPress go through installing and very basic setup but I have yet to find any that go into structuring the social networking portion of the site and address things like the nuances of membertype and how to go about actually building the site. Does anyone know of any? Am I just really bad at searching?
Thanks, for your time,
KeithTopic: Group header file problems
Hi there!
2 problems with group header file after 2.7.0. update (and cleaning cache in server and in browser and re-logging in).
These are the versions I use:
WordPress Version: 4.6.1
PHP Version: 5.6.27
MySQL Version: 5.6.281.- I have a warning that I didn’t have before: “Warning: Creating default object from empty value in /home/…/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 1122”. I’ve hidden the warning but it’s not a solution.
This is the function on line 1122 of that file:
/** * Get a list of all a given group’s moderators. * * @since 1.6.0 * * @param int $group_id ID of the group. * @return array Info about group mods (user_id + date_modified). */ public static function get_group_moderator_ids( $group_id ) { global $wpdb; $group_mods = wp_cache_get( $group_id, ‘bp_group_mods’ ); if ( false === $group_mods ) { self::prime_group_admins_mods_cache( array( $group_id ) ); $group_mods = wp_cache_get( $group_id, ‘bp_group_mods’ ); } // Integer casting. foreach ( (array) $group_mods as $key => $data ) { $group_mods[ $key ]->user_id = (int) $group_mods[ $key ]->user_id; } return $group_mods; } /*************/2.- The problem is somewhere else: In line 33 of the group-header.php file (in groups/single/ ) we find this line:
if ( bp_group_has_moderators() ) :where “bp_group_has_moderators()” is giving a false “true” value as I don’t have moderators in any group but the code is executed saying “there are no moderators” so it should not execute in the first place.
I added this code to the file:
/* TMP ************************************************** */ echo “moderators: <br/>”; $tt = bp_group_has_moderators(); echo “<pre>"; var_dump( $tt ); echo "</pre>“; /* *************** */And this is the result:
array(1) { [0]=> object(stdClass)#5165 (1) { [“user_id”]=> int(0) } }Does it bring any light?
Hi. I’m trying to implement a WordPress/BuddyPress ‘membership’ site that delivers online training via Learning Management Systems. Some of the candidate LMSs have limited integration with WordPress via their own plugins but a tonne of must-have features in their own LMS cloud app/website. (Unfortunately the WordPress LMSs like LearnDash etc aren’t functionally rich enough.) As such I wondered if It might be possible for BuddyPress to expose itself to Zapier.com Zaps with Zap.Actions (& maybe Zap.Triggers). For example when a Learner completes their LMS course and sends the event to Zapier.com, I’d like to create a Zap that uses this LMS.Course-Complete trigger to make a zap-action of ‘Log course completion [User] in BuddyPress Activity Stream.
Other triggers/events might be: Course-Enrolment[User]; Course-Pass/Fail[User]; Lesson-Complete/Pass/Fail[User]; Topic-Complete/Pass/Fail[User] & Quiz/Test-Complete/Pass/Fail[User].
Thoughts?
Look forward to any constructive replies, including any known work-arounds or tips to implement the functionality myself.
Regards, Neil
Hi. I’m trying to implement a WordPress/BuddyPress ‘membership’ site that delivers online training via Learning Management Systems. Some of the candidate LMSs have limited integration with WordPress via their own plugins but a tonne of must-have features in their own LMS cloud app/website. (Unfortunately the WordPress LMSs like LearnDash etc aren’t functionally rich enough.) As such I wondered if It might be possible for BuddyPress to expose itself to Zapier.com Zaps with Zap.Actions (& maybe Zap.Triggers). For example when a Learner completes their LMS course and sends the event to Zapier.com, I’d like to create a Zap that uses this LMS.Course-Complete trigger to make a zap-action of ‘Log course completion [User] in BuddyPress Activity Stream.
Other triggers/events might be: Course-Enrolment[User]; Course-Pass/Fail[User]; Lesson-Complete/Pass/Fail[User]; Topic-Complete/Pass/Fail[User] & Quiz/Test-Complete/Pass/Fail[User].
Thoughts?
Look forward to any constructive replies, including any known work-arounds or tips to implement the functionality myself.
Cheers, Neil
Hi,
Hope I put this in the right forum. I really need some help. I’ve been trying to figure this out for a couple of hours, and have searched forums & googled everything I can think of, but have not found an answer.
I’m running BuddyPress 2.7.0 and rtMedia 4.1.8 on WordPress 4.6.1 with a child theme of evolve 3.6.4. Here is a link to my site: https://d6collab.com/
Everything is working great as far as I can tell so far, except for one thing. I can’t upload media from the sitewide activity stream, even though I have that option enabled in settings. I can upload it from my profile activity stream with no problems, though. Any ideas on why there is an issue uploading media just from the sitewide activity stream? Any insight is greatly appreciated!
Thanks so much,
elleTopic: Topics open in REPLY mode
In my forum I can no longer read the original post in a topic. When clicking the link to view the topic it automatically loads the reply box if there are no existing replies, if others have replied all of those posts are visible. I’ve cleared my browser cache and cookies and also tried a different browser.
WP Version 4.6.1
Buddypress 2.7.0Topic: BuddyPress error
Hi everyone! I have installed buddypress plug in my website http://www.deutsches-casino-online.com/ but it makes 505 error problems
Please suggest me the solutions. Thanks in advance.
* Help *
Users on my site cannot upload their own profile picture and cover image?
I want my users to be able to change their profile and cover image just like facebook.
when a user trys to upload and image, error i get is:
An error occurred. Please try again later.I have:
option is selected ‘registered members can change ….’
tried different image sizes attributes…etc
tried different image formats
tried many different plugins to force profile picture
tried many different avatar pluginsi have not found a concrete answer anywhere.
What i have found is that if i change profiles to ‘Administrator’ they can change it.
BUT i cant have all my users Administrators.How can my users change their profile/cover image?
Hello everyone. Can anyone help me on this problem? “Group Admins” in the group page at the right side of the page does no adjust in mobile. Text direction is from top to bottom. Please see below a sample text direction of “Group Admins”.
“Gr
ou
p
Ad
mi
ns”By the way, how to attached a screenshot here from my computer?
Topic: Search button not working
I have created two different groups in buddypress with different member types . While searching in the group , the button doesnt work. The search list gets displayed on the change of dropdown but the button just refreshes the page but does not filter. I checked the code, everything seems ok , i havent changed anything in the templates
Where can be the issue?Topic: BP Profile Does Not Display
Hello,
I’m having trouble with a Buddypress Profile. The profile in question was the original Admin profile that created the site. Somewhere along the line, the Buddypress interface for the profile just stopped displaying. If I try to select “Profile” in the drop down menu, it just directs to the Home Page, but no BP profile. I can login and administer the page, there’s just no BP profile. I’ve deleted it and re-added it, from both WP back-end, and from the tables in My PHP Admin. I can also add other user profiles (including Admins) which function perfectly fine, including BP Profiles. I can even change the access level of this particular profile, but that doesn’t help. The problem is with this particular User ID. Normally it wouldn’t matter, and I’d just start another Admin profile, but this User ID is branded to the site so that Users can identify it’s the site owner. Any ideas what is going on? Thanks.