Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 27,001 through 27,025 (of 94,561 total)
  • Author
    Search Results
  • Bilal Shahid
    Participant

    I’m new to Buddypress development and I’m creating a child theme of TwentyTwelve (for learning purpose) that integrates BuddyPress by custom templates.

    By default, bp_activity_action() outputs something like this on the activity stream page:

    wynonna posted an update in the group Blade Runner 2 days, 23 hours ago

    All I want to do is to modify this output. How can I do it? Are there any parameters to this function or bp_get_activity_action()?

    Thanks in advance.

    #177744
    Melle328
    Participant

    Yes, we are using database cache. The page is too slow without cache and Buddypress somehow unusable with.

    Bilal Shahid
    Participant

    Hi Marcella,

    I’m new to BuddyPress development and I would love to collaborate with you since this would be a *great* learning opportunity for me.

    Thanks.

    #177741

    In reply to: BuddyPress 2014 Survey

    Bilal Shahid
    Participant

    When will BuddyPress 2.0 be available?

    #177735
    Paul Wong-Gibbs
    Keymaster
    #177732
    thatmtnman
    Participant

    sounds like a lot of servers-and a lot of ram. Is concurrent users and speed a priority for the buddypress teams I wonder?

    #177729
    Timland
    Participant

    Unfortunately, that doesn’t help at all. One is to create a demo kind, which is used to check if things are working in the expected way, is not for use for live sites also plus it is not compatible. (the groupomatic,the Second plugin is not compatible)

    P.S 🙂 Though I stated what version of WordPress, buddypress and bppress versions am using on in my first post, I will restating it here also. (am using wordpress version 3.7.1 suffusion theme) (budypress 1.9 and bbpress 2.0 )

    Pls

    rorrock
    Participant

    As soon as I active buddypress i get the following..

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/templar:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/templar/public_html/wp-includes/functions.php on line 1366

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/templar:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/templar/public_html/wp-includes/functions.php on line 1366

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/templar:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/templar/public_html/wp-includes/functions.php on line 1366

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/templar:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/templar/public_html/wp-includes/functions.php on line 1366

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/templar:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/templar/public_html/wp-includes/functions.php on line 1366

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/templar:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/templar/public_html/wp-includes/functions.php on line 1366

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/templar:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/templar/public_html/wp-includes/functions.php on line 1366

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/templar:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/templar/public_html/wp-includes/functions.php on line 1366

    #177723
    BuddyBoss
    Participant

    If you have over 100,000 users you’ll need a very good server setup. Lots of RAM and ideally an SSD as BuddyPress writes to the server a lot. You can’t just cache BP pages for logged in users as they will see old content, so you need to be able to handle a lot of database queries all at once. Also set up a CDN and put all assets (images, CSS, JS, etc) there to reduce the load on your server. And minify them all too.

    I suspect you’ll need to set up some custom caching for certain parts of the site so they don’t bog down, particularly search. If you do a search of 100,000+ users, especially a search with multiple terms, it will take a while to run through all of those database entries. You can set up a cached index of all search results and just update it at intervals with a cron job, and then your search results will be much faster. Same with group search if necessary. This would have to be custom. What I’m describing is exactly how we set up search here: http://easyoutsource.com/workers. It will search through over 25,000 users with multiple parameters pretty fast. Prior to caching search results it was almost too slow to use.

    #177721
    BuddyBoss
    Participant

    Very cool.

    One suggestion – the homepage doesn’t reveal that it’s a BuddyPress theme or even a theme at all. I don’t think that is obvious to a new visitor to the site just yet.

    #177720
    BuddyBoss
    Participant

    I’ve never seen that before. Standard advice is to switch themes and deactivate all plugins, then switch everything back one by one to see if a specific theme/plugin is the cause.

    If not, BuddyPress does automatically inject links into some content. Profile fields for example, when viewing a user’s profile. Weird that it’s doing this on a random WP page though.

    As for ‘network activated’ I suggest leaving it to just ‘activated’ on your main site that you’re running BP on. No reason to run it everywhere.

    #177716
    thatmtnman
    Participant

    thanks guys. I understood that buddypress was working on splitting queries etc but wondered how it handled concurrancy issues in its present state and how the proposed query changes were expected to improve the situation.

    The question was asked ‘how big a scale?’. Our project is not spec’d out that way yet (it will be), but I’m exploring possible solutions, but I’d say in the 100k concurrent user order of magnitude. We would expect a large number of groups and within those groups very large numbers say in the 6 figure order of magnitude.

    cheers

    #177714
    Henry Wright
    Moderator

    @thatmtnman it’s getting better – lots of performance improvements are in-progress and many are planned. See some of the recently active Trac tickets for examples:

    https://buddypress.trac.wordpress.org/

    #177712
    webauthor
    Participant

    I’ve been reading a lot about this issue and it looks like BP is missing some very basic functionality. This is the first time using it and right out of the gate I see that there are some things that have me baffled.

    1) No way to create conditional fields. I’ve tried using the Gravity Forms User Registration Add-On plugin but there is no way to map fields properly. For example, in Gravity Forms I have Country, State and City fields. If someone selects United States as a Country for example, the next field that the user sees is the State field, but then I run into a problem when someone selects a City. In order to use conditional fields with Gravity Forms, I need to create many City fields (alabama-cities, alaska-cities etc). One City field for each State. These City fields are conditional fields that displayed to the user Cities based on what the user selects in the State field.

    The problem is that Gravity Forms wants me to first create User Profile Fields in BuddyPress. Then map each Gravity Forms field to the appropriate User Profile Field. Since I have many Gravity Forms cities field, there is no way I can tell Gravity Forms to use the City that the user selects and map it to a City User Profile field in BuddyPress.

    I’ve read a lot of posts on this forum dating back 5 years and no one has offered a working solution.

    2) Also, Why is there no option for an admin to be able to deny users from changing their Screenname? How about an option that prevents user from modifying a specific field such as Gender? All I see is havoc and chaos if you allow users to change certain fields.

    3) Why doesn’t BuddyPress offer a way to have different registration fields based on the user? Teacher / Student Registration, Doctor / Patient etc? It doesn’t make sense. Look at the core of BuddyPress. It’s a social network plugin. In almost every circumstance you have a need for one user have certain fields and another to have other fields. Trying to figure out how to show certain profile fields for one user and not another should be at the core of this plugin. Not to mention making it easy for the site owner to layout those fields so that they look nice. For example something as easy as defining the length of the fields. You can’t make those modifications without Firebug and CSS and PHP experience, or worse yet another plugin. If you use a plugin, then you have to pray to God the author of that plugin not to fall off a cliff or pray that he / she keeps that plugin conducive with the latest version of BP.

    I don’t mean to gripe but BuddyPress it seems to me that at it’s core, very little thought was given to how people would actually use it. Almost like it’s piecemealed together.

    Another big complaint is that it’s not compatible with the best WordPress themes on the planet – StudioPress. Shouldn’t the contributors of BP make sure that BP and StudioPress be compatible?

    I’m sorry if this sounds like a rant, it’s not. It’s just frustration. BP looks awesome but underneath the hood, there are a lot of obvious problems. My suggestion is to do what WooCommerce, StudioPress and others do. Sit down and figure out how to handle the big issues first. If need be, charge for BuddyPress. If the problem is that you have a bunch of contributors who work on things “they” deem important and at their own leisure, then the plugin suffers. Charge for it. Sit down and listen to the complaints and address them based on customer priority. Pay someone to reply to this forum so we’re not waiting days for a response. You’ll have much happier users and a much better plugin. Just my 2 cents worth. Honestly, since BP is virtually the only Plugin of it’s kind, not taking my advice will lead to someone creating a better wheel and that point, it’s only a matter of time before BP becomes obsolete.

    It’s been close to 24 hours and no response to my original question. If ANYONE has an answer as to how I can get a user to simply select a Country, then State, then City based on previous fields, I’d greatly appreciate it. Also if someone could please tell me how to prevent users from modifying certain fields that would be appreciated as well.

    Thanks

    #177711
    thatmtnman
    Participant

    Dear Forum,

    Does anyone happen to know how scalable buddypress is? Is buddypress suitable for really large projects?

    cheers!

    #177708
    Joss Winn
    Participant

    UPDATE:

    I’ve changed BuddyPress from being ‘network activated’ to just ‘activated’ on the main/root site. I don’t know what the recommended setup is these days, but we’ve had it network activated since BuddyPress only ran on WPMU.

    Having it activated on the main site only means that the ‘bug’ now only affects the main site and not every site across the network. So the example I give above no longer shows the issue.

    However, you can still see it on this page:

    http://blogs.lincoln.ac.uk/test/

    See how, whenever there is @lincoln.ac.uk either in the content of the page, or in a mailto link, BuddyPress injects a hyperlink with a random user’s email address following the root domain:

    http://blogs.lincoln.ac.uk/amakrzanowska%40lincoln.ac.uk/

    I’ve no idea how or why it’s constructing that URL and automatically inserting it whenever @lincoln.ac.uk is found in the body content.

    Ideas much appreciated!

    Joss Winn
    Participant

    Hello,

    This is difficult to explain, but you can see an example here:

    http://test.blogs.lincoln.ac.uk/2014/01/28/test-again/

    You’ll see that whenever @lincoln.ac.uk appears either in the text or as a mailto: link, the base URL plus a user’s email address is hyperlinked to the text.

    You’ll see ‘http://blogs.lincoln.ac.uk/amakrzanowska%40lincoln.ac.uk/’ appearing as a link, but at no point have I created and inserted that link. Something is doing it automatically. If I delete that user, another user’s email address appears instead, so it’s not related to any user account.

    Text referring to other domains, such as @lncd.org or @blah.org have no effect.

    This happens with any theme on any site on the network and is resolved if I deactivate BuddyPress, which is why I’m posting this here.

    Thanks for any advice. I’m at a loss to know what to do. If it makes any different, we’ve been running BuddyPress on this site since it was in Beta and noticed the problem a few days ago. Could it be a problem relating to recent changes in BuddyPress?

    Joss

    #177688
    Henry Wright
    Moderator

    Oops I do apologise! I read up to “What can I hook into?” and couldn’t think of a hook then got carried away thinking of how you could solve the problem 🙂

    EDIT: Perhaps you could request a new hook?

    https://buddypress.trac.wordpress.org/

    #177683
    noizeburger
    Participant

    Me too, I don’t like the way rtmedia presents the display of media. So I tried to manage a kind of playlist for mp3 by using BP xProfile Custom Fields Type.

    I wrote a short tutorial on how I did it: take a look right here

    blueonit
    Participant

    Hello all.

    Im using wordpress 3.8, buddypress 1.9.1 and bbpress 2.4.1

    I create a group, and a group forum for them, but the forums arent shown for the members of the group.

    Seems aproblem with the hidden option, but i dont want to the forums to be shown for all, im looking to make that each group see only their group forum, and not other group forums.

    Any help?

    #177670
    quince85
    Participant

    @mercime I created buddypress.php page as you advised here my code

    <?php
    /**
     * Displays the page section of the theme.
     *
     * @package Theme Horse
     * @subpackage Attitude
     * @since Attitude 1.0
     */
    ?>
    
    <?php get_header(); ?>
    
    <?php
    	/** 
    	 * attitude_before_main_container hook
    	 */
    	do_action( 'attitude_before_main_container' );
    ?>
    
    <div id="container">
    	 <?php while ( have_posts() ) : the_post(); ?>
    
    		<h1 class="entry-title"><?php the_title(); ?></h1>
    	<?php the_content(); ?>
    
    <?php endwhile; // end of the loop. ?>
    
    </div><!-- #container -->
    
    <?php
    	/** 
    	 * attitude_after_main_container hook
    	 */
    	do_action( 'attitude_after_main_container' );
    ?>
    
    <?php get_footer(); ?>

    My group and create group pages are working, although the layout is a bit messed up.
    But I don’t have the Request Membership button. Can you tell me how I can fix this?

    Thank you!

    #177662
    webauthor
    Participant

    I’m new to BuddyPress and wanted to know if there is a way to add conditional fields. For example, I’ve created a new Profile field called Country, based on the Country selected, I wanted the next field to display all the Cities for that Country. I’m using the latest version of BP which is Version 4.1.2.8.

    Is there an easy way to do this?

    Thanks

    #177661
    webauthor
    Participant

    I’m new to BuddyPress and wanted to know if there is a way to add conditional fields. For example, I’ve created a new Profile field called Country, based on the Country selected, I wanted the next field to display all the Cities for that Country.

    Is there an easy way to do this?

    Thanks

    #177652
    David Bisset
    Participant

    I am using a Gravity Form (think: regular form, no difference in this context) to upload an image and directly overwrite the logged in user’s current avatar.

    Thanks to Boone’s Ning-to-BP plugin, i managed to get MOST of this completed. Code is below. Avatar seems to be created and added to the proper directory… but i’m not understanding how BuddyPress now associates that new image with the user. I’m not seeing a “ok, this is the filename of the user’s avatar” now in bp_core_avatar_handle_crop(). BuddyPress and avatars always make my head hurt… and i’m so close. Just wondering what i’m missing.

    To clarify what DOES happen: After form gets submitted, both cropped versions of the image are put in the avatars / user_id directory. The only problem is that when i go to the user’s profile page, the old avatar is still there. DA DA DAAAAAAAA.

    	if ( $form['id'] == 2 ) { // upload avatar
    				
    		$filename = $lead[1];
    		if ( strpos( $filename, '/' ) ) {
    			$fn = explode( "/", $filename );
    			$filename = array_pop( $fn );
    		}
    		$oldfilepath = $lead[1];
    				
    		if ( $filename ) {
    		
    			if ( !preg_match( '/png|gif|jpg|jpeg|bmp|PNG|GIF|JPG|JPEG|BMP/', $filename ) )
    				return;
    		
    			$newfilepath = BP_AVATAR_UPLOAD_PATH . '/' . $filename;
    	
    			if ( !file_exists( BP_AVATAR_UPLOAD_PATH . '/avatars/' ) )
    				mkdir( BP_AVATAR_UPLOAD_PATH . '/avatars/' );
    		
    			if ( !file_exists( BP_AVATAR_UPLOAD_PATH . '/avatars/' . bp_loggedin_user_id() ) )
    				mkdir( BP_AVATAR_UPLOAD_PATH . '/avatars/' . bp_loggedin_user_id() );
    						
    			copy( $oldfilepath, $newfilepath );
    		
    			// Rudimentary squaring algorithm
    			$size = getimagesize( $newfilepath );
    		
    			$args = array(
    				'item_id' => bp_loggedin_user_id(),
    				'original_file' => '/' . $filename
    			);
    		
    			if ( $size[0] > $size[1] ) {
    				$diff = $size[0] - $size[1];
    				$cropx = $diff/2;
    				$args['crop_w'] = $size[1];
    				$args['crop_h'] = $size[1];
    				$args['crop_x'] = $cropx;
    			} else {
    				$diff = $size[1] - $size[0];
    				$cropy = $diff/2;
    				$args['crop_w'] = $size[0];
    				$args['crop_h'] = $size[0];
    				$args['crop_y'] = $cropy;
    			}
    					
    			bp_core_avatar_handle_crop( $args ); // todo - find a good way to check for avatar import. bp_core_get_avatar()?
    
    		}
    
    	}
    Matt Gibbs
    Participant

    This looks like it’s still a valid issue in 1.9.1. For anyone still looking, here’s a patch:

    On line ~1026 of buddypress/bp-templates/bp-legacy/js/buddypress.js, replace

    jq('#groups-dir-list').on('click', '.group-button a', function() {

    with

    jq('#groups-dir-list, #item-meta').on('click', '.group-button a', function() {

Viewing 25 results - 27,001 through 27,025 (of 94,561 total)
Skip to toolbar