You are using the new bp home theme for *all* blogs?
All blogs are using /themes/bphome
All blogs used to be using /themes/buddypress-home
You have manually gone in to each blog’s Appearance > Theme menu and selected the bp home theme. Now the nav links return 404 on anything other than blog id 1.
Correct?
All blogs used to be using /themes/fourWPTPv2 (another them outside of buddypress)
The rest is correct!
As I think about this more, I might have made an incorrect assumption. I assumed that the home theme could be used for each new users home theme as well. Now looking at the demo site, it looks like Andy just used the home theme for the main site, then set the default theme as WordPress Classic.
Did I make an incorrect assumption, or was the home theme intended for all users default blog as well?
No, it’s not designed to be used other than in a single instance on whatever blog you define to be the ‘home’ blog.
Anyone have a decent “community theme” set up that works for member blogs? Willing to share?
Similar thread: https://buddypress.org/forums/topic.php?id=1632&replies=18#post-13349
The home theme is not designed to be activated on every members blog. You could create your own theme that brings in some BuddyPress features for each blog though. Users can actually add still add BuddyPress widgets to their blogs.
hah. i was also looking for this same thing. i would have also liked to have the buddypress theme activated for all individual blogs.
Like Andy said, the “Home” theme is really intended only for the “Home Blog” or the main blog that your website is responsible for. It’s intent is similar to a “portal” page for those of you familiar with phpNuke, vBulletin, etc…
Think of wordpress.com…
There’s a page there that shows all sorts of SITE WIDE content. Then you can drill down into users blogs, and see their specific blogs and themes. Exact same idea with the home theme.
Using the Home theme as a user blog will result in errors, because the “Members” and “Groups” and “Blogs” links don\’t exist under sub domains/directories.
For a “seamless” type of interaction, you will want to make a duplicate of your “Home” theme, call it “User”, edit the style.css to give it a new name, delete home.php, and edit the header.php file to use$bp->root_domain
in place of get_option('home')
This is what I did for http://delsolownersclub.com. You’ll notice that the user blogs look just like the home blog.
John,
Just checked out delsolownersclub.com. Really like the way all parts of the website are well integrated (including the forum)
Just replaced the 6 instances of get_option(‘home’) in header.php of my member blog theme with $bp->root_domain as described.
Don’t see any difference in the behavior of the site.
Really impressed with delsolownersclub wow. great work.
I’d love to turn this into a procedure for the community, but I don’t know how to do it yet. Stuck here too: https://buddypress.org/forums/topic.php?id=1632&page=2&replies=43#post-14553
Best,
Dainis
I did the same thing as Dainismichel and I too am seeing no difference (the links still goto subdomain.domain.com/members etc instead of to the root domain urls). Please help, I would rather not have to hardcode the links in.
guys, either way you will have to “touch” the code. this is your default theme that you are setting up for all blogs. if you make it your default theme for all users, you will just need to download the files, then upload after any future buddypress/wpmu upgrades. while i agree, i don’t like to hardcode links either, you are going to have to modify the code with something different than it is now either way. this theme that we are setting up isn’t a buddypress supported theme. we are just modifying the default home theme for our use.
BeLogical,
yes, it does look like the links will have to be hardcoded. I wonder what the best way to do it is to protect from future updates.
Can code be added to the bp-custom.php file to add links to the navbar?
I have started hardcoding links to the pages. How do I use the selected class? Can anyone include sample code for a hardcoded link?
Everyone keeps saying “hard code the links,” but I don’t know what to hard code the links to?
Can someone fill in the blanks?
Cheers!
Dainis
…really would love to learn from folks who are able to do this…
…still thinkin’ some more info might come from ya’ll out there…
Dainismichel-
Since this thread is marked as resolved, you should really start a new thread. However, I did notice one possible issue in your post:
John states that:
you will want to make a duplicate of your “Home” theme…
You then state in your post of a month ago:
Just replaced the 6 instances of get_option(‘home’) in header.php of my member blog theme
Obviously, John was talking about copying the home theme and then altering that copy. You have altered your member theme.
Hi Jeff, I did not notice that this was marked as resolved. I still don’t know how to create a buddypress install with a cohesive theme for members. I’ve been checking every week or so to see if someone may have answered my questions about what it is I’d need to hard code. I’ll check to see which theme I modified and I’ll see if that makes a difference. I’m still looking to distill a procedure out of this that I can follow and share with others. Best, Dainis
Thank you very much for responding. I really appreciate it.