Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 21,976 through 22,000 (of 94,543 total)
  • Author
    Search Results
  • #231354
    #231353
    djsteveb
    Participant

    @alirat

    Have you tried or are you using the rtmedia plugin?

    or checked out the new beta http://wptavern.com/mediapress-now-in-beta-a-new-media-gallery-plugin-for-buddypress

    I THINK both of these add that functionality?

    On one of my bp sites with rtmedia enabled I have an “attach files” button under activity box when logged in.. I THINK that allows uploaded a pic to the activity stream(?) not sure if this is enabled by the rtmedia plugin or something else. I could check further.

    #231352
    valuser
    Participant

    Hi @ndh01,

    I think you could do this just with buddypress.

    (just please backup database before….. etc)

    Go to Profile Fields—> (Click) Add New Field Group

    Add New Field (text) say Field Name virgin

    Then add the following to your functions.php

    function vub_login_redirect($redirect_to, $set_for, $user){
    
    	global $current_user, $bp, $wpdb;
    	$val = 'no';
    	if (bp_get_profile_field_data (virgin, $user -> ID )!=""){
    	$redirect_to = bp_core_get_user_domain($user->ID) .'/groups/';	
    }else{
    	xprofile_set_field_data( 'virgin', $user -> ID, $val);
    	$redirect_to = bp_core_get_user_domain($user->ID) .'/profile/change-avatar/';
    }
    
    	wp_redirect( $redirect_to );
    	exit();
    
    }
    
    add_action('login_redirect', 'vub_login_redirect', 20, 3);

    Alternatively you could as you have suggested create a new meta.

    A useful plugin for that would be User Meta Manager

    Add Custom Meta say a text field Name — firsttimer

    then add the following (instead of the above) to your functions.php

    function vu_login_redirect($redirect_to, $set_for, $user){
    
    	global $current_user, $wpdb;
    	$firsttimer = get_usermeta($user -> ID, 'firsttimer',single);
    	$val = 'no';
    	if (!empty ($firsttimer)) {	
    	$redirect_to = bp_core_get_user_domain($user->ID) .'/groups/';
    }else{
    	update_user_meta( $user -> ID,'firsttimer',$val);
    	$redirect_to = bp_core_get_user_domain($user->ID) .'/profile/change-avatar/';
    }
    	
    	wp_redirect( $redirect_to );
    	exit();
    
    }
    
    add_action('login_redirect', 'vu_login_redirect', 20, 3);

    Obviously change the redirects to wherever you want the user to go.

    #231351
    Dave Lozier
    Participant

    @sbraiden – I recently helped migrate a site off of wpengine because of performance issues and the price wpengine wanted for more horse power under the hood. Their next level of service was going to cost $3200 a month. I suggested linode.com and was also amused by the fact that wpengine runs on top of linode.

    The page generation times for wordpress/buddypress/bbpress along with various plugins (gravity forms, buddypress xprofile custom fields type, gravity forms upload rules, gravity forms wysiwyg, gd bbpress toolbox, cloudflare…) was not good. It is still not where we want it either, unfortunately.

    The site is quite active, pushing 30,000 members and over 1.3+ million rows in the posts table. On average the page generation times are about 1.5 seconds for logged in users. Adding a new bbpress topic/reply can time out sometimes though. (still on the list to track down and fix)

    We utilize Cloudflare out front for a CDN and their threat/spam protection. Their service is free but if you need more page rules to balance out caching the pro service level is $20 a month.

    On linode we have a node balancer in front of two 4 core app server nodes. The app server nodes each connect directly to their own 8 core database nodes in a master master setup. This will be changing down the road once the database indexes are trimmed down with some denormalization. The cost for the node balancer, two 4 core and two 8 core nodes is $260 a month but that’s also allowing for some room to grow, capacity wise.

    Server software is a combination of nginx, apache (threaded), php-fpm, glusterfs (upload directory only), memcache, zend opcode cache and mariadb. Nginx is the web server in front of apache which serves up static files from the glusterfs file system. Nginx is caching the static content being served up by apache along with full page caching (fastcgi) for anonymous visitors. Cloud flare is also caching the static content and to date we aren’t having any performance issues with IO and glusterfs.

    I hope this helps. It can be done but it takes some effort (and money) to do so.

    #231348
    digitalpur
    Participant

    Hello @emidio007,

    you can look here: http://www.digitalpur.de/wordpress-buddypress-rtmedia-limit-upload-images/

    This could help you. I have implemented a similar solution for one of my clients. at the File “rtMedia.backbone.js” i have created a loop.

    i have searched for “FilesAdded” and have added there this loop. You must costumize it for your needs.
    while (up.files.length > 4) { up.files[4].remove(); }

    The Problem here: Every time you update “rtmedia”, the “rtMedia.backbone.js” will be overwritten.

    #231347
    danbp
    Participant

    1) site title is in WP General settings
    2) https://buddypress.org/support/topic/changing-the-default-activity-filter/

    In reply to your today’s trac ticket, you can try this trick
    https://buddypress.org/support/topic/edit-buddypress-pot-file/#post-230857

    #231345
    danbp
    Participant

    hi @alirat,

    as no add media button exists.

    Is not intended for. Notices are for brief messages, and html is stripped for security reason.

    To get that, consider this plugin.

    alirat
    Participant

    I am just creating a new site for friends and family and want to be able to let people post images in their activity stream – but can’t see how that works as no add media button exists. What am I doing wrong? I have installed buddypress, genesis framework, genesis connect for BP and thats about it.www.alirat.net is the site.

    #231336
    Peter
    Participant

    I’ve been asked to consult with a medical software startup that has built a platform for doctor-to-patient communication, and have been asked to suggest solution for building a user community for patients to share content amongst each other.

    Is Buddypress general considered secure enough for users sharing highly sensitive information?

    Thanks

    #231333
    gustom
    Participant

    Hi,
    I started to look at BuddyPress today to be able to handle groups for a “wordpress-app”.
    Some things I can’t get my mind around is:
    – (1) I have a hidden group, but new articles are published as public. I thought they should only be visible for other group users.

    – (2) When allowing a new user to register the form only reloads and does not create a new user. No error messages.

    I currently run WordPress/Buddypress on a local server (map) with no other issues, and it is a clean install with very little settings changed so far.

    Any thought?
    Thanks

    Cheers,
    Anders

    #231329

    In reply to: post follow option

    Henry Wright
    Moderator

    Are you using BuddyPress Follow?

    Ref: https://wordpress.org/plugins/buddypress-followers/

    #231325

    In reply to: post follow

    Henry Wright
    Moderator

    I’ve replied here

    #231321
    OsamaNuman
    Participant

    I tried to continue my conversation but it was closed (the last one)

    the thing is that I am not trying to translate BP using Polylang, I am actually following the process like: this and this
    but the issue is that I dont know how to open the translated BP profile page !?

    Regards

    #231317
    paulgriffiths
    Participant

    Thanks so much for all the very prompt help!
    I have however already found this code when I searched for the problem in the forum and have already added it to mt functions.php file so (to be clear, not trying to be rude) I am seeing the behaviour you describe with comments on blog posts created AFTER the “site tracking” function was turned on in Buddypress settings. Comments on blog posts created before this was turned on are ignored.

    If I go to the dashboard I can see I can see the last comments on the system – see the user admin has replied to an old blog post and the user griff (me) has replied to a new blog post:
    comments

    However under the Buddypress Activity feed only the comment by me is showing:
    activity

    #231308
    danbp
    Participant

    hi @osamanuman,

    as you asked the same on the polylang support, i would recommend that you wait for an answer of the plugin author.
    I’ve never used that plugin, anyway, by reading the description it appears that Polylang is a tool for translating any kind of WP content.

    Of course BuddyPress is a WP plugin, but as it use pages differently as ordinary WP content, i don’t think that you can use Polylang to translate BuddyPress pages using the plugin default behave: translating by content. You’ll probably have to try the option translate by directory name.

    While searching the support forum, i found this, about BP compatibility. Discouraging.

    If you read attentively the documentation, you will see that it becames very difficult/complicated to translate BuddyPress because of some permalink settings.

    #231304
    OsamaNuman
    Participant

    Hello,

    I have followed some translation tips provided in the support section on your website, but the issue I am having is that when I do all the translation, How can I see the translated Profile Page of BuddyPress when I am using PolyLang plugin to translate my website ?

    PS. pressing my translated language button is while opening the profile page will send me to the Home page of my website, I mean that there is no link between the English Profile BP Page and the translated language Profile Page!
    Regards

    #231303
    Giftvincy
    Participant

    Hi!

    I’ve gone through the forums and docs, but I couldn’t find how to setup user types. What I am trying to achieve is,
    1) I should have two User Types (18+ and 18-) on setup.
    2) When a user registers, he should be categorized into either of the one user type.
    3) Posts should not be visible between these two groups. Example, a user posts belonging to 18+ user type should not be visible for 18-.

    Can you please help me with a clue to achieve this?

    Thanks,
    Vincy.
    Wordpress 4.0.1 and BuddyPress 2.1.1

    #231299
    Susan Braiden
    Participant

    Hi, Henry. Thanks a bunch for your response. I’ve been trying to work through this for several months, and the lead developer on my ISP’s DreamPress installation has said straight up that BuddyPress does NOT work on DreamPress for the reasons I mentioned in my initial post. The Varnish caching is not meant to support a membership site.

    (And I have had the same experience you had with 1&1. I left them for DreamHost years ago and am really glad I did. That’s what makes this currently hitch kind of sad. DreamHost has generally been really good with support.)

    Thanks again, and best wishes!
    Sue.

    shayne
    Participant

    You could try this plugin. It is kind of what you want.

    https://wordpress.org/plugins/buddypress-announce-group/

    #231297
    shayne
    Participant

    Sorry for the double post but i made a typo. My link sourcing where I got the code from didn’t work.

    Here it is.

    http://blog.etiviti.com/2010/03/buddypress-hack-remove-non-friend-updates-from-the-activity-stream/

    #231296
    shayne
    Participant

    I am trying to filter out all activity except activity from me, my friends and my groups. Below is the code I am using. It’s stolen from and is slightly modified. I removed the follower function.

    The issue I am having is that it shows all group activities instead of just the activity from the groups I am a member of. Sadly I am not skilled at php so I don’t know how to change it.

    Would anyone be able to adjust this so that it only shows activity from groups I am a member of?

    //Friends only filter begins
    function my_denied_activity_nonfriends( $a, $activities ) {
     global $bp;
     
     foreach ( $activities->activities as $key => $activity ) {
     /* if member of a group - we want the activity even if nonfriend */
     if ( $activity->user_id != $bp->loggedin_user->id && $activity->component != 'groups' && !my_is_friend_check($activity->user_id) && !my_is_atme_check($activity->content) ) {
     
     unset( $activities->activities[$key] );
     
     $activities->activity_count = $activities->activity_count-1;
     $activities->total_activity_count = $activities->total_activity_count-1;
     $activities->pag_num = $activities->pag_num -1;
     
     }
     }
     
     /* Renumber the array keys to account for missing items */
     $activities_new = array_values( $activities->activities );
     $activities->activities = $activities_new;
     
     return $activities;
    }
    add_action( 'bp_has_activities', 'my_denied_activity_nonfriends', 10, 2 );
    function my_is_atme_check( $content ) {
     global $bp;
     
     if ( !is_user_logged_in() )
     return false;
     
     if (!$content)
     return false;
     
     $pattern = '/[@]+([A-Za-z0-9-_]+)/';
     preg_match_all( $pattern, $content, $usernames );
     
     /* Make sure there's only one instance of each username */
     if ( !$usernames = array_unique( $usernames[1] ) )
     return false;
     
     if ( in_array( bp_core_get_username( $bp->loggedin_user->id ), $usernames ) )
     return true;
     
     return false;
    }
     
    function my_is_friend_check( $friend_id = false) {
     global $bp;
     
     if ( !is_user_logged_in() )
     return false;
     
     if ( !$friend_id ) {
     $potential_friend_id = $bp->displayed_user->id;
     } else {
     $potential_friend_id = $friend_id;
     }
     
     if ( $bp->loggedin_user->id == $potential_friend_id )
     return true;
     
     if ( friends_check_friendship_status($bp->loggedin_user->id, $potential_friend_id) == 'is_friend' )
     return true;
     
     return false;
    }
    #231291
    Henry Wright
    Moderator

    Hi @shmk

    It’s definitely possible. BuddyPress uses the wp_mail() function to send emails. By default, it uses text/plain as the content type which doesn’t allow HTML. The good news is you can change this. For example:

    function set_content_type( $content_type ) {
        return 'text/html';
    }
    add_filter( 'wp_mail_content_type', 'set_content_type' );

    Ref: https://codex.wordpress.org/Plugin_API/Filter_Reference/wp_mail_content_type

    #231289
    Henry Wright
    Moderator

    Hi @sbraiden

    The response time on ANY page/link can range from 10-20 seconds, even with virtually all of the plug-ins disabled.

    A standard WordPress-BuddyPress install, running on the most basic hardware with little web traffic would respond far quicker than this so there is definitely a problem. Sometimes (although not always) the problem can be elsewhere (not your host). I’ve seen some badly-written themes cause page load times to lag and the same goes for certain plugins. I think the first step for you to take (before you go through the upheaval of changing hosting company) is to determine the exact cause of the problem. If you’re definitely sure it’s the host, then definitely make the switch. From a personal point of view, I’ve had problems with 1&1 in the past so switched host and have never been happier.

    #231287
    danbp
    Participant

    Activity feed is not retroactiv, and will never be i guess ! It’s a feed, not an archive with updates. 😉

    If interrested by future of BP development, see here

    Rapforthemoment
    Participant

    I would like to remove the white background that comes on some of the buddypress plugins, such as user profiles, buddypress activity widget, groups, and buddypress log in.

    I had help from another user who helped remove the blank wall on my Activity page. This is what he told me to do and it worked perfectly:

    .activity article {
    background: none;
    }

    If anyone can help with the rest, that would be awesome! Please and thank you.

Viewing 25 results - 21,976 through 22,000 (of 94,543 total)
Skip to toolbar