Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 3 months, 4 weeks ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Potential issues with WP Multisite, BP Multi Network & CBOX theme

  • This topic has 11 replies, 3 voices, and was last updated 11 years, 10 months ago by Michael Scott.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • June 25, 2013 at 11:07 pm #2992
    Michael Scott
    Participant

    My apologies first … I’m a newbie.

    I have a WP Multisite & BuddyPress installation with the wonderful Commons In A Box (CBOX) theme.

    I am wanting to install the BP Multi Network plugin because I want to run with separated BP networks on specific WP subsites.

    There are two issues that I can see at the moment …

    As I have the CBOX theme in place, BuddyPress is a core component and therefore cannot be deactivated to allow for the installation of BP Multi Network. So it looks to me that I’ll need to de-install the CBOX theme (and then de-install/deactivate BuddyPress) in order to install the BP Multi Network plugin. Would you please confirm that this is the case?

    The second issue (and this may be the killer for my idea) is that even when I’ve installed WP Multi Network I may have problems with the (reinstalled) CBOX theme in that BuddyPress looks like it is installed across the network and there’s no option to specify specific subsites to (only) run it on which means that the value of BP Multi Network will be nullified.

    So it looks to me that in a WP MultiSite setup the CBOX theme and the WP Multi Site are essentially incompatible because of the need for CBOX to have BuddyPress as a core component.

    If I am correct in my thinking, is there any way around the issue as I really want to run with WP Multisite, the CBOX theme, BuddyPress and the BP Multi Network plugin?

    Thanks … Michael Scott

    June 27, 2013 at 9:55 pm #3018
    Boone Gorges
    Keymaster

    Hi Michael – Your basic understanding is correct. We have not built Commons In A Box with BP Multi-Network in mind, and you’re correct in your take regarding activating/deactivating plugins, etc.

    However, I think you’ll be able to work around this by activating our “expert mode”, which unhides our supported plugins from wp-admin/plugins.php. That means you’ll be able to deactivate BP etc in order to enable Multi-Network mode, and you’ll be able to activate BP as needed on individual sites. Put the following in your wp-config.php file:


    define( 'CBOX_OVERRIDE_PLUGINS', true );

    June 27, 2013 at 11:31 pm #3019
    Michael Scott
    Participant

    Hi Boone,

    Thank you very much for responding to my questions and giving me define( ‘CBOX_OVERRIDE_PLUGINS’, true );.

    I have to apologise because it looks like I’m doing something wrong … I’ve added the statement in wp-config.php  …

    define(‘WP_DEBUG’, false);
    define( ‘SUNRISE’, ‘on’ );
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    define(‘DOMAIN_CURRENT_SITE’, ’causeinternational.com’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    define(‘CBOX_OVERRIDE_PLUGINS’, true);

    /* That’s all, stop editing! Happy blogging. */

    … and, after loggin back into WP Admin, there seems to have been no change in terms of deactivating BuddyPress – please see the attached screen shot.

    Just to fill you in on what I’m trying to build … Australia has 600,000+ non-profit organisations and I’m wanting to set up a Multisite & BuddyPress website to fund and support each and every non-profit that the each could potentially have its own subsite and separate BuddyPress network.

    Thanks again Boone and I hope I’ve not done something stupid (like a newbie would do).

    Best regards … Michael

    June 27, 2013 at 11:38 pm #3020
    Michael Scott
    Participant

    Looks like that attachment didn’t happen …

    June 27, 2013 at 11:56 pm #3021
    Michael Scott
    Participant

    Sorry Boone,

    Yep … I’ve confirmed that I’m a newbie … BuddyPress activation/deactivation appears on the Other Network Plugins list, not with the CBOX Network Plugins list! Got it!

    Sorry … and thanks again.

    One more question.  The BP Multi Network plugin installation instructions refer to http://wpmututorials.com/news/new-features/multiple-buddypress-social-networks/ for the modification of the bb-config.php file.  On that web page it says to “install the latest version of BuddyPress trunk “.  The support guys at WPMU Dev have suggested to me that this might not be required as the tutorial was written back in May, 2011.  So would you please tell me if I still need to install the BuddyPress trunk (and how on earth do you install a trunk)?

    Apologies again for my newbie-ness.

    Thanks, and best regards … Michael

     

    July 1, 2013 at 7:37 am #3032
    Michael Scott
    Participant

    Hi Boone and others,

    I am encountering the situation with wanting to use the home page slider, but I have so Site Features entry/option available to me on my subsite’s dashboard.

    Is there a way that I’m meant to activate it?  I’ve selected Show Site Features in the Slider Setup, but there’s no Site Features available for me to set up the slider content.

    Sorry if this is a result of my newbie-ness.

    Thanks … Michael

    July 1, 2013 at 2:29 pm #3033
    Ray
    Keymaster

    Hi Michael,

    This appears to be a bug with the CBOX Theme.

    I have filed a bug report here:
    https://github.com/cuny-academic-commons/cbox-theme/issues/156

    We’ll most likely address this soon and when we do, I’ll post an update to this forum thread.

    July 1, 2013 at 3:28 pm #3038
    Ray
    Keymaster

    Hi Michael,

    Just looked into the homepage widget / slider issue and this has been fixed in the latest commit.

    This will makes its way into the next CBOX update, but if you cannot wait until then, take a look at the changes:
    https://github.com/cuny-academic-commons/cbox-theme/commit/181f6662a1e005b037f466c7727892dbe8ca948d

    And if you feel comfortable, you can manually apply those changes yourself.

    July 1, 2013 at 6:05 pm #3041
    Michael Scott
    Participant

    Hi Ray,

    Thanks very much for the fix.  As I’m on a tight deadline to complete the website content for an early-July launch, I’ll apply the code changes.  Luckily, while I’m in no way a web developer, I have written 1million+ lines of code in my life so I’m comfortable cutting and pasting the PHP code that’s been supplied.

    Thanks again, and best regards … Michael

    July 1, 2013 at 7:58 pm #3043
    Michael Scott
    Participant

    Hi Ray,

    One question:  I have the parent CBOX theme (untouched) installed on my web server with a template child theme (with parent_theme = “cbox-theme”) that I want to use in my primary site as well as the main subsite that I’m focussing on.

    So, with the changes to setup-cbox.php and sidebars-cbox.php detailed at https://github.com/cuny-academic-commons/cbox-theme/commit/181f6662a1e005b037f466c7727892dbe8ca948d, do I make the changes in the parent CBOX theme or the template child theme, or both?  I’m assuming that I should make the changes to the parent CBOX theme, but I’ll wait to hear from you before making any changes.

    Thanks again, and best regards … Michael

    July 3, 2013 at 5:09 pm #3065
    Michael Scott
    Participant

    Hi Ray,

    My newbie-ness showed up again.  I’ve applied the changes to the PHP files in the parent theme and all is well with the world again – at least for the moment.

    Thanks, and best regards … Michael

    July 6, 2013 at 8:11 pm #3104
    Michael Scott
    Participant

    Hi Ray,

    I don’t know if the issue I’m having is associated with the most recent fix that removed the restriction that only the main site could utilize the homepage widgets and slider (thank you!).

    On my main subsite I don’t seem to have the ability to set up the CBOX Slider.  I have tried both approaches – using Option 1 (Show Site Features) and Option 2 (Show Featured Posts by Category) – as per the CBOX documentation, and neither appear in the slider area of the Home page even though I’ve created a relevant Feature/Page as per the instructions.  As well, I’ve changed the call-out text that get’s shown below the slider and that doesn’t appear either.

    Could this somehow be related to the recent fix, or is it related to my newbieness?

    Here are my Slider Settings:

    Slider Setup

    If you enable the slider you can choose what type of content you want to display. You can choose between displaying images or videos that you have added through the Site Features custom post type or showing images/videos from posts from a category of your choosing. If you choose the latter, there are some options you can set at the bottom of this page

    Current setting – Show Featured Post from a Category

    Slider Header

    The call-out text that get’s shown below the slider

    Current setting – “Test.”

    Slider Configuration

    The amount of time in seconds each slide shows

    Time in seconds: 5

    Transition time

    The transition speed in milliseconds

    Duration in milliseconds: 600

    Featured Slider Category

    From which category do you want to show posts? This ONLY works when your slider is set to to show Featured Posts

    Current setting – Slider (a category I created)

    Number of posts

    How many posts do you want to feature?

    Current setting – 4

     

    Please let me know if I’ve made a mistake or am missing something.

    Thanks, and best regards … Michael

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register