Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 91 total)
  • Avatar of peeld
    peeld
    Participant

    @peeld

    Just wanted to see if somebody could help me out with the code above – I put it in bp-custom.php and it throws this error:

    `Fatal error: Cannot redeclare bp_has_forum_topic_posts() (previously declared in /home4/mysite/public_html/classroom/wp-content/plugins/bp-custom.php:60) in /home4/mysite/public_html/classroom/wp-content/plugins/buddypress/bp-forums/bp-forums-template.php on line 1131`

    Thanks much :)

    Avatar of peeld
    peeld
    Participant

    @peeld

    The code here works:
    `/* Redirect BP group to forum tab rather than activity tab */
    function redirect_group_home() {
    global $bp;
    $path = clean_url( $_SERVER );
    $path = apply_filters( ‘bp_uri’, $path );
    if (bp_is_group_home() && strpos( $path, $bp->bp_options_nav[$bp->groups->current_group->slug] ) === false ) {
    if ($bp->groups->current_group->is_user_member || $bp->groups->current_group->status == ‘public’) {
    bp_core_redirect( $path . ‘forum/’ );
    }
    }
    }
    function move_group_activity_tab() {
    global $bp;
    if (isset($bp->groups->current_group->slug) && $bp->groups->current_group->slug == $bp->current_item) {
    unset($bp->bp_options_nav[$bp->groups->current_group->slug]);
    }
    }
    //The following line redirects to a group forum page rather than a group activity page
    add_action(‘bp_init’, ‘redirect_group_home’ );
    //The following line removes the group activity tab entirely
    //add_action(‘bp_init’, ‘move_group_activity_tab’);`

    However, it renders the activity update button useless (i.e. can’t post activity updates in a group!). Removing the code from bp-custom makes group activity updates work, putting it back in breaks activity updates :( Any hints?

    Avatar of peeld
    peeld
    Participant

    @peeld

    So, you could use a plugin like PHP-Snippets, put the above code in a snippet, then use the shortcode in a widget to call it? Or, use PHP-Exec and put the code itself in a widget?

    Avatar of peeld
    peeld
    Participant

    @peeld

    I am using BP 1.5 and the docs counter does not seem to be updating properly for me either. I have docs that are associated with multiple groups, so I’m not sure if that is the issue, or if it is a theme issue, or..?

    Avatar of peeld
    peeld
    Participant

    @peeld

    Search coming back?

    Avatar of peeld
    peeld
    Participant

    @peeld

    I deactivated the following plugins to see if any were causing a conflict, no help:

    BP Docs (Boone’s)
    BP Edit Group Slug
    BP Group Email Subscription

    Daisy

    Avatar of peeld
    peeld
    Participant

    @peeld

    Hi there,

    I still cannot DISable courseware on an existing group. I have deleted the BP Group Documents plugin (the one not by Boone Georges), but still have Boone’s BP Docs running. I have BP 1.5.3.1 and WP 3.3.1.

    Please, can you help? I would really like to have Courseware on some groups and NOT on others. When I try to go in to my group, in the admin tab, and click on courseware (which I’ve renamed Assignments), it takes me to this url:

    `http://classroom.daisypeel.com/classes/any-group-name-here/admin/courseware`
    and that is a page not found.

    I try changing classes to groups, still doesn’t work. I try changing courseware to assignments (thinking it’s a localization issue as I’ve renamed courseware to assignments), that doesn’t work. Please help and thanks in advance :)

    BTW the video at Coursewa.re does not address this issue, I have watched it already :)

    thanks!

    Avatar of peeld
    peeld
    Participant

    @peeld

    Any support on this? Thanks

    Avatar of peeld
    peeld
    Participant

    @peeld

    I have gone through the video at Coursewa.re and do not see where I have done anything wrong. I have set it up as instructed. Please help :(

    Avatar of peeld
    peeld
    Participant

    @peeld

    Yeah, I’ve already done that – BP is already using a custom page for ‘classes’ – you shouldn’t need the ‘page links to’ plugin any more…?

    Avatar of peeld
    peeld
    Participant

    @peeld

    BP 1.5.3.1
    Courseware 0.9.4
    WP 3.3.1

    I am very nervous about upgrading anything – not that courseware or bp or wp will break, but that something ELSE will come in to conflict :)

    thanks

    Avatar of peeld
    peeld
    Participant

    @peeld

    BTW I do have courseware in every group – I want to DISable it in some groups. Can’t do this because of the page not found error.

    Avatar of peeld
    peeld
    Participant

    @peeld

    This does not solve it for me. Can’t create a group and get access to the courseware under admin tab, even if group was created with bp docs off.

    Avatar of peeld
    peeld
    Participant

    @peeld

    Sorry to sound dense, but was there ever any resolution to this, or did I miss it above?

    Avatar of peeld
    peeld
    Participant

    @peeld

    I had this problem as well, and ended up disabling the plugin. I see it’s been updated so I’m going to give it another shot :)

    Avatar of peeld
    peeld
    Participant

    @peeld

    Ha, I removed it at one point and now can’t remember how to add it BACK :) I did it in the theme’s CSS somehow…

    Avatar of peeld
    peeld
    Participant

    @peeld

    I have this same issue, if I enter it manually it works fine.

    Avatar of peeld
    peeld
    Participant

    @peeld

    I am going to have to turn this plugin off, unfortunately. Even users who have their settings set to NO EMAIL are getting upwards of 50 emails an hour :(

    Daisy

    Avatar of peeld
    peeld
    Participant

    @peeld

    Yes, that’s how I’ve got things set up. Disabling BP Documents doesn’t affect inability to activate Courseware in recently formed group. If I enable global courseware, I can go in to the courseware tab on that group and edit the course information. It’s just this URL that doesn’t work, and it turns out it doesn’t work for ANY of my groups:

    http://mysite.com/classes/any-group/admin/courseware

    Avatar of peeld
    peeld
    Participant

    @peeld

    Yeah, that’s kind of what I thought. I took that line out of bp-custom.php

    Still can’t install Courseware in new groups but I’ll assume that’s a plugin conflict and see if I can find it. Will report back here.

    As for the donation, you’re welcome. Your plugin is a good one and well supported :) It’s worth it.

    Avatar of peeld
    peeld
    Participant

    @peeld

    I set the classes component to a page named Classes in the BuddyPress installation (new in 1.5). I still have in my bp-custom.php file this line:

    `define ( ‘BP_GROUPS_SLUG’, ‘classes’ );`

    The permalinks structure is a pretty permalink, not the old – are you suggesting I flush them and see if that solves the issue?

    Avatar of peeld
    peeld
    Participant

    @peeld

    Just created a new class, with BP Documents turned off, still get page not found when trying to access the Courseware tab on the group home admin section:

    http://classroom.mysite.com/classes/manners-minder-madness/admin/courseware
    Page not found.

    (groups have been renamed to classes)

    Avatar of peeld
    peeld
    Participant

    @peeld

    Do I need to disable BP Documents, THEN create the group, THEN enable Courseware?
    I ask because disabling BP Documents doesn’t allow for enabling of Courseware on a previously created group.

    Thanks for the quick response, BTW. I haven’t looked too hard, but do you have a DONATE button anywhere? I sure am enjoying your plugin. It has helped create a wonderful learning environment in my online classroom.

    Avatar of peeld
    peeld
    Participant

    @peeld

    Well, it seems that ONE plugin breaking it is BP Members Map :(

    Avatar of peeld
    peeld
    Participant

    @peeld

    I turned on error reporting and got this:

    Fatal error: Cannot access empty property in /home4/daisypee/public_html/classroom/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 693

    In that file, on line 693, is this:

    ` if ( isset( $bp->{$component}->root_slug ) &&`

    Which is part of:

    ` // Loop through active components and look for a match
    foreach ( $bp->active_components as $component => $id )
    if ( isset( $bp->{$component}->root_slug ) &&
    !empty( $bp->{$component}->root_slug ) &&
    $bp->{$component}->root_slug == $root_slug )
    return $bp->{$component}->name;

    return false;`

    Does that help solve my issue?

Viewing 25 replies - 1 through 25 (of 91 total)