Plugin: BuddyPress ScholarPress Courseware

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

BP Multiblog (8 posts)

Started 1 year, 3 months ago by: joshmac

  • Profile picture of joshmac joshmac said 1 year, 3 months ago:

    It would be awesome if this plugin can work with define ( 'BP_ENABLE_MULTIBLOG', true ); defined for a multisite. If I use that line now, the error message states, “BuddyPress Courseware Error while forbidden user tried to add a new assignment.”

    This occurs when trying to add an assignment, add a schedule, Manage Bibliography or Update course.

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

    Hmm, I need to check this.
    To be honest, Courseware wasn’t really tested with BuddyPress(es) on a MU.

  • Profile picture of joshmac joshmac said 1 year, 3 months ago:

    @sushkov, thanks for checking on this. Even if there isn’t a quick hack, maybe a future version could include this possibility or maybe an option of having it function on a per site activation instead of sitewide or maybe both.

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

    Hmm, weird, I defined define ( 'BP_ENABLE_MULTIBLOG', true ); in my wp-config.php but everything works.
    Can you tell me more about your setup?

    Thanks.

  • Profile picture of joshmac joshmac said 1 year, 3 months ago:

    That is exciting to read. Well, I have activated the plugin sitewide and on one subblog, I created a group. Then logged out and logged in as the admin, and made the user that created the group, a teacher. Then I logged back in as the teacher, went to the group, clicked on Courseware, and then clicked create an assignment, and that is when I get the message “BuddyPress Courseware Error while forbidden user tried to add a new assignment.” My setup is pretty basic. Buddypress is installed sitewide, the plugin is installed sitewide, I am using subdomains, and the sites using courseware are using a BP compatible theme. As the super admin, I can create an assignment, but as the teacher, it states that I don’t have permission.

  • Profile picture of joshmac joshmac said 1 year, 3 months ago:

    @sushkov, disregard, I found the issue. I created another field call occupation and teacher was one of the options. This new field interfered with the teacher role, and that is what was causing the issue. Thanks for your help.

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

    Thanks for the report.
    I will consider moving from xprofiles to something better like usermeta.

  • Profile picture of joshmac joshmac said 1 year, 3 months ago:

    @sushkov, I think using xprofiles is fine and logical. Normally, I don’t think anyone creates duplicate fields like I did. I knew that was the issue once I realized that I mistakingly created fields that already exist.