Skip to:
Content
Pages
Categories
Search
Top
Bottom

Where BuddyPress declare the page to show?

  • Avatar of SGr33n
    SGr33n
    Participant

    @sgr33n

    Hi,

    I’m working on a plugin that show a different page_on_front if the user is not logged in.
    I don’t like to use any redirect because the url will not show the root of the site.

    So… I made it and works pretty good on WordPress, not on buddypress.

    I used the filter parse_query where I changed the query_var page_id… why doesn’t on BuddyPress?
    How BuddyPress manage the page to show?

    Please give me an help, I also tried to force the frontpage with bp_dtheme_page_on_front, but it doesn’t work :

    Thanks :)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    Are you saying if you set a BuddyPress page as the page-on-front, your code doesn’t work?

    Avatar of SGr33n
    SGr33n
    Participant

    @sgr33n

    Right paul,

    How can I correct this?
    Wanna look at the code?

    Avatar of SGr33n
    SGr33n
    Participant

    @sgr33n

    @djpaul please help me solving this :P I see that you managed some trac tickets about something similar, maybe bp_is_component_front_page is the key?

    Thanks :)

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

You must be logged in to reply to this topic.