Skip to:
Content
Pages
Categories
Search
Top
Bottom

If custom theme then buddyPress must have…


  • Burt Adsit
    Participant

    @burtadsit

    I lost track of who had the problem. Was browsing around the forum and the demo earlier and saw an offer for a cup of coffee. Somebody with the blog ‘Spirituality Modified’. Can’t find you again. Well, here’s the answer:

    If you are running any theme but the buddypress home theme then ya have to copy plugin-sidebar.php and plugin-template.php from themes/buddypress-home to your recently activated theme.

    If you are getting 404 and it’s not finding any content when you activate your theme then the solution is to copy *your* theme’s index.php to a file called home.php within your theme’s folder.

    bp expects home.php to exist and the plugin*.php files are to access some things within a custom theme using that theme’s header, footer, sidebar.

Viewing 12 replies - 1 through 12 (of 12 total)

  • Andy Peatling
    Keymaster

    @apeatling

    Yes, any theme you use with BuddyPress will need a plugin-sidebar.php and plugin-template.php file. It’s used to add dynamic functionality and new pages to the theme without having to drop in new template files. The settings menu and pages are examples of this.

    I take a look at why it is requiring a home.php, this shouldn’t be happening.

    The post you were referring to is: http://chriscarter.testbp.org/2008/11/07/mu-works-but-bp-isnt/


    chriscarter
    Participant

    @chriscarter

    Ok, I’m back to the BuddyPress Home theme 0.4 so you can look (spirituallymodified.com) and it’s just a garbled mess. The theme is there but, I don’t know, it’s not being rendered correctly. I’m no expert so I’m not sure what’s causing this problem.

    Since you asked in another place, Burt, MU installed great and worked as it should. I made sure to check it out before installing BP. Sorry but no cup of coffee for either of you gents, yet. :)


    Andy Peatling
    Keymaster

    @apeatling

    Looks like everything but the permissions is working. Basically you need to

    chmod 755 wp-content/themes/buddypress-home

    chmod 755 wp-content/themes/buddypress-member


    Andy Peatling
    Keymaster

    @apeatling

    The home.php requirement should be fixed in r521+


    chriscarter
    Participant

    @chriscarter

    Andy, those folders are 755. Always have been. I’ve tried re-uploading the theme, too, but to no avail.


    Andy Peatling
    Keymaster

    @apeatling

    Your CSS is getting a 404 – is this where it is?

    http://spirituallymodified.com/wp-content/themes/buddypress-home/style.css


    chriscarter
    Participant

    @chriscarter

    Huh. Ok, yes, that’s exactly where the css file is. However, style.css is set to 600. In fact, all files within /buddypress-home/ are chmod 600 while the two directories within /buddypress-home/ are 755. Again, the theme directory itself is 755. That’s not right, is it? What should all the files be?


    Burt Adsit
    Participant

    @burtadsit

    Mine are set at 644 and are working ok. I’m runnin wpmu 2.6.2, as I saw no point in introducing another headache until 2.7 is out.

    It’s the admin bar that’s trashed. It’s being served out of ../mu-plugins/bp-core/

    What ya got for permissions under there. The images and css dirs?


    Andy Peatling
    Keymaster

    @apeatling

    Looks like you are close. You need to do the same on the images directories and the javascript dirs too.


    chriscarter
    Participant

    @chriscarter

    How is everything looking now? I went through and changed everything to 755, as it was all set to 600. There’s still 1 dead link on an image but I think everything else is as it should be?


    Andy Peatling
    Keymaster

    @apeatling

    Check all your plugin files too. For example:

    http://spirituallymodified.com/wp-content/mu-plugins/bp-core/css/directory-members.css

    http://spirituallymodified.com/wp-content/mu-plugins/bp-core/css/admin-bar.css

    are still returning 404’s. I’d just 644 everything you uploaded.


    chriscarter
    Participant

    @chriscarter

    Good call, Andy. All the files within the folders were set at chmod 600, too. Any idea why this happened? I’ve never run into this problem before now. Anyway, I’m pretty sure everything is looking and operating as it should. Would you mind taking a quick look? One last thing. I need to know where to send your cup of coffee as my thanks. PayPal?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘If custom theme then buddyPress must have…’ is closed to new replies.
Skip to toolbar