Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 22,401 through 22,425 (of 94,543 total)
  • Author
    Search Results
  • Josiah77
    Participant

    I have a wordpress/buddypress/s2member install.

    What I need to know is how to make the bp registration form change from the default level 0 (subscriber) to automatically give them level 1 access without any payment.

    My whole training site is free. I have 5 s2member levels, 1,2,3,4,5. I do not use level 0 because the default subscriber roles don’t work properly for what I am doing.

    Again, I just need the buddy press form to give instant access to level 1 instead of level 0.

    Any thoughts on how to do this?
    I would imagine it is relatively straight forward, but I have scoured the forums here and found nothing on it.

    I could do it pretty easy in s2member, but buddypress only uses its registration form and doesn’t allow s2members, from what I understand…

    Anyone have any thoughts on this?

    I appreciate your wisdom, Thanks in advance!

    #229738
    shanebp
    Moderator

    If you’re editing core files – then yes, of course, your changes will be wiped out.
    You can use bp-custom.php to add functions.
    You can use template overrides to change templates.
    See the codex ( the Documentation link ) for more info.
    It’s rare that you can’t make your changes using a filter hook – then the changes won’t be wiped out.
    This is the standard approach to coding in WP – including BuddyPress and bbPress.

    #229721
    Henry Wright
    Moderator

    Yeah, all BuddyPress sites will have the wp_users and wp_usermeta tables. See here for a description of the WordPress database and here for the BuddyPress one.

    #229716

    I see… Yes I should have realized that all the user meta was stored in the default table!! I guess I kinda meant if I was going to develop a buddypress specific plugin where would be a good place to start, but I suppose it is like any other WP plugin. Thanks for the insight @henrywright!

    #229706
    milenushka
    Participant

    Hi @@hnla, thank you for addressing this.
    I did research some more and found that the default buddypress moved the post link “read more” to the time. I guess that was only done to the post excerpts, because if I post a long status- the [read more] link will appear (like in the attached screenshot).

    If I use your code- I change the excerpt length of the updates. I lengthened it and now at least the activity wall looks more uniform.
    But the post excerpts are still pretty short (about 1/3 of the thumbnail height)
    Do you have an idea how to change the post excerpts length? (The first example in the screenshot).

    Thank you.

    #229705
    navinachettri
    Participant

    Hi

    I have made a three column layout for site wide activity using css. The issue is that the activity updates are populated column wise as is understandable for normal posts. However, in Buddypress this would not work as I will have the latest updates in col 1, older ones in col 2 and oldest in col 3 as below
    1 4 7
    2 5 8
    3 6 9

    Whereas the ideal way would be to have it in:
    1 2 3
    4 5 6
    7 8 9

    How can I achieve this?

    Thanks

    #229704
    shanebp
    Moderator

    No offense, but your code is a real mess.
    And you should be using wpdb instead of mysql_query.
    Please consider hiring a developer. You can post a job here.

    #229700
    Timo_F
    Participant

    Hello guys, I’m working on WP 3.9.2 and BP 2.1.1. All sections of Buddypress work perfectly except for groups. I can create groups, I see them in the groups directory but in every home group’s page I see only the profile header without any chance to update the status. Do you have an idea on how fix the problem? Thank you

    reinaldudras
    Participant

    Hello dear developers! Anyone knows, how to hide or exclude certain roles from members list, profile page, activity etc? I need to exclude particular users from certain roles, so other members cant find them at all. Anyone have ideas? I tried to find answers to my question, but I didnt found any topic, where it says that I can hide members at all.

    shanebp
    Moderator

    Your code is garbled and missing the href. Try this:

    add_filter('bp_blogs_activity_new_post_action', 'record_cpt_activity_action', 1, 3);
    function record_cpt_activity_action( $activity_action,  $post, $post_permalink ) { 
    
       if( $post->post_type == 'projects' ) {
    	$activity_action  = sprintf( __( '%1$s created a new Project, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>' );
       }
    	
       return $activity_action;
    }
    milenushka
    Participant

    Hi @shanebp,

    I am sorry I don’t quite understand..

    My exact code looks like this:

    add_filter( 'bp_blogs_record_post_post_types', 'inspired_record_more_types' );
    function inspired_record_more_types( $types ) {
        $types[] = 'projects';
            return $types;
    }
    
    add_filter('bp_blogs_activity_new_post_action', 'record_cpt_activity_action', 1, 3);
    function record_cpt_activity_action( $activity_action, $post, $post_permalink ) {
    global $bp;
    if( $post->post_type == 'projects' ) {
    if ( is_multisite() )
    $activity_action = sprintf( __( '%1$s created a new project, %2$s, on the site %3$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '', '' . get_blog_option( $blog_id, 'blogname' ) . '' );
    else
    $activity_action = sprintf( __( '%1$s created a new project, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '' );
    }
    return $activity_action;
    }

    and the link to the project custom post is not showing. It does show with only the first part of the code- but the slug is generic – .. “wrote a new post”

    milenushka
    Participant

    Hi ,

    I needed to add custom posts to the activity feed, and found this thread useful.

    @shanebp said :

    And if you go thru the trouble of creating a CPT, why not filter the activity action so it isn’t the generic ‘…wrote a new post’. For example:

    
    add_filter(‘bp_blogs_activity_new_post_action’, ‘record_cpt_activity_action’, 1, 3);
    function record_cpt_activity_action( $activity_action, $post, $post_permalink ) {
    global $bp;
    if( $post->post_type == ‘videos’ ) {
    if ( is_multisite() )
    $activity_action = sprintf( __( ‘%1$s created a new Videos post, %2$s, on the site %3$s’, ‘buddypress’ ), bp_core_get_userlink( (int) $post->post_author ), ‘‘ . $post->post_title . ‘‘, ‘‘ . get_blog_option( $blog_id, ‘blogname’ ) . ‘‘ );
    
    else
    $activity_action = sprintf( __( ‘%1$s created a new Videos post, %2$s’, ‘buddypress’ ), bp_core_get_userlink( (int) $post->post_author ), ‘‘ . $post->post_title . ‘‘ );
    
    }
    
    return $activity_action;
    }
    

    However if I do that, the link to the custom post itself disappears. It shows up but is un-clickable.
    Is the code missing something?

    Would really appreciate the help!

    Thanks

    #229688
    Henry Wright
    Moderator

    @hnla you’re right, it could be more robust. I’ve added a conditional check to test if the messages component is active.

    function send_message_to_new_member( $user_id, $key, $user ) {
    
        if ( ! bp_is_active( 'messages' ) )
            return;
    
        $args = array(
            'sender_id' => 1,
            'thread_id' => false,
            'recipients' => $user_id,
            'subject' => 'Hello new user',
            'content' => 'Welcome to the site',
            'date_sent' => bp_core_current_time()
        );
    
        $result = messages_new_message( $args );
    }
    add_action( 'bp_core_activated_user', 'send_message_to_new_member', 3 );

    I think editing the codex is off-limits to the masses right now, although you may have access? See here.

    #229687
    royserpa159
    Participant

    Hello Guys,

    I have created account at buddypress.org and i want to post blog post here. But i don’t know how to post. Please someone let me know how can i post blog post here.

    Waiting for reply.

    #229678
    peter-hamilton
    Participant

    Needs to be done, especially if this means a stronger team that produces wicked updates and maintain a strong trustworthy codex.

    Thanks for being Buddypress.

    #229677
    Hugo Ashmore
    Participant

    @mmaccou you should always check the BuddyPress documentation for things like this as well as third party sites.

    In this instance the required item is not perhaps that obvious to find, so I’m considering a version of the page slightly re-written and added under our ‘Administrators’ section.

    Filters & Constants Reference

    #229611
    danbp
    Participant

    Hi @mmaccou,

    The place in the functions.php has no importance. You can also use bp-custom.php to be independant of your theme.
    That said, the tip (published 2010) you tried is no more accurate for BP 2.x and/or bbPress.

    Try this one instead:

    /* deactivate @mention - BP 2.0+ & bbpress */
    
    add_filter( 'bp_activity_do_mentions', '__return_false' ); // BP only
    add_filter( 'bbp_find_mentions', '__return_false' ); //bbPress only
    #229610
    mmaccou
    Participant

    I am trying to remove the option for users to use the @mention feature on my site. I found this thread

    How to Remove @mentions from BuddyPress

    …however, after following the steps, I cannot get it to work. I followed them exactly, but maybe I wasnt inserting the code into the right part of the function.php? Does it matter where in the file the code goes?

    Is there another remedy to removing the @mentioni?

    #229598
    marvc
    Participant

    Two weeks and not even a response? So no one in this ENTIRE buddypress community sees this as something worth responding to? How can you not get support, or even a response, from developers of their own product?
    Gonna re-post as it doesn’t appear as though this forum is being monitored.

    #229590
    georgealex
    Participant

    I’m sorry, there may be something on the topic but I didn’t find it.
    I CAN’T seem to find a way how to approve people who apply to my private groups on BuddyPress 2.1.1
    PLEASE HELP! My community is based on private groups and I’ll have more and more people applying.
    There is no button for approval: neither in the group, nor on the dashboard.
    Thanks for your quick reaction, it’s really urgent.

    #229586
    Jahfree
    Participant

    I just ionstalled BuddyPress on a Server without different Port

    What does this mean? Im having the same problem and i dont understant what “without different port” means?

    PLEASE help

    THANK YOU

    ad4m_wordpress
    Participant

    I have it configured that when a new user registers they are redirected to their profile page.

    This is their first experience with the site, so I have automatically added myself as their friend.

    I’d also like each new user to have a custom message delivered to THEIR BUDDYPRESS messages area, NOT a custom email sent to the email address they registered with.

    Any ideas on how to accomplish this? or if there is a plugin that can handle it?

    #229573

    For the past 10 hours, the BuddyPress.org and bbPress.org codex sites have been the target of an automated spam attack, creating hundreds of pages, posts, and additional taxonomy terms.

    This happened only because of our own wishes for our documentation sites to be an active and thriving representation of everything related to the software, and not because of any bugs or glitches in WordPress or on BuddyPress.org or bbPress.org.

    We were automatically granting users the “Editor” role, so you would be able to modify pages. This has worked really well for us since 2009, but only because we’ve gotten lucky enough for no one to take advantage of the open access; until today.

    In the very near future, we’ll be officially putting together a “Codex Team” of trusted and prolific contributors to grant codex access to basically anyone that asks for it. @hnla, @mercime, and @modemlooper have already been doing this job for a long while, and we’ll bring a few others into the mix too.

    Sorry about having to restrict a few things. We had a good run there, but now it’s time to tighten things up a bit and ensure a safe and cooperative environment for everyone.

    Admin access to the codex will be turned off for a few days while we put together some guidelines and reinvent the codex access code.

    If you’re interested in helping out around the codex more, drop a note here and someone will make sure you’re taken care of shortly.

    armandmorin
    Participant

    I have a standard WordPress search Widget on the right side of my BuddyPress installation. But when I search it does not include results from the BuddyPress Activity Stream.

    How can I add the Activity Stream to the Search Results?

    Help please!

    #229556
    Jay_Chauhan
    Participant

    I have installed Buddpress plugin on my website. After installing it I am facing pagination error on my blogs posts page(it don’t go to next page, just stays on Home page only). If I uninstall it, site works fine .

    How do I resolve this issue as I need Buddypress plugin for my site.

Viewing 25 results - 22,401 through 22,425 (of 94,543 total)
Skip to toolbar