Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 60,826 through 60,850 (of 94,544 total)
  • Author
    Search Results
  • #105094
    modemlooper
    Moderator

    Single WP will work fine. MU is only to add user blogs.

    #19819
    sparklogix
    Member

    My client wants an affiliate site to sell products. There will be a storefront and a backend affiliate program. They also want BuddyPress installed for social networking, but from what I can understand (sometimes they’re not super clear) they do not need/want their affiliate to have their own blogs within the site. So my question is, do I really need to install WPMU (or whatever it’s called now) or can I just do a regular WP install?

    I should also mention that the main area where we need BuddyPress installed would be something like theirsite.com/righthere, rather than the root.

    Thanks!

    #105092
    Tmort
    Participant

    Thanks to you both!

    @Boone Gorges The reason I’m doing it like this is because I’d like to only load the JS when Buddypress is using it, so if the user is on a blog post that has no BP component it won’t load unnecessary JS.

    #105090

    In reply to: Activity filtering

    modemlooper
    Moderator

    http://buddydev.com/buddypress/using-activity-as-wire-in-buddypress-1-2-themes

    So activity stream works more like Facebook wall. I think this should be the defacto way BP works. Have a site-wide stream but then have a profile wall.

    anyhoo need to override the profile stream. I can get the site-wide stream to bend to my will but having trouble getting profile stream to only show users, friends and groups they belong to.

    #19817
    NrFive
    Participant

    I’ve been searching the entire web, yet can’t find a proper answer to my question:

    I am trying to figure out what the advantages or disadvantages are of using BuddyPress on a WordPress MU installation or WordPress Single installation.

    So far I figured out that:
    + Every user can have their own blog

    – Takes more maintanance for every extra site / blog
    – Requires more tweaking if you want to match everything with your main site

    What else am I missing here?

    Tmort
    Participant

    I’ve got a custom theme going, and I’d like to only add the CSS/JS/Ajax.php file’s required to run buddypress to load with the following perameters:

    1. Is buddypress activated? Yes? Good, load global.js, buddypress.css and require ajax.php

    2. Is the user on Buddypress Page X, Y, or Z? Yes? Good, load global.js, buddypress.css and require ajax.php

    I’ve got this in my functions.php so far, but `bp_init` doesn’t seem to be working. When I load just normal `init` everything loads. Well, except for the Ajax.php, I get a WSOD when I try to require that. Can anyone help with `bp_init` not working?

    `function bp_req() {

    define(“BP_PATH”, WP_CONTENT_URL . ‘/buddypress’);

    /* BuddyPress is installed and activated, finish initialization and go! */

    //require_once( BP_PATH . ‘/bp-themes/bp-default/_inc/ajax.php’ );

    wp_enqueue_script( ‘bp-js’, BP_PATH . ‘/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ) );

    }
    add_action( ‘bp_init’, ‘bp_req’ );`

    #105081
    Philipp
    Participant

    @aljuk Another 6 hours of work and sill no solution. I tried exactly what you said. And I also tried it on my development installation – There it’s working like a charm. I don’t have an idear what to do… ;(
    I use the latest versions of bp and wp. On my testdrive I use the same plugins. I also checked another theme.
    All this work just to hide ONE profile field.
    Do you have another idear? ;)

    Thanks a lot!

    Philipp

    #19814
    i_banks
    Member

    Hello again…

    As mentioned before, I’m completely new to this. In my first post to the forum, I was sent a link to the codex for buddypress. I just completed reading through the codex and it helped me figure out how to get rid of the admin bar at the top of the page.

    But I didn’t see anything related to creating my own register page. I was looking for a function in the codex that creates the fields for me. I would think that it has to be such a function that also produces a submit button, that once pushed, other class functions are called to save the info to a database and load the user profile to the current screen. Any information on this?

    José M. Villar
    Participant

    Hi there,

    I realized that instead of blocking the whole activity page to non-logged users I could just hide the activity content and leave the activity header intact
    How can I achieve this ? So far, the only thing I found is @nuprn1 code here: http://etivite.com/groups/buddypress/forum/topic/quick-tip-hide-activity-updates-andor-replies-by-types-for-non-logged-visitors-in-users/

    `//block activity stream parent comment and children replies
    function my_bp_get_activity_content_body( $content, $activity ) {
    global $activities_template, $bp;

    if ( is_user_logged_in() )
    return $content;

    if ( !my_bp_get_activity_content_body_hide_check($activities_template->activity->type) )
    return $content;

    $activity->children = null;

    $content .= sprintf( __( ‘To view this activity – please log in first.’, ‘buddypress’ ), $bp->root_domain . ‘/wp-login.php?redirect_to=’ . urlencode( bp_activity_get_permalink( $activities_template->activity->id ) ) );
    if ( bp_get_signup_allowed() )
    $content .= ‘‘. sprintf( __( ‘ You can also create an account.’, ‘buddypress’ ), site_url( BP_REGISTER_SLUG . ‘/’ ) ) .’‘;

    return $content;

    }
    add_filter(‘bp_get_activity_content_body’, ‘my_bp_get_activity_content_body’, 1, 2);

    //any type here to define
    function my_bp_get_activity_content_body_hide_check( $type ) {
    return in_array( $type, apply_filters( ‘bp_activity_block_denied_activity_types’, array( ‘activity_update’ ) ) );
    }`
    But I do not know how to tailor it to my needs…any help is appreciated !

    Paul Wong-Gibbs
    Keymaster
    #19810
    ripzcurlz
    Member

    Hey,

    I am currently working on adding features to a blog running buddypress.

    I am creating an author box that is displayed at the bottom of each post.

    The info I want to display in this box is: Author avatar, Author name (with link to bp profile), Group(s) and Author Bio Info

    Here is what I have so far.

    Author Avatar: “

    Author Name/ Link: `post_author ) ?>`

    Author Group(s):

    Author Bio Info: “

    As you can see the only code I am missing is the code for the author bp groups.
    If someone knows how to display this info on the post page or can suggest possible ways of achieving this, I would very much appreciate some help.
    Even if anyone knows of a buddypress plugin that I could modify.

    Thanks

    i_banks
    Member
    #105071
    Xevo
    Participant

    This looks like just a WordPress site without any BuddyPress in it?

    Or is this just spam?

    Xevo
    Participant

    If you register through the BuddyPress registration, you’ll notice that your username will not be allowed to have spaces, capitals etc.

    Same thing applies here, don’t let your usernames contain spaces.
    BuddyPress just can’t parse the %20 (which is a space) and sends you back to the frontpage.

    #105067
    Hugo Ashmore
    Participant

    Start a new thread please and supply details about your setup.

    #105061

    @Giovanni hi,
    I had a problem with Invite Friends plugin. My WPMU admin was messed up. Whenever users were trying to create a post or page on their blogs the Css was loading wrong or giving wrong outputs.

    After disabling the plugin everything went ok.

    I hope you consider checking that out.

    Thanks

    i_banks
    Member

    In reading the http://codex.buddypress.org, it says that I should have a “bp-custom.php” file, but it didn’t come with the plugin I downloaded…
    Apparently, it’s suppose to be in wp-content/plugins/, but I don’t see it…

    #105059
    pcwriter
    Participant

    @markaduffy

    Take a look at Brajesh’s Global Search. It has functions to return search results for forums, blogs, members, groups and site pages/posts.

    Creating The sitewide global/unified search Page for your Buddypress Theme

    #105058
    modemlooper
    Moderator

    In the WP admin under BuddyPress in the left side bar you can create more than one profile edit screen. Click profile field set up. Then you can create things for users to fill out on their profile. The default screen is called base but you can change that name.

    #105053
    Boone Gorges
    Keymaster

    I think you might be barking up the wrong tree. Since you want to repurpose an existing query (the ‘my groups’ query) you don’t really need to alter the querystring. Instead, you should be altering the behavior of the query itself, which happens at the level of the bp_has_groups() function, as found in bp-groups/bp-groups-templatetags.php. One of the arguments for that function is user_id; when one is passed, you know you are looking at a my-groups loop.

    Ideally, you would be able to filter bp_has_groups() to detect when a my-groups-type query was being requested, and then hijack it and do a query just for hidden groups. Unfortunately, I don’t believe that there is going to be an easy way to do that in this version of BuddyPress. For one thing, while there is a filter on bp_has_groups, the original arguments (like user_id) are not passed along to the filter in BP 1.2.7 (it’d be a good enhancement request). Second, there is no way to filter groups by status (public, private, hidden) at the moment (that too would be a good enhancement request).

    One quick and dirty way to do something like what you want to do is to filter bp_has_groups, grab the content of the group query out of the groups_template global, and remove the ones that are *not* hidden. It’s not an ideal solution for a number of reasons (for one, it screws up pagination) but it can work. Here’s an example off the top of my head (untested!)

    `function bbg_hidden_groups_only( $has_groups ) {
    global $groups_template;

    // when we are looking at a my-groups page…
    if ( bp_is_user_groups() ) {
    foreach ( $groups_template->groups as $key => $group ) {
    if ( ‘hidden’ == $group->status ) {
    unset( $groups_template->groups[$key] );
    }
    }

    // reset the keys so you don’t end up with blank spaces
    $groups_template->groups = array_values( $groups_template->groups );
    }

    return $has_groups;
    }
    add_filter( ‘bp_has_groups’, ‘bbg_hidden_groups_only’ );`

    #105047
    Boone Gorges
    Keymaster

    There’s an issue tracker at trac.buddypress.org (same username:pw as you use here), where you should feel free to open tickets for ways that BP needs to be changed in order for your Open Social add-on to work. For more general discussions – when you are talking about extending BP rather than modifying it – this forum is probably a better place. There are certainly more eyeballs here than on Trac.

    #105046
    Boone Gorges
    Keymaster

    It’s possible that there will be a version of the BP buddybar that is built into the WP 3.1 admin bar by the time the next version of BuddyPress comes out. However, I do not think that the BP Buddybar will be taken out of BP in the next version in any case, as it would disrupt many people who have modified and extended it. Worst case scenario, the Buddybar will be taken out and put into a plugin so that site admins will have the option of installing it for that Classic Look ;)

    #105042
    Grow Stories
    Member

    Thanks for the info. I have made it that far and have installed the forum but it is giving me a plain white page. How do I activate the forums?

    #105041
    Hugo Ashmore
    Participant

    @grow-stories this is an 8 month old thread you have dragged back up. please, in future, if you have an issue you require help with you must start a new post/thread and describe the problem in detail along with any applicable info such as version numbers , custom themes, plugins in use.

    You activate the plugin in the usual place for plugins, you visit the BP menu section and configure any options you want such as forum install, extended profiles etc, then visit the theme section and activate the bp-default theme or suitable BP compatible theme you might have.

    #105040
    Grow Stories
    Member

    So I have a WordPress self hosted site and installed the BuddyPress plugin but I do not see where I can access the plugin to utilize it. Any help?

Viewing 25 results - 60,826 through 60,850 (of 94,544 total)
Skip to toolbar