Search Results for 'buddypress'
-
AuthorSearch Results
-
January 11, 2009 at 6:03 pm #36106
fishbowl81
ParticipantHopefully this will make sense
I have 4 directories, which I download the svn update to, and then copy them over to the live site:
/bbpresssvn
/buddypresssvn
/wordpresssvn
/privatedevsvn
By logging into the command line, I can do this
svn up
inside each of those 4 folders and it will update them to the newest trunk release. Then I run this command (or similar for buddypress)
cp -R * ../beta
and copy the files to the dev server. So far this has worked really well.
The private dev svn is where I upload my own plugins and themes I’m doing development on. This method is extremely fast as I never have to ftp any files between the internet, my laptop and back up to the web server. It does require command line access and knowledge of svn.
Hope this helps,
Brad
January 11, 2009 at 6:03 pm #36105In reply to: BuddyPress Showoff: Post your links
realfam
Memberunder construction
January 11, 2009 at 5:52 pm #36101realfam
Memberthat worked, once again you are the man. thanks.
I think the thread you closed ended up being related to WP, not specifically BP, but the people on here are more responsive thann the wordpress.org board. It looks like my background is making that line….not sure how to tweak the .css to make it work right.
January 11, 2009 at 5:41 pm #36100In reply to: Google Map Integration
gwrey
Memberjvinch – this is the code I use for the Featured Members on the homepage:
<div class="widget">
<h2 class="widgettitle"><?php _e( 'Featured Members', 'buddypress' ) ?></h2>
<?php $users = BP_Core_User::get_random_users( 2, 1 ) ?>
<?php if ( $users['users'] ) { ?>
<ul id="featured-member-list" class="item-list">
<?php foreach( $users['users'] as $user ) : ?>
<li>
<div class="item-title"><strong><?php echo bp_core_get_userlink( $user->user_id ) ?></strong></div>
<div class="item-avatar">
<a href="<?php echo bp_core_get_userlink( $user->user_id, false, true ) ?>"><?php echo bp_core_get_avatar( $user->user_id, 1 ) ?></a>
</div>
<div class="item">
<!-- div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( get_usermeta( $user->user_id, 'last_activity' ), __('active %s ago') ) ?></span></div -->
<?php if ( function_exists( 'xprofile_get_random_profile_data' ) ) { ?>
<!-- ?php $random_data = xprofile_get_random_profile_data( $user->user_id, true ); ? -->
<div class="item-title profile-data">
<strong>About Me: </strong><?php echo BP_XProfile_ProfileData::get_value_byid( 2, $user->user_id ); ?>
</div>
<div class="item-title profile-data">
<strong>RV Type: </strong><?php echo preg_replace('/^.*?"(.*?)".*$/', '$1', BP_XProfile_ProfileData::get_value_byid( 3, $user->user_id ) ); ?>
</div>
<?php } ?>
</div>
</li>
<?php endforeach; ?>
</ul>
<?php } else { ?>
<div id="message" class="info">
<p><?php _e( 'There are no members to feature.', 'buddypress' ) ?></p>
</div>
<?php } ?>
</div>January 11, 2009 at 5:40 pm #36099In reply to: Groups – Mods and Admins
Burt Adsit
ParticipantI understand completely. What we got here is just the core of a wonderful thing. Some areas of bp are feature rich and some need to be fleshed out. It’s up to us to determine what the features should be based on how we want to use bp. Our problem now is that the docs for the features that do exist are kinda sparse. Like any open source product it’s up to us to create them.
This is really how wpmu, bbpress and buddypress are designed. The architecture is extensible and the extensions and features grow out of need. I’d much prefer this way of doing things than being stuck with something monolithic. Here’s what ya get. Take it or leave it.
January 11, 2009 at 5:14 pm #36096In reply to: Small issue on my homepage, driving me NUTS!!!!
Burt Adsit
ParticipantWhat does this have to do with bp? This is a buddypress forum.
January 11, 2009 at 5:07 pm #36092Burt Adsit
ParticipantNo, you wouldn’t have to do any of that running around. If that theme is only used on that blog and you have it turned off for all other blogs except the home blog on your site, then you just have to drop this into functions.php for that theme.
remove_action( 'wp_footer', 'bp_core_admin_bar' );
remove_action( 'wp_head', 'bp_core_add_css' );In that theme the admin bar won’t show. Ever. If you use that theme on other blogs then you’ll have to wrap those two calls in some code to detect what blog it’s running on and only make those calls on blog id 1.
You could also create a plugin that runs in /mu-plugins, use those two calls above and just detect what blog it’s running on and make the calls only for blog id 1. That might be better.
January 11, 2009 at 4:55 pm #36091In reply to: BuddyPress Showoff: Post your links
nickmu
Memberso far, it seems we’re the first band to be using BuddyPress.
Check us out at:
We’re not using the blog features on it…we’re mainly using it as a way for our fans to connect w/ us and our video posts etc. We just launched it yesterday. come check us out.
Nick
January 11, 2009 at 3:58 pm #36085In reply to: Google Map Integration
Bergsten
ParticipantThe plugin adds a Google Map into each profile with a marker where the member is. The member can manually set the location by moving the marker and saving it.
If the member hasn’t saved the position, the position of the IP-address the member last used to login is used.
You need to have the latest buddypress-member theme from trunk in order to see the map in the member profile as I’m calling add_action(‘bp_custom_profile_boxes’, ‘bp_google_maps_profile’, 2); to insert the map into the profile.
January 11, 2009 at 2:52 pm #36082realfam
Membersomething similar. I dont want to run around and have to manually put this on all other pages, and all user pages…that could be really fun with a thousand or so members. Anyway, there has to be a simple way to add or remove something just on the main page and thats it to stop it from loading. Any ideas to simplify this?
January 11, 2009 at 2:48 pm #36081Burt Adsit
ParticipantKinda something like this?: https://buddypress.org/forums/topic.php?id=540
January 11, 2009 at 12:24 pm #36075In reply to: Google Map Integration
Bergsten
ParticipantI have an early beta version of a Google Maps plugin that works with WordPress, WPMU & BuddyPress.
Go to http://www.ezbizniz.com/wordpress-plugins/google-maps and click on the “WP Google Maps – 2.0b1” link to download.
Put the wp-google-maps folder in mu-plugins, copy the bp-google-maps.php file to mu-plugins, go to wp-admin/admin.php?page=wp-google-maps/wp-google-maps.php and enter your Google Maps API key for your site.
January 11, 2009 at 11:04 am #36074In reply to: Differences between BP & MU 2.6.5 & MU 2.7
Per Søderlind
ParticipantI wouldn’t expect / demand that buddypress should work with a beta. I believe Andy et al. will after 2.7 is released.
January 11, 2009 at 7:21 am #36066In reply to: Differences between BP & MU 2.6.5 & MU 2.7
Maxaud
ParticipantAlso, noticed that the “Group Forums” section isn’t present in WPMU 2.7 but it is in 2.6.5
It says the following and has the following options:
“To enable forums for each group in a BuddyPress installation, you must first download, install, and setup bbPress and integrate it with WordPress MU.
Once you have bbPress set up correctly, enter the options below so that BuddyPress can connect.”
– bbPress URL
– bbPress username
– bbPress password
– Cache requests
– Caching enabled
– Cache timeout
January 11, 2009 at 4:41 am #36059In reply to: Installing BuddyPress causes completely blank page
dug
MemberThanks burtadsit.
In my install it looks like none of the slugs got created… I have no idea why… but it means /groups or /register of course go nowhwere
. Apache error log ain’t much use… of course it tells me those pages are 404!! Is there some way of manually creating these in the DB? It looks like a number of people are getting one or more slugs not created for some reason. My install is in the site root, so nothing to do with that. It’s on my own Clark Connect server, so shouldn’t suffer any of the shared hosting issues. I’m trawling through bp-core.php right now and sticking echo’s all over the place, I’ll report back if I find anything.
January 11, 2009 at 3:53 am #36056In reply to: Installing BuddyPress causes completely blank page
Burt Adsit
ParticipantNot sure why this thread got overlooked.
As far as I know the choice of subdirectory or subdomain as an mu blog option on install doesn’t matter. I have seen complications where people install mu in a subdirectory under the document root and then have chosen the subdirectory blog option.
I haven’t been able to pin it down but some weirdness crops up in that case. In both cases it’s been difficult to determine exactly what the problem was. They had difficulties getting their shared hosting provider to cooperate. It’s kinda tough to pin things down when getting access to error logs is like trying to get an audience with the pope.
There are no ‘subdomain’ only specific requirements.
January 11, 2009 at 3:08 am #36055In reply to: Installing BuddyPress causes completely blank page
dug
MemberHmmm… disappointed at the lack of response to a reasonable request.

None of the tabs work in my install, I get the same blank pages. And guess what… I chose directory instead of subdomain. It would be kinda nice if someone could confirm if there is in fact a problem with this – it would save a lot of people wasting their time and potentially giving up… and not coming back…
January 11, 2009 at 1:40 am #36052In reply to: no links work at all (noob)
ballerjones
Memberyeah, I’ve already registered my sub domains. It was just alumniconnect.localhost. But it’s not like my subdomain is getting a 404 error, they pages are (news, members, etc).
I have no idea what to do.
defining the URL (negating mod_rewrite, in case that was the problem) I did:
http://alumniconnect.localhost/wp-content/themes/buddypress-home/blog.php
it loads, surprisingly, but reads the error:
“Fatal error: Call to undefined function get_header() in C:localhostalumniconnectwp-contentthemesbuddypress-homeblog.php on line 1”
January 10, 2009 at 5:04 pm #36038In reply to: Google Map Integration
francoisl
MemberHi everybody,
Newbie with BuddyPress (INstalled today
), I’m looking for a google map plugins that permit to create map by group to localize members. The home page could display a global this map showing members ofdifferents groups. Do you think its realisable ? Someone is it interested in this ? I’ve no devalopper telent by I can help in other maneer (sorry for my terrific english
).Many thanks
François
January 10, 2009 at 2:14 pm #36036In reply to: Is it possible to get only the avatar-url ?
seppolaatle112
ParticipantDo you know what gerbilo? You are right. That piece of code you came up with actually did exactly what I asked.
It was me who came with too little information in the thread to get a correct answer to what I actually needed, and that’s why this would not work for me.
Without writing much on exactly what I wanted to do, I can at least mention that I got it working now. It was actually kind of fun to take a look into the Buddypress Core-files and actually do it myself.
– Thanks for helping me out with my issues here.!
January 10, 2009 at 1:36 pm #36035In reply to: Log Out Redirect Error
Burt Adsit
ParticipantI have a signature running on other forums that reads: “You’re not doing anything wrong. Stop trying to do it right.”
In this case that’s appropriate. The stock behavior for mu and bp is to redirect back to the original url. But we don’t have to live with stock behavior. We got code.
The offending hunk we’re talking about is the various places that bp allows a user to logout. In all cases it has ‘redirect_to=’ site_url(). This takes the user back to where the logged out from. site_url() is what you want to change.
You need to say get_blog_option(1, ‘siteurl’) instead of that. That gets the url for the root/home blog in mu, blog id 1.
You’ll see two logout lines wherever bp allows a logout option. One is for mu 2.7 and it reads: wp_logout_url(site_url()). The other just reads ‘redirect_to=’ site_url()
The mu 2.7 version adds some security stuff to the mix and needs that wp_logout_url() call. In both cases and in all spots change ‘site_url()’ to get_blog_option(1, ‘siteurl’) and things will work as you want them to work.
I see the header in the home theme, two places in the member theme and the admin bar as spots to change.
header.php - www/wp-content/themes/buddypress-home line 48 <?php if ( function_exists('wp_logout_url') ) : ?>header.php - www/wp-content/member-themes/buddypress-member line 46 <?php if ( function_exists('wp_logout_url') ) : ?>bp-core-adminbar.php - www/wp-content/mu-plugins/bp-core line 81 if ( function_exists('wp_logout_url') ) {bp-core-templatetags.php - www/wp-content/mu-plugins/bp-core line 55 if ( function_exists( 'wp_logout_url' ) ) {Those line numbers may not be exact in all cases but it’ll be in the general vicinity.
The problem that you have to be aware of is that you are modifying stuff that will get overwritten when you update your bp installation. You’ll have to make sure that if you use SVN things get merged in properly and if you’re not using SVN then you’ll manually have to go around and put the mods back in each time.
January 10, 2009 at 7:09 am #36028In reply to: Log Out Redirect Error
elishahong
MemberHey I apologize for that, I thought something went wrong with my browser.
Well I installed BuddyPress using the Combo Zip and I got all that problem. When I reinstalled using the trunk version, everything became alright but the login issue remains a problem.
It seems that the redirect code is not redirecting to the main blog and as I mentioned earlier. I am referring to the “Header” section of the “Home Theme”
I identified the code from the header. Here’s the code:
<?php if ( function_exists(‘wp_logout_url’) ) : ?>
/ ” alt=”<?php _e( ‘Log Out’, ‘buddypress’ ) ?>”><?php _e( ‘Log Out’, ‘buddypress’ ) ?>
<?php else : ?>
/ “><?php _e( ‘Log Out’, ‘buddypress’ ) ?>
<?php endif; ?>
Is it possible for someone to help me adjust this script so as to make it log out to the login page instead of a redirect? Although I wish that it would redirect to my main blog but I’ll settle for less. Help me look at a bigger picture here, I’ve installed everything and followed every possible instruction that I can find but help me understand what’s going on with this code and I’ll learn from it.
Thank you for your patience and understanding.
January 10, 2009 at 3:23 am #36018In reply to: author avatar inside the post
nickmu
MemberI got my avatar to show up in the single post using <?php bp_post_author_avatar() ?>
but what code would i need to add to make it click into the authors profile in buddypress?
Thanks for your help!
Also, amazing work on buddypress Andy!
January 10, 2009 at 3:20 am #36017In reply to: Log Out Redirect Error
Burt Adsit
ParticipantAll these errors seem to be related to the fact that the various components in bp aren’t initializing properly. Your setup is like:
../<document root>/<wpmu subdirectory>/wp-content/mu-plugins/<bp installed here>
../<document root>/<wpmu subdirectory>/wp-content/member-themes/buddypress-member
../<document root>/<wpmu subdirectory>/wp-content/themes/buddypress-home
?
January 9, 2009 at 10:48 pm #35998In reply to: Regarding the themes
Wardee
Participanthttps://codex.buddypress.org/getting-started/installing-individual-components/
Scroll down to Installing the Home Theme
-
AuthorSearch Results