Skip to:
Content
Pages
Categories
Search
Top
Bottom

Default Theme Issues – HELP! :)


  • belogical
    Participant

    @belogical

    On my site I only allow one theme, the same as the home page theme to keep things seamless. When I upgraded my beta site to buddypress, all the existing blogs are still on the old theme (problem #1). When I log in as one of my test users, or a new user, then manually change them to the default buddypress theme, none of the links (Blog, Members, Groups, Blogs) work on their home page (BIG problem #2). I get: “Sorry, that page was not found, The page you were looking for was not found”

    Can someone shed some light on either problem for me? Any easy way to fix #1 or why #2 is behaving this way.

    I am running WPMU 2.7.1 and BP 1.0

    FYI, all the links on the home page work fine.

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

  • Burt Adsit
    Participant

    @burtadsit

    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?


    belogical
    Participant

    @belogical

    All blogs used to be using /themes/fourWPTPv2 (another them outside of buddypress)

    The rest is correct!


    belogical
    Participant

    @belogical

    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?


    Burt Adsit
    Participant

    @burtadsit

    No, it’s not designed to be used other than in a single instance on whatever blog you define to be the ‘home’ blog.


    belogical
    Participant

    @belogical

    doh!


    dainismichel
    Participant

    @dainismichel

    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.


    Sushubh
    Participant

    @sushubh

    hah. i was also looking for this same thing. i would have also liked to have the buddypress theme activated for all individual blogs.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    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.


    Kunal17
    Participant

    @kunal17

    John,

    Just checked out delsolownersclub.com. Really like the way all parts of the website are well integrated (including the forum)


    dainismichel
    Participant

    @dainismichel

    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


    Kunal17
    Participant

    @kunal17

    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.


    belogical
    Participant

    @belogical

    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.


    Kunal17
    Participant

    @kunal17

    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?


    Kunal17
    Participant

    @kunal17

    I have started hardcoding links to the pages. How do I use the selected class? Can anyone include sample code for a hardcoded link?


    belogical
    Participant

    @belogical

    kunal17, use this for selected class:

    https://buddypress.org/forums/topic.php?id=1997


    dainismichel
    Participant

    @dainismichel

    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


    dainismichel
    Participant

    @dainismichel

    …really would love to learn from folks who are able to do this…


    dainismichel
    Participant

    @dainismichel

    …still in the dark here…


    dainismichel
    Participant

    @dainismichel

    …still thinkin’ some more info might come from ya’ll out there…


    Jeff Sayre
    Participant

    @jeffsayre

    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.


    dainismichel
    Participant

    @dainismichel

    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.

Viewing 22 replies - 1 through 22 (of 22 total)
  • The topic ‘Default Theme Issues – HELP! :)’ is closed to new replies.
Skip to toolbar