Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 79,301 through 79,325 (of 94,575 total)
  • Author
    Search Results
  • r-a-y
    Keymaster

    The word “component” shouldn’t be tacked on…

    I just changed my permalinks to /%postname%/ and now WP posts do not return anything for $bp->current_component.

    Needs some investigating… but hopefully that helps somebody.

    thekmen
    Participant

    yeah, echoing it to see what’s returned & it returns the post/page name with component tacked on, heading in the right direction though.

    Using

    if ( bp_is_page( BP_ACTIVITY_SLUG ) ||  bp_is_page( BP_MEMBERS_SLUG )
    || bp_is_member() || bp_is_page( BP_GROUPS_SLUG ) || bp_is_group()
    || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_BLOGS_SLUG ) )

    still works fine, just would prefer an easier way & a way to make sure other components & plugins also work

    Thanks again.

    arezki
    Participant

    Thanks r-a-y: I wish it was that simple. I created a second site, the first was to stimulate interest around Worldcup South Africa slated for summer 2010. After that, I want to move those who joined into a community site, not related to sports, but broadly around national and cultural issues. So the idea is to retire the sports site but not the members… a bit weird but there is a good reason there.

    Cheers

    Arezki

    r-a-y
    Keymaster

    Hmm okay… i’m just testing this locally with a child theme of the default BP theme. I also haven’t upgraded to BP 1.2.1 on this test box.

    Are you echoing $bp->current_component to get these results – “a-post-with-everything-in-itcomponent” and “groupcomponent”?

    thekmen
    Participant

    I am getting component returned for all pages/posts, viewing a post returns something like a-post-with-everything-in-itcomponent

    viewing a group returns groupcomponent

    not getting numbers on any views, will try some more tomorrow, thanks a million for your help.

    #66583
    pcwriter
    Participant

    @Dwenaus

    Slight problem here: when on the blog creation page (Create a Blog from Blog Directory), group tags appear at the top of the page content. Oops!

    Any way to remove / hide this?

    I’m running WPMU2.9.1 and BP1.2.1 with default theme.

    r-a-y
    Keymaster

    I only tested the current_component on one WP page… okay just tested with one post.

    It returns a number if you’re on a WP post, so do a check for is_numeric.

    global $bp;
    if (is_front_page() || (isset($bp->current_component) && !is_numeric($bp->current_component)) ) {
    YOUR BP CSS/JS here
    }

    This is untested… but give it a shot.

    thekmen
    Participant

    @r-a-y, just checked the activity stream home page setting & you are correct, isset($bp->current_component returns false but still returns true when viewing normal WP posts & pages

    thekmen
    Participant

    Thanks @r-a-y, using

    global $bp;
    if (isset($bp->current_component)) {
    YOUR BP CSS/JS here
    }

    seems to load the BuddyPress stuff on normal WordPress posts & pages where as my longer version doesn’t, any other ideas?

    arghagain
    Participant

    I’m so happy that now I got activity problem solved which I had to follow the suggestion at http://premium.wpmudev.org/forums/topic/buddypress-upgrades-with-multi-db#post-28120. Unfortunately, I couldn’t solve the broken message problem where a member or even admin cannot send a private message to another member. Whenever trying to send a private message to a friend (which had been accepted as a friend already), I get this error “There was an error sending that message, please try again.”

    Anyone has any idea how to go about fixing the private message problem?

    ajohnson
    Member

    In the template for your main blog just hide it in the css is the easy way

    r-a-y
    Keymaster

    Look at the current_component.

    <?php global $bp;
    if (isset($bp->current_component)) {
    YOUR BP CSS/JS here
    }
    ?>

    The current_component should only return something if it is a BP page.

    [EDIT]

    Just checked the activity stream home page… it doesn’t return anything for that.

    You’ll need to add a conditional for that as well.

    #66573
    putnum01
    Participant

    ok that seemed to have fixed it. :) I think I was using a old version of the buddypress plugin.

    thekmen
    Participant

    Hi All,

    I am converting a WordPress theme to use BuddyPress 1.2.x features.

    I want to cut down on the page load time for normal WordPress blog posts & pages by only including the BuddyPress Ajax, JS & CSS while viewing those pages

    Currently I am using

    if ( bp_is_page( BP_ACTIVITY_SLUG ) ||  bp_is_page( BP_MEMBERS_SLUG )
    || bp_is_member() || bp_is_page( BP_GROUPS_SLUG ) || bp_is_group()
    || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_BLOGS_SLUG ) ) {

    load required ajax, css & js here

    }

    is there any better way for checking if we are currently viewing a BuddyPress page or am I missing out on any BuddyPress pages with this?

    #9454
    dutchgamecon
    Member

    Hey guys,

    When installing i had a fatal error:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 58368 bytes) in /var/www/vhosts/linqmedia.com/subdomains/mike/httpdocs/wp-content/plugins/buddypress/bp-groups/bp-groups-classes.php on line 374

    But i figured the following. I could increase the dedicated PHP memory or i could place.

    ini_set(“memory_limit”,”80M”);

    above the script. What you guys reckon?

    #66564
    putnum01
    Participant

    yes i am using the default theme. :) I am about to reinstall wp and buddypress. I just started it

    #66560
    Boone Gorges
    Keymaster

    This is a theme issue. The new bp-default has a main content area (where you’re seeing the “not found” message which signifies that you haven’t yet posted any blog entries on the main blog), and one sidebar at the right. You’ll have to create a child theme and register some new sidebars if you want to use the new bp-default and have a similar look to the old bp-sn-parent.

    Here’s a discussion on the subject: https://buddypress.org/forums/topic/three-columns

    Hello!

    My website: http://blognij.pl

    I have a problem with default theme on Buddypress, because I can’t add any Widgets there. Homepage shows error:

    “Not Found

    Sorry, but you are looking for something that isn’t here.”

    I can add widgets only in sidebar. It’s newest version of MU and Buddypress. I have This message after upgrade from 1.1.x to 1.2

    Please help me,

    Kamil Scheicht

    #66559
    abcde666
    Participant

    I would be already happy if the already existing Private-Groups would work properly……

    https://trac.buddypress.org/ticket/2072

    #66558
    putnum01
    Participant

    yea i can’t even get my messages to come up. I am running the newest WP and buddypress…

    #9448
    mmcomber
    Participant

    Hi all,

    I have BP 1.2 on a WPMU 2.9.1 install. (www.threesheetsnw.com). I’ve fairly successfully added BuddyPress to an existing WordPress child theme.

    As an admin, I’ve created several blogs for other users. Under BP 1.1, when logged in, those users could see their blogs under the “My Blogs” navigation. Since the upgrade to 1.2, that no longer works.

    As Admin, it works fine for me.

    Any suggestions?

    #66549
    putnum01
    Participant

    Any ideas on this one?

    #66548
    Boone Gorges
    Keymaster

    Tim – we must be on similar wavelengths. I was just thinking about this problem yesterday and I wrote the following: http://teleogistic.net/code/buddypress/bp-import-blog-activity/. I assume that, because this creates activity items for all members who have ever posted/commented on the site, it will do the work of adding those members to the directory as well. (Still doesn’t do anything for members who have never contributed, probably.) Hope it helps.

    #66546
    Andrea Rennick
    Participant

    “In WP v3.0, WordPress MU will be merged with the single WP installation and there will be a migration path.”

    Unless you are merging together more than one standalone WP install into one multisite network, in 3.0 there will be no need to migrate anything to turn on multiple blogs (ie; multiple sites).

    #66545
    gpo1
    Participant

    Am awaiting this feature for my ustream.tv,but the best bet is contact dev : bp-link maybe a pro version is in the pipeline..

Viewing 25 results - 79,301 through 79,325 (of 94,575 total)
Skip to toolbar