WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Courseware
BuddyPress Courseware dependency error: forums has to be activated (10 posts)

  1. SiteDesignUSA
    Member
    Posted 10 months ago #

    Hello, and want to say this could be a great plugin. We need to get some funding behind this because it could be the next "printing press" or "cotton gin" in an education sense.

    I am getting this

    BuddyPress Courseware dependency error: forums has to be activated!

    ERROR

    I know this isn't tested on WordPress 3.6 or buddypress 1.8.1 but it needs to be brought up to date.

    It's looking for the builtin forum which is no longer in buddypress.

    I hope I get rich so I could invest in this plugin. Unfortunatly, I'll probably use Learndash for now.

    I think this plugin has much more of a vision and I hope development will resume soon.

    Thanks.
    -TJ

    http://wordpress.org/plugins/buddypress-courseware/

  2. RitaJoC
    Member
    Posted 9 months ago #

  3. Sketches of Euphoria
    Member
    Posted 9 months ago #

    Hello there,
    Having the same issue with the error.. have bbPress installed and activated. Not understand why a link to it would solve the issue.

    BuddyPress Courseware dependency error: forums has to be activated!

    Will this error be solved soon?
    Kind regards

  4. SiteDesignUSA
    Member
    Posted 9 months ago #

    @RitaJoC
    Thanks for the heads up, but Buddypress Courseware is looking for the old forum. I could keep running an old install of WordPress, but that isn't what this is about.

    Was hoping developers could add code to look for the new bbpress. That probably is going to mean major overhaul because WordPress and Buddypress keep changing and shifting.

    I looked at the code and it's over my head. I wish I could code at that level.

    Thanks again.

  5. sumazla
    Member
    Posted 8 months ago #

    I found out a solution for this. Download and install Buddypress plugin 1.6 from the plugins page. Now activate Courseware plugin. Again update the buddypress to the new version. You are done...

  6. lognic
    Member
    Posted 8 months ago #

    hello sumazla can you please tell me what version of Buddypress plugin worked for you ?

    1.6.5 (svn)
    1.6.4 (svn)
    1.6.3 (svn)
    1.6.2 (svn)
    1.6.1 (svn)
    1.6 (svn)
    1.6-RC2 (svn)
    1.6-RC1 (svn)
    1.6-beta2 (svn)
    1.6-beta1 (svn)

    thanks

  7. SiteDesignUSA
    Member
    Posted 8 months ago #

    Go ahead, hi jack my thread... Just kidding.

    I need this to work!

  8. sumazla
    Member
    Posted 8 months ago #

    Hi lognic, I first installed buddypress 1.6(svn). Then I activated the courseware. After doing that, I upgraded to current version of buddypress 1.8.1. Then the courseware tab is gone. To bring it back, you have to do the following:

    ` Go to /wp-content/plugins/buddypress-courseware/groups/groups.class.php
    Then, go to: line 44
    Add the following:
    if ( !isset( $bp->courseware ) || !is_object($bp->courseware)) {
    $bp->courseware = new stdClass;
    }
    Final result:
    function activate_component() {
    global $bp;
    if ( !isset( $bp->courseware ) || !is_object($bp->courseware)) {
    $bp->courseware = new stdClass;
    }
    $bp->courseware->id = 'courseware';
    $bp->courseware->slug = 'courseware';
    $bp->active_components[$bp->courseware->slug] = $bp->courseware->id;
    }

    It worked for me perfectly. Courseware is running without any error.

  9. ricardo_s
    Member
    Posted 7 months ago #

    I'm using WP 3.7 and BuddpyPress 1.8.1. I ran into the same error during activation of Courseware.

    Here's what I did to resolve the issue:
    -- Activated the Forums component via Settings > BuddyPress > Components
    -- Go to Retired Components, check Group Forums legacy
    -- Activated Courseware
    -- Php error thrown..
    -- Edited groups class.php using sumazla's suggestion above.

    Courseware now working without any error

  10. goldhat
    Member
    Posted 4 weeks ago #

    I can confirm fix above from ricardo_s works as it gets around the check for the legacy forums.

    I'd sure like to see this plugin brought back to working order and for development to continue. If it needs funding or contributions from developers let's get on it! Otherwise we're just letting all the premium learning system win without a fight, and I for one think having a true open source option that is comparable is worth fighting for.

Reply

You must log in to post.

About this Plugin

About this Topic