Skip to:
Content
Pages
Categories
Search
Top
Bottom

Subdomain support in BP

  • Avatar of roydeanjr
    roydeanjr
    Participant

    @roydeanjr

    I am using the bp-groupblog plugin to create blogs for groups. When I click on a topic in the blog page of the group it takes me to a blog post of http://blogname.domain.com.

    All is well until I click Activity or some other normal tab in the header. I then get a Page not found message.

    Are subdomains supported by buddypress? Right now the header.php file uses site_url() and is generating blogname.domain.com rather than domain.com. What is needed to create links to domain.com OR make the links actually bring up activity for the group blog that I am viewing a post for?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Avatar of roydeanjr
    roydeanjr
    Participant

    @roydeanjr

    What am I missing? Did I post this to the wrong place? Does anyone have any possible answer to this question?

    Avatar of roydeanjr
    roydeanjr
    Participant

    @roydeanjr

    What am I missing? Did I post this to the wrong place? Does anyone have any possible answer to this question?

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    Right place, but there’s lots of people with questions here and only so many answers and time to answer them.

    I’m assuming that you’re using BP Default theme on a blog which is not the main blog on a WPMU install?

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    Right place, but there’s lots of people with questions here and only so many answers and time to answer them.

    I’m assuming that you’re using BP Default theme on a blog which is not the main blog on a WPMU install?

    Avatar of roydeanjr
    roydeanjr
    Participant

    @roydeanjr

    That is correct.

    In fact,

    - the main site is in the root folder,

    - sub-domains are the form chosen on install

    - I am using Group Blog

    - as a new group blog gets created it is in the form subdomain.domain.com for the blog, but all the group functions are in the form domain.com/groups/groupname/function

    So, . . . when I am viewing the “blog” all the buddypress links convert to subdomain(groupname).domain.com/activity, friends, forums, etc. and as such all return “page not found”

    I would think that buddypress would understand the stucture of my setup and would assume in the subdomain option that all blogs correspond to groups and as such show data and create links appropriately.

    Would that be the desired functionality for the plugin? Or is buddypress designed to operate in the context of a blog rather than the blog operating in the context of a group?

    Perhaps I am trying to do something that “should work”, but my method of accomplishing this may be flawed by using the Group Blog plugin?

    Avatar of roydeanjr
    roydeanjr
    Participant

    @roydeanjr

    That is correct.

    In fact,

    - the main site is in the root folder,

    - sub-domains are the form chosen on install

    - I am using Group Blog

    - as a new group blog gets created it is in the form subdomain.domain.com for the blog, but all the group functions are in the form domain.com/groups/groupname/function

    So, . . . when I am viewing the “blog” all the buddypress links convert to subdomain(groupname).domain.com/activity, friends, forums, etc. and as such all return “page not found”

    I would think that buddypress would understand the stucture of my setup and would assume in the subdomain option that all blogs correspond to groups and as such show data and create links appropriately.

    Would that be the desired functionality for the plugin? Or is buddypress designed to operate in the context of a blog rather than the blog operating in the context of a group?

    Perhaps I am trying to do something that “should work”, but my method of accomplishing this may be flawed by using the Group Blog plugin?

    Avatar of galaxy5
    galaxy5
    Participant

    @galaxy5

    i am experience the same problem, when created group blogs it will install to for example to http://www.example.com/groupblog1 as opposed to groupblog1.example.com, there is a flaw in the plugin ability to create subdomains, I don’t think you can change your buddypress structure for blogs to http://www.example.com/blogs once you have chosen which path to you, to my knowledge I don’t think you can go back and change it, unless someone knows how to, I would love to know

    If I remember correctly, previous BP versions always had separate themes for BP members’ blogs. The Default BP theme was only a theme for the main blog of your BP installation. The members’ blogs would typically default to Kubrick (a regular WP theme, not a BP theme). Now, if you’re activating a BP theme for your members, then it would seem logical that it would try to pull all your links through a relative path in the navigation (ie. broken links), as that is how BP calls its nav list items. A suggestion that I had made to someone else — and forgive me if there’s a better way of doing this, since this is clearly sort of a *hack* way of going about it — would be to duplicate whichever BP theme you’re using and then using a custom header, which has all the correct links (hard-coded) in the navigation. This theme would then be used for all BP members’ blogs.

    Avatar of Andrea Rennick
    Andrea Rennick
    Participant

    @andrea_r

    Nope, that;s the way to do it.

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

You must be logged in to reply to this topic.