Search Results for 'buddypress'
-
Search Results
-
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.
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
Topic: scalablity of buddypress
Dear Forum,
Does anyone happen to know how scalable buddypress is? Is buddypress suitable for really large projects?
cheers!
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
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?
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
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
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()? } }