Plugin: BuddyPress ScholarPress Courseware

Join this plugin group to follow comments, support topics and reviews.

Courseware Sub-Nav Missing With Custom Theme (18 posts)

Started 1 year, 6 months ago by: nospheratt

  • Profile picture of nospheratt nospheratt said 1 year, 6 months ago:

    Hi Stas,

    I’ve been following your project for a while and I think it’s really awesome. :)

    Sadly, I’ve installed Courseware today and run into a problem. I use a custom theme, and when it is active, Courseware doesn’t have any sub-navigation items. It’s the same problem described here: http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/custom-theme-compatibility-and-courseware/

    To be sure it wasn’t a plugin conflict or something else in my installation, I have installed Courseware on a clean BP install, no other plugins besides BP Template Pack. Same results. It works with the default theme, but not with my custom theme.

    My custom theme works fine with several other BP components, and I’ve checked to see if it has all the bp hooks and template tags for groups home and header – it does. It’s not a CSS issue either, the code simply isn’t there.

    So, if you can give me any ideas about what can be causing this issue, or how can I do some more troubleshooting, I would be really grateful. :)

  • Profile picture of Stas Sușcov Stas Suscov said 1 year, 6 months ago:

    Hi, the secondary menus are handled by an action:

    http://github.com/scholarpress/buddypress-courseware/blob/master/groups/bpsp-groups.class.php#L128

    Make sure the theme has it.
    Also make sure there’s this template with the bp_before_group_body hook:

    http://trac.buddypress.org/browser/tags/1.2.6/bp-themes/bp-default/groups/single/plugins.php#L25

  • Profile picture of Stas Sușcov Stas Suscov said 1 year, 6 months ago:

    I should write a guide for ensuring compatibility with other themes. :|
    Thanks.

  • Profile picture of bizpod bizpod said 1 year, 6 months ago:

    That would be great, as I’ve had a lot of fun with the sub-nav and our theme ;)

  • Profile picture of nospheratt nospheratt said 1 year, 6 months ago:

    Stas, thank you so much. I’ll check the action and the hook and I’ll report back. :)

  • Profile picture of nospheratt nospheratt said 1 year, 6 months ago:

    Well, I’m SO happy. :)

    You’re right. My theme’s groups/single/plugins.php didn’t have these two lines:

    do_action( ‘bp_before_group_body’ )
    do_action( ‘bp_after_group_body’ )

    I just had to copy those to the appropriate places, and voilá! Courseware sub-nav is there. :)

    In case someone else need it, just copy lines 25 and 29 from:

    http://trac.buddypress.org/browser/tags/1.2.6/bp-themes/bp-default/groups/single/plugins.php#L25

    And paste them to the same place (before and after the line that says “do_action( ‘bp_template_content’ )”) to your plugins.php file, inside groups/single in your theme. :)

    Now I just have to tweak the CSS. Thank you very much, Stas! :)

  • Profile picture of Stas Sușcov Stas Suscov said 1 year, 6 months ago:

    Anytime sir, glad It worked that easy :)
    I’ll pin up this thread as sticky (at leas until the developer’s guide comes out).

  • Profile picture of Morgan-Jackson Morgan-Jackson said 7 months, 4 weeks ago:

    @nospheratt, thanks

    do_action( ‘bp_before_group_body’ )
    do_action( ‘bp_after_group_body’ )

    Worked perfectly.

  • Profile picture of Ingebjrog Ingebjrog said 7 months, 2 weeks ago:

    I think I have a similar problem with my install, it is behaving strange. Another problem is that the conversation here is like russian to me, so it doesn´t help. Is there any video tutorials on this to follow? I dont know where to find my themes groups/single/plugins.php and if I experiment I am afraid to derstroy my site…are there someone in here who can help…telling step by step how to do this? ( if video tuts is not existing)

  • Profile picture of Ingebjrog Ingebjrog said 7 months, 2 weeks ago:

    My problem is not the same, just figured it out. I have my the tags in the right place, so you do not need to answer my first question.

    But still have the issue. I use genesis connect and genesis theme + child theme. I have heard from others in the studiopress forum who have been succeful in installing the hole lot.

    Issue: The scholarpress looks strange and I cant upload videos etc. when I try to make a course. What can I do???

  • Profile picture of Josh Self xabbu1974 said 7 months, 2 weeks ago:

    I’m having some of the same issues with the Pagelines Platform custom template with Buddypress. Most of my other Buddypress features work fine. I installed Courseware and its looking like it is sort of working (I can add new courses and most of the other features WORK) but the interface looks NOTHING like the interface on the Plugin website. It is very clunky and scattered. I followed the above instructions to modify my plugins.php file but my template’s file looked just like the BP default theme’s plugins.php file (it already had the: do_action( ‘bp_before_group_body’ ) and do_action( ‘bp_after_group_body’ )) in it.

    For an example please look at my Courseware section on my site:

    http://beaphotopro.com/groups/beginning-photography/courseware

    Shouldn’t the interface look more like this?

    http://scholarpress.github.com/buddypress-courseware/img/screens/dashboard_student.png

    Or am I doing something wrong?

  • Profile picture of Stas Sușcov Stas Suscov said 7 months, 2 weeks ago:

    Hi,
    I have two requests for you guys:
    1. Please don’t ask me to fix your themes. Courseware is not a commercial product! Hire devs for that.
    2. Please don’t hijack the forum threads. Even if there is something I could help, I can’t if you will post posts about a bunch of off-topic subjects that I am not interested in (like Genesis stuff and other commercial frameworks). You not helping other users in this case too.
    Thanks.

  • Profile picture of Ingebjrog Ingebjrog said 7 months, 1 week ago:

    I apologize. I just thought the fact that I am not using buddypress template pack might be the reason for the layout problem I am facing in the BP scholar-press courseware.
    Great plugin… will implement it in my school if I can make it work.

  • Profile picture of Stas Sușcov Stas Suscov said 7 months, 1 week ago:

    @Ingebjrog please report back if template pack helped.

  • Profile picture of keyfound keyfound said 4 months, 3 weeks ago:

    i have a similar problem, i installed wordpress, buddy press than courseware and I can’t seem to see the courseware tab at all. I can’t use any of the funtionallity. Can someone please help me. Or give me a theme name where courseware could work? do i need to have a courseware.css file loaded in my theme? any help is appreciated. Thanks