BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › Bug report – Boss & BuddyPress for LearnDash 1.0.4 / Social Learner 1.0.3
Tagged: various bugs
- This topic has 5 replies, 2 contibutors, and was last updated 9 years, 1 months ago by Michael.
Question
October 12, 2015 at 1:53 pm #48557@mln83In this forum topic I will report various bugs related to the latest release. I have installed ‘BuddyPress Docs 1.8.8’ to test how it works with the Social Learner.
crop_problem.png – When uploading a photo (image size: 1280 × 851px) I continue to get a warning that the image is smaller than 400 x 400px. I have disabled any image optimization plugins on my site so it seems like a bug in the current Social Learner theme/plugins.
docs_not_aligned.png – Docs tab not aligned. When clicking on ‘All Docs’ the user is referred to: group_photo_missing_new_menu_items.png – Notice that the group photo is missing and the menu items suddenly change. I would recommend refining this to make the user experience better.
Course_Teacher_without_added_widget.png – When clicking on the main course page first notice that the group course photo disappears. Again I would recommend refining this to either have a blue background all the time or a group photo. I have noticed that you have updated this on the Demo site but is this update still to be published?
Also notice that the Course Teacher (Course by) is shown on my site even though I have added no widgets for the LearnDash pages. How can I remove the course teacher? It seems like another bug to me.Answers
October 13, 2015 at 12:00 pm #48630@
AnonymousHi @mln83
Thanks for your effort and deep testing1) Please specify where you are trying to upload the image (crop_problem.png ) I need to replicate it first.
2) I have also checked the alignment but it seems fine to me
I have attached screenshot, please check for your custom css also once which might impact alignment
3) I have found ” All Docs | Started By Me | Edited By Me |My Groups ”
I have notified about it to developers4) Course_Teacher_without_added_widget is part of our design , we have intensionality added it by default to all courses , it will be displayed by default without adding any widgets. It’s hard coded with sidebar
Regards
Varun DubeyOctober 13, 2015 at 1:23 pm #48660@mln83Hi @vapvarun,
No sweat I just hope to have all the minor bugs fixed before I launch the site.1) Go to ‘Courses’ Click on ‘Create course’ -> In step 5. Photo (With BuddyPress Docs installed). I also checked when BuddyPress Docs is deactivated and I get the same cropped image warning.
2) I have cleaned the custom.css, cleaned cache and checked parsed HTML and CSS to make sure custom.css was not overwriting child theme stylesheet. I see from my version that the number of documents (Docs) are also missing (again checked HTML to make sure it wasn’t hidden by CSS display: none). It looks like you have this fixed in your version as well. Can you please check to see if you are testing this on a development version?
3) Ok. thanks.
4) Ok. Do you have any update on when the bug with changing cover photo / light-blue background will be fixed?
@pallavi mentioned that it should have been fixed in the development version: https://www.buddyboss.com/support-forums/topic/navigation-bugs-in-learndash-social-learner-1-0-3/Best regards,
MichaelOctober 15, 2015 at 3:33 am #48751@mln83Hi @vapvarun,
Any update on the testing?
Best regards,
MichaelOctober 15, 2015 at 6:17 am #48763@
AnonymousHi @mln83
I have check for crop functionality
it’s part of BuddyPress
and the Location you have found it was group not courses
“You have selected an image that is smaller than recommended. For best results, upload a picture larger than ”Please try to upload different size of image or consult in BuddyPress forums.
For Document alignment it was coding issue
It is also submitted to developer to fix itwp database prefix was hard coded with wp_ thus it was not reflected at my test setup.
need to modify bb_child_doc_menu_count_tabs function inside the buddyboss-inc/theme-functions.phpfunction bb_child_doc_menu_count_tabs() { global $bp, $wpdb; $numdocsposts = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE (post_status = 'publish' AND post_type = 'bp_doc' AND post_author='" . bp_displayed_user_id() . "' AND ID NOT IN (SELECT object_id as post_id FROM <code>{$wpdb->prefix}term_relationships</code> WHERE term_taxonomy_id IN (SELECT term_taxonomy_id FROM <code>{$wpdb->prefix}term_taxonomy</code> where taxonomy='bpdw_is_wiki')))" ); if ( 0 < $numdocsposts ) { $numdocsposts = number_format( $numdocsposts ); } $name = get_option( 'bp-docs-user-tab-name' ); if ( empty( $name ) ) { $name = __( 'Docs', 'boss' ); } $bp->bp_nav[ 'docs' ][ 'name' ] = $name . ' <span class="count">' . $numdocsposts . '</span>'; if ( bp_is_group() ) { $get_term_id = get_term_by( 'slug', 'bp_docs_associated_group_' . bp_get_current_group_id(), 'bp_docs_associated_item' ); if ( $get_term_id ) { $get_term_id = $get_term_id->term_id; $numdocsposts = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE (post_status = 'publish' AND post_type = 'bp_doc' AND ID IN (SELECT object_id FROM {$wpdb->prefix}term_relationships WHERE term_taxonomy_id='{$get_term_id}') AND ID NOT IN (SELECT object_id as post_id FROM <code>{$wpdb->prefix}term_relationships</code> WHERE term_taxonomy_id IN (SELECT term_taxonomy_id FROM <code>{$wpdb->prefix}term_taxonomy</code> where taxonomy='bpdw_is_wiki')))" ); if ( 0 < $numdocsposts ) { $numdocsposts = number_format( $numdocsposts ); } $slug = bp_get_current_group_slug(); $bp->bp_options_nav[ $slug ][ "docs" ][ "name" ] = '' . $bp->bp_options_nav[ $slug ][ "docs" ][ "name" ] . ' <span class="count">' . $numdocsposts . '</span>'; ; //$bp->bp_nav } } }
Regards
October 15, 2015 at 6:45 am #48766@mln83Hi @vapvarun,
Thanks for your thorough reply.
You are right I mistakenly said ‘Courses’ instead of ‘Groups’. Guess I was thinking to much about courses 🙂
Any news on the status of (4) – bug with changing cover photo / light-blue background?
It seems to have been fixed on part of the live demo site:
http://demo.buddyboss.com/social-learner-sensei/groups/the-creative-editing-group/Although here the light blue background again changes when clicking on menu items:
http://demo.buddyboss.com/social-learner-sensei/course/how-to-play-the-piano/Please try to click on menu item
Forum
in both cases.Best regards,
Michael
- The question ‘Bug report – Boss & BuddyPress for LearnDash 1.0.4 / Social Learner 1.0.3’ is closed to new replies.