Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 71 total)
  • @pollyplummer

    Member

    Tags, however, would require that a user knows to tag his topic so that it shows up under the correct category. It would be much more handy to have categories that a forum administrator can organize.

    @pollyplummer

    Member

    Thanks @nahummadrid ! This works:

    while ( bp_groups() ) : bp_the_group(); if(bp_get_group_name() != ‘MyGroup’ ) :

    I think I’ll post something about this on wpmu.org because it seems like a pretty common request. I wish there was some kind of exclude parameter instead. ;)

    @pollyplummer

    Member

    Pedro – what rewrite rules were you missing? I’m curious because I am trying to get cdn working with WPMU and having an issue with it rewriting the URLs to the files folder the way wpmu normally does.

    @pollyplummer

    Member

    Would love to see a quick example :)

    @pollyplummer

    Member

    @Boone Gorges – thanks for putting me on the right track. I’m still not getting it right. Forgive me if this is really wonky:

    So I’m in the edit.php file and after this part:
    if ( bp_has_profile( ‘profile_group_id=’ . bp_get_current_profile_group_id() ) ) : while ( bp_profile_groups() ) : bp_the_profile_group();

    I have added the following:
    if ( bp_the_profile_group_name() == ‘personal’ && get_usermeta( $bp->loggedin_user->id, ‘114’ ) ) {
    ( bp_has_profile( ‘profile_group_id=1,3,4’ ) ) : while ( bp_profile_groups() ) : bp_the_profile_group();
    }

    The 114 is the meta_value for personal selection in the profile field wherein I ask them to select Personal, Business, or Artist. The profile group name ‘personal’ is one of the field groups that applies only to ‘personal’ accounts. (<- definitely not sure if I'm doing that right)
    I’m thinking I have a few things out of order…

    @pollyplummer

    Member

    Thanks for the recommendation @BOW. Paul – I’m trying to hide particular field groups on the edit page. I set the user type in a field group called “Accounts” (radio select Personal, Business, or Artist) which I have appended to the registration process. Then, based on their answer there I want to show or hide different field groups in the profile edit page and profile display page. I also want to hide the “Accounts” field group from everyone so that they can’t change that after registration.

    @pollyplummer

    Member

    Also interested in doing this…. :)

    @pollyplummer

    Member

    What else would it take beyond adding it in here at the core?

    function bp_core_action_search_site( $slug = false ) {
    global $bp;

    if ( $bp->current_component == BP_SEARCH_SLUG ) {
    $search_terms = $_POST;
    $search_which = $_POST;

    if ( !$slug || empty( $slug ) ) {
    switch ( $search_which ) {
    case ‘classifieds’ : default:
    $slug = ”;
    $var = ‘/?s=’;
    break;
    case ‘members’:
    $slug = BP_MEMBERS_SLUG;
    $var = ‘/?s=’;
    break;

    I’m trying to do this too but not having any luck…

    @pollyplummer

    Member

    Yes it works great! Thanks Brajesh!!! I don’t know why I was spending so long busting my brain to find parameters that would modify the loop ;) Should have posted here a couple hours ago. haha

    @pollyplummer

    Member

    Does this part of the profile loop accept any parameters?
    while ( bp_profile_fields( ) ) : bp_the_profile_field( );

    For example I’d like to only include the name field, which is the core field that is required, and not all the other extra fields. So I tried this but it does nothing:
    while ( bp_profile_fields( ‘field_id=1’ ) ) : bp_the_profile_field( );

    Since that’s the only required field I have, it would work if I can customize the loop to show only required fields, only that one field, or a max=1 but none of those seem to work. This is on the signup page, by the way. Is there an easy way to do this that I’m missing? Could anybody point me in the right direction? Thanks!

    @pollyplummer

    Member

    Whoops , it stripped the code… lemme try again:

    Does this part of the profile loop accept any parameters?

    For example I’d like to only include the name field, which is the core field that is required, and not all the other extra fields. So I tried this but it does nothing:

    Since that’s the only required field I have, it would work if I can customize the loop to show only required fields, only that one field, or a max=1 but none of those seem to work. This is on the signup page, by the way. Is there an easy way to do this that I’m missing? Could anybody point me in the right direction? Thanks!

    @pollyplummer

    Member

    Here’s the tutorial about how to do that:

    How to Add the Global Facebook Like Button to BuddyPress Profiles and Activity Stream Items –

    http://wpmu.org/how-to-add-the-global-facebook-like-button-to-buddypress-profiles-and-activity-stream-items/

    @pollyplummer

    Member

    You can also use XFBML. It is more flexible than iframes, but requires you use the JavaScript SDK. So that’s another option if you don’t like the iframe.

    @pollyplummer

    Member

    I’d love to hear another way to do this :) I’m no expert, just trying things based on the facebook dev documentation.

    @pollyplummer

    Member

    Yes, here’s how you do it for items in the activity stream. Open entry.php and then paste this in there kind of around where you see the favorite buttons – probably you want it only available if a user is logged in:

    <iframe src="http://www.facebook.com/plugins/like.php?href=<?php bp_activity_thread_permalink() ?>&layout=standard&show-faces=true&width=450&action=like&font=arial&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:px"></iframe>

    This will work for you but you should then style it so it doesn’t take up weird amounts of space. I’m writing up a whole tutorial on how to use this with BuddyPress. It will publish tomorrow at 10AM eastern time. I’ll post a link here.

    @pollyplummer

    Member

    Super cute. Love this idea :)

    @pollyplummer

    Member

    I believe in solutions – paid or free, it doesn’t matter. People have different needs. Those involved in the BuddyPress community have varying amounts of time that they can spend in the forums or writing plugins, etc. Permitting each other that kind of freedom is where true creativity flourishes, not under some kind of unspoken mandate of the collective. It’s time for the premium theme market and premium plugin market to be treated equally. If you purchase a beautiful WordPress theme that took weeks of design, creativity, and theming, nobody bats an eye. Code is poetry in this same sense. When someone writes a new plugin, his freedom to choose whether or not to sell it or give it away for free is really far more important than the plugin itself.

    Even though we sell premium plugins, we also have loads of free resources and tutorials on our sites and promote all kinds of solutions, both paid and free. If I personally write a plugin, I like to give it away for free. That’s because I’m not a real programmer and I don’t have the ability to provide decent support. However, I fully support the right of extraordinarily talented people like Aaron or Andy or Boone to be paid for writing for BuddyPress or to give it away for free. All that to say that I’m grateful to many people in the BuddyPress community for their hard work, and it is none of my business how they are compensated or not compensated for it. I simply enjoy learning and building together. :) I’m sure that if we could all meet up and have a beer somewhere, we’d have far more mutual respect for the talents and liberties of others. :)

    @pollyplummer

    Member

    Does this also work with the BP Compatibility plugin or would there be an extra step? I have no problems getting this hack to work with single user WP + BP. However, when I try it with WPMU, it doesn’t work. I thought perhaps it was due to the fact that I’m using the Compatibility plugin in conjunction, but even when that is deactivated the hack isn’t working. Thoughts?

    @pollyplummer

    Member

    Try the same with your functions.php file (deleting extra spaces at top and bottom) and then if that doesn’t fix it, I’d check on your wp-config.php file and see if there’s a space in there. I wrote about this error the other day as many people seem to have it:

    http://wpmu.org/daily-tip-if-youre-getting-header-errors-try-deleting-empty-spaces-in-your-functions-file/

    @pollyplummer

    Member

    This might seem silly – you’ve probably already tried this… but make sure you login as the admin to the group you’re trying to post to and enable forums for that specific group.

    @pollyplummer

    Member

    @gregfielding Yes, you can do that. I’m not sure if this is the best way (definitely open to more input!) but where you see this:

    function my_is_friend_check( $friend_id = false) {
    global $bp;

    if ( is_site_admin() )
    return true;

    if ( !is_user_logged_in() )
    return false;

    Change that last part to:

    if ( !is_user_logged_in() )
    return true;

    @pollyplummer

    Member

    That’s what it’s supposed to do.

    @pollyplummer

    Member

    It works with WP single user for me… What errors are you getting?

    @pollyplummer

    Member

    Thanks. Love this plugin! Am writing a review of it tonight :)

    @pollyplummer

    Member

    Actually, it only shows friends but you could modify it to show the friends who are online. :) Or I can do it when I get a free minute.

Viewing 25 replies - 26 through 50 (of 71 total)
Skip to toolbar