BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › WC4BP Integration
- This topic has 6 replies, 3 contibutors, and was last updated 8 years, 8 months ago by Anonymous.
Question
February 29, 2016 at 7:25 pm #60831@davejayHi Buddyboss,
I’m hoping to use Themekraft’s great plugin “Woocommerce for Buddypress” to integrate users WC data on the BP profile page. Functionally, it works fine. But there are presentation issues in Social Learner.
Both the “shop” and “downloads” tabs display edge-to-edge with no margins or styling (see screenshot). I’ve tried using the plugin’s page template selector, but it has no effect. I’ve also tried targeting these page elements with CSS, but there appear to be no classes or IDs to hook into…
I’ve contacted the plugin developer, but I’ve not yet heard back. I know it’s not your product, but Buddyboss does recommend it, and it’s currently running on your own site. Do you guys have any suggestions on how to fix this problem?
Thanks!
Answers
March 2, 2016 at 10:37 am #61119@davejayI’ve just heard from the developer, and he’s looking into the problem. I’ll post what happens here.
March 2, 2016 at 1:12 pm #61134@mln83Thanks for the update. Info is much appreciated 🙂
Btw I am curious – how did you manage to hide the tabs (Activity, Forums, Groups, Notifications, etc)?
Best regards,
MichaelMarch 2, 2016 at 1:54 pm #61142@davejayMichael, “Forums” is hidden because I don’t have bbPress active on my site. “Groups” is hidden because I haven’t attached any groups to my courses. “Notifications” and “Activity” are hidden because I’ve deactivated those components in BP settings.
Social Learner throws a fatal error when “Activity” is disabled. To prevent that, I commented-out line 162 in social-learner/buddypress/members/single/member-header.php
March 2, 2016 at 1:59 pm #61143@mln83Cool – thanks for clearing that up. My curiosity has been satisfied 🙂
March 3, 2016 at 10:20 am #61312@davejayHi folks,
So I heard back from Themekraft (the developer of WC4BP), and they’ve identified a bug in Social Learner that interferes with their plugin.
Basically, there’s a repeating ID on the profile page. Profile navigation is wrapped in a
div
with the ID “item-body”. Thisdiv
can be found in boss/buddypress/members/single/home.php on line 25.Inside this div, however, is another
div
with the ID “item-body” which contains the content for the profile page. Thisdiv
can be found in social-learner/item-one-template.php on line 8.There shouldn’t be two divs with the same ID on the same page. Further, the ID has the following CSS rule applied to it:
#buddypress div#item-body { padding-left: 70px; padding-right: 70px; box-sizing: border-box; padding-bottom: 40px; }
, which is getting applied to both instances of the ID, and causing presentation trouble. If I change the firstdiv
ID to something else, the page layout problem with WC4BP resolves.Themekraft asked me to pass this along to you since they’re keen to have their plugin work well with Buddyboss themes.
Hope that helps.
March 4, 2016 at 6:25 am #61414@
AnonymousHi @davejay, Appreciate for your input over it..I have notified to developer to keep it in our future updates.
For now, you can add those css in your Boss. theme’s custom css option for quick fix.
Regards
- The question ‘WC4BP Integration’ is closed to new replies.