Skip to:
Content
Pages
Categories
Search
Top
Bottom

If BBpress then, else

  • @gerikg

    Member

    WPMU+BuddyPress+BBpress

    How do you write the php code to say

    if in a bbpress side

    do this

    if wordpress (or else) do that.

    ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @kawauso

    Member

    Assuming you’re talking about deep integration of bbPress, you should be able to use one of the constants defined in the settings of WordPress MU / BuddPress to determine if bbPress is embedded or not.

    @gerikg

    Member

    but but.. I don’t know what that means! but I don’t need it anymore.

    @ashfame

    Participant

    If they are deeply integrated then you will have a hard time figuring this out as if you ask Is this is WP? WP will say yes and if you ask Is this is bbP? then bbP will say yes and if they are deeply integrated then both questions will return a yes.

    @gerikg

    Member

    Ah, thank you for clearing that up.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar