Search Results for 'buddypress'
-
AuthorSearch Results
-
November 9, 2010 at 6:46 am #97810
In reply to: Send-to autocompletion is broken
shagazulu
MemberI also have the same problem. Not just with my regular site, to which I’ve done a ton of tweaking, but also on a fairly fresh install on a different domain. What happens is that I click on “send private message” and everything comes up fine, an email with name of the person I’m about to email, plus a text-entry box to the right of the name. If I try to type into that field, the first thing that happens is that my header image reverts to the original blue of the default buddypress install… and then if I click “tab”, the following html comes up in that field I just tabbed out of: “”. Odd.
This installation of WordPress only uses the BuddyPress plugin. No other. It’s a relatively clean install, again, with 1 plugin. My main site, however, also exhibits this problem.
thanks in advance for the help on this.
November 9, 2010 at 6:37 am #97809kunalb
Participant@farmerpaul I’ve added root components starting from bp_loaded, with the component registered at setup_globals (setting up $bp->{component name}, etc.) and bp_setup_root_components and adding the controller for the component at wp,1 and navigation at wp,2 (I needed them to be after init as I was joining custom posts types which become available at init).
See these files:
http://code.google.com/p/buddypress-custom-posts/source/browse/trunk/buddypress-custom-posts/controller.php
http://code.google.com/p/eventpress/source/browse/trunk/eventpress/controllers/main.phpNovember 9, 2010 at 5:49 am #97807farmer paul
MemberWell I couldn’t resist investigating further, and it turns out that the code that BuddyPress runs to compare the URL to the `$bp->root_components` array happens during the `bp_loaded` action, which happens during the WP `plugins_loaded` action, which seems to happen *before* the `bp_init` action – which is the action I’m supposed to use to cause my plugin’s code to be loaded in the first place.
So basically it seems I’m screwed if I want to cleanly add a root component to BuddyPress from within my plugin. I’ll have to do a bit of fudging in my plugin’s `loader.php` file instead.
November 9, 2010 at 5:26 am #97805In reply to: uploading a child; “missing parent theme”
Mike
ParticipantMake sure your style.css starts with…
/*
Theme Name: BuddyPress Dusk
Theme URI: http://example.org/themes/dusk/
Description: Dark theme for BuddyPress.
Version: 1.0
Author: John Doe
Author URI: http://example.org/
Template: bp-default
Tags: buddypress, two-column, grey, dark
*/and don’t forget the bold line!
November 9, 2010 at 5:26 am #97804In reply to: Rewrite the member page
John
Participant@modemlooper I’ve put define ( ‘BP_ENABLE_ROOT_PROFILES’, true ); in bp-custom.php and still nothing.
Is there something special to do ?November 9, 2010 at 4:36 am #97801In reply to: Privacy Comes to BuddyPress (very soon)!
Brian JM
Participant@jeffsayre Uhhh… is it the 8th or is it the 15th? The main page says the 8th, today, but the badge at the top says 15th.
November 9, 2010 at 1:30 am #97791In reply to: Buddypress on WP 3.0.1
LPH2005
ParticipantHave you read this post?
Hope this helps.
November 9, 2010 at 12:51 am #97789In reply to: Installation caused avatar error that displays code
PeterMHoward
MemberI had the same problem, and this page is ranking in google for the error message, so for future reference:
I had the “Avatars” plugin installed — disabling it made the error go away (Buddypress provides the functionality I need)
-p
November 9, 2010 at 12:37 am #97786In reply to: Date in profile is broken in latest BP release
dstar1
Member@burtadsit i have same problem ….. i am using latest theme pack plugin for buddypress so that would be controlling the date output on the profiles …. everyones birthday is 1 day back ….. please help
November 9, 2010 at 12:11 am #97785In reply to: Avatars of member not showing in all blogs
chestnut_jp
MemberSInce BP 1.2.6 has the same problem, I would like to open my idea, which is based on @liemcc.
As $upload_dir in bp-core-avatars.php seems to be correct, I changed $upload_dir only.
At line 571 or so,
`[ Original ]
$upload_dir = str_replace( get_blog_option( $current_blog->blog_id, ‘home’ ) , get_blog_option( BP_ROOT_BLOG, ‘home’ ), $upload_dir );[ Changed ]
$upload_dir = get_home_url( BP_ROOT_BLOG, ‘/’ ) . get_blog_option( BP_ROOT_BLOG, ‘upload_path’);`Note: There are some other way of correction, and I selected the above becuase I do not want to write the direct path like “/wp-content/” in case upload path changes in the future again.
The reason why we have to change the original script is that WP 3.0.1 has changed upload path for the Blog ID 1 from blogs.dir to “wp^content/uploads” unless we change the default upload path, where “BP_ROOT_BLOG” means Blog ID 1.I hope this will be helpful for everyone and the next-version BP.
November 8, 2010 at 11:03 pm #97779zomex
MemberThanks so much! I used https://wordpress.org/extend/plugins/wpmu-new-blog-defaults/ and it worked perfectly! All I need to solve now is the admin bar issue which I have posted here: https://wordpress.org/support/topic/can-i-editdisable-adminbarcssver301-not-adminbarcss?replies=1
Thanks!
November 8, 2010 at 9:45 pm #97770In reply to: Mapology – Adding maps for users and groups
Anonymous User 96400
Inactive@gregfielding
RSS feeds will be easy. I’ve added it to the features listNovember 8, 2010 at 8:39 pm #97759In reply to: members// adding 2 slashes instead of 1
damien
Participantnope no plugins i am using wp 3.01 and latest download of buddypress i have permalinks set to /archives/%post_id%.
November 8, 2010 at 7:55 pm #97756r-a-y
Keymaster@auphoria – Review how to create a functions.php file in your theme’s folder:
https://codex.buddypress.org/buddypress-site-administration/functions-php/Then add the code snippet in between the PHP tags.
November 8, 2010 at 7:15 pm #97754In reply to: Profile Fields for GROUPS
Andrew Tegenkamp
Participant@EvanBerard ~ I hope this helps, but if not, let me know and I’ll see if I can help some more. The code is certainly not ready for prime-time but does give the ability to add profile fields for groups in Buddypress. You have to know your way around the code a little to understand what is going on though. You can see loader.php @ buddypress-group-fields.php @ http://pastebin.com/DfxwhLXU and compare it to my starting point which is the BP Group Extension API in the BP Codex @ https://codex.buddypress.org/developer-docs/group-extension-api/ to see what I’ve done, which isn’t much, but hopefully it helps you a bit! The ZIP is online for now at http://dl.dropbox.com/u/244479/buddypress-group-fields.zip if you want it but probably won’t keep that up there forever so I wanted to include the code as well.
November 8, 2010 at 6:27 pm #97752In reply to: Unable to create groups or forums
dains
Participant@r-a-y
Thanks! Sorry I didn’t reply sooner, I don’t have email notifications on for this site. That’s a neat piece of code for the library.November 8, 2010 at 6:26 pm #97751In reply to: Buddypress on WP 3.0.1
parekhdip
MemberAlready did that but the “BLOG” is not working still throwing 404 errror.
November 8, 2010 at 5:12 pm #97747In reply to: One forum per blog
clawder
MemberThanks for your reply @sofian. I installed bbPress inside my Buddypress platform, but didn’t work how I can.
How can I do to get independent forums inside my Buddypress installation?
November 8, 2010 at 4:43 pm #97745In reply to: One forum per blog
Sofian J. Anom
ParticipantNovember 8, 2010 at 4:29 pm #97743Nahum
Participant@defunctlife OH snap! you’re right. I’ll update that, thanks!
November 8, 2010 at 4:08 pm #97739Justin Frydman
Participant@nahummadrid I think you have a typo on your blog: where you say “From your theme/activity/post-form.php replace the following lines:” I think you mean theme/activity/index.php right?
November 8, 2010 at 1:43 pm #97733In reply to: How to disable Gravatar completely?
Javier Arques
ParticipantHi @BuddyPresser !
I have found out another way get it not editing core files. Put this filter into your functions.php file:`function bp_remove_gravatar ($image, $params, $item_id, $avatar_dir, $css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir) {
$default = ‘http://yoursite.net/wp-content/plugins/buddypress/bp-core/images/mystery-man.jpg’;
if( $image && strpos( $image, “gravatar.com” ) ){
return ‘
‘;
}else
return $image;}
add_filter(‘bp_core_fetch_avatar’, ‘bp_remove_gravatar’, 1, 9 );function remove_gravatar ($avatar, $id_or_email, $size, $default, $alt) {
$default = ‘http://yoursite.net/wp-content/plugins/buddypress/bp-core/images/mystery-man.jpg’;
return ““;
}add_filter(‘get_avatar’, ‘remove_gravatar’, 1, 5);
`It worked for me
November 8, 2010 at 1:06 pm #97730Justin Frydman
Participant@nahummadrid thanks a lot, I wil try to implement it today.
November 8, 2010 at 1:00 pm #97729Nahum
Participant@defunctlife I made a blog post about how i did it if you want to check it out.
November 8, 2010 at 9:06 am #97721In reply to: Avatar Upload Issues
mcgalat
MemberWP – 3.0.1
BuddyPress – 1.2.5.2
Buddypress theme with compatibility
Ok.. I want to make clear the problem I have been having with my Avatar Cropping process in my BuddyPress installations.
I can crop successfully on my dashboard, Using the “User-Avatar” plugin. But then I installed buddypress and when users attempt to build their own avatars inside the themed site, the only thing I get is a cropped preview of the top left corner of any picture I choose(both pictures display properly), but no ability to crop or even see the cropping elements.
I have read thru the solutions, and tried to implement them. First.. I use “qian-ava”s solution. I am using WP 3.0… so I need to find my Upload paths by going to..
SETTINGS -> MEDIA
When there I add to the Uploading Files fields by entering “wp-content/uploads” into the” Store uploads in this folder” area and my full path of http://www.ningbotoday.com/wp-content/uploads/ into the “Full URL path to files” area. Just note… I added all the double quotations.
After I do this I attempt to go into line 389 of my bp-core-avatars.php file and…
‘Replace:
if ( !$path = get_option( ‘upload_path’ ) )
$path = WP_CONTENT_DIR . ‘/uploads’;
With:
if ( !$path = get_option( ‘upload_path’ ) )
$path = WP_CONTENT_DIR . ‘/uploads’;
else $path = ABSPATH . $path;’
But… I do not have the “if” statement to replace! The closest thing I have is from 384 – 390…
‘if ( empty( $bp->avatar_admin->resized ) )
$bp->avatar_admin->image->dir = str_replace( BP_AVATAR_UPLOAD_PATH, ”, $bp->avatar_admin->original );
else {
$bp->avatar_admin->image->dir = str_replace( BP_AVATAR_UPLOAD_PATH, ”, $bp->avatar_admin->resized );
@unlink( $bp->avatar_admin->original );}’
But I don’t see anything that I can replace. So either way.. I tried to test the script and just pop it in nearest to the line 389 to no avail. I ended up getting an error and my page does not load. Back to the drawing board. I reversed the process and started again.I then took “Creay”s advise (https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/avatar-upload-issues/?topic_page=7&num=15#post-70855), because his problem directly describes mine, and decided to look into the expression of Jcrop and its possibility of not firing off. He changed core-cssjs.php inside the pb-core folder inside the buddypress plugin. He added
‘<script src="/wp-includes/js/jcrop/jquery.Jcrop.js”>’
After the line ‘$aspect_ratio = (int) constant( ‘BP_AVATAR_FULL_WIDTH’ ) / (int) constant( ‘BP_AVATAR_FULL_HEIGHT’ ); ?>’I have a area in my bo-core-cssjs.php file that reads between line 88-91
‘ // Calculate Aspect Ratio
if ( (int) constant( ‘BP_AVATAR_FULL_HEIGHT’ ) && ( (int) constant( ‘BP_AVATAR_FULL_WIDTH’ ) != (int) constant( ‘BP_AVATAR_FULL_HEIGHT’ ) ) )
$aspect_ratio = (int) constant( ‘BP_AVATAR_FULL_WIDTH’ ) / (int) constant( ‘BP_AVATAR_FULL_HEIGHT’ );
?> “
So after the ?> I added the line. Nothing. Still not getting the crop to work properly. I encourage anyone to take a try and register on the site.. I would like to nail this problem down before I launch the site or even more to far forward. The site is http://www.ningbotoday.com
Thank you for all your help in advance. -
AuthorSearch Results