Search Results for 'wordpress'
-
Search Results
-
Topic: 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: Actions not taken
Dear all,
I have BuddyPress installed 2.7.0 and bbPress 2.5.10, on WordPress 4.6.1.
I have a problem when a user delete an activity from their wall, it won’t be deleted, also when accepting a friendship nothing happens and the request still there not accepted and not rejected.
I reinstalled BB and BP but nothing new and same problems.Already tried to disable all plugins and changed to twentysixteen and the same problems happen in there.
I do not know if there are other problems or not as I just installed today and still trying to test as much as I can.
Thank youHi,
I’ve created two drop-down fields in xprofile and added one option each just to save them. In the registration page, their options are dynamically populated through jquery. Registration is always successful but when the option populated by jquery is selected, it is not being saved. While the option added when creating the fields is selected, it is being saved.
Is it really required to add all the options in the drop-down fields to be able to save it to the user’s extended profile?
Wordpress Version: 4.6.1
Buddypress Version: 2.7.0Hi, I’m not sure if I should be asking for help here, or over at Buddypress, so just let me know if I need to approach someone else.
I have downloaded Buddypress and BBpress to my site which is using X theme. It seemed to be working well until yesterday when I noticed a glitch. When I am logged in, and visit the various menu items on my page, some show me as being logged in, while others (mainly Home and Chat) show me as being logged out (when I’m actually logged in). Have you any ideas as to what might be going on here?
I created a tester user profile to test the site out, and the problem only seems to be arising on Safari. Firefox and Chrome seem to be working fine, and consistently show me as being logged in throughout the site.
Any help you might be able to offer would be much appreciated!
Using Buddypress Version 2.7.0 and WordPress 4.6.1.
My site can be found at http://mummytobe.co.uk
Many thanks,
Catherine