Search Results for 'wordpress'
-
AuthorSearch Results
-
March 2, 2009 at 7:52 am #39025
In reply to: BuddyPress For WordPress (Not MU) Coming
Idiom
ParticipantWow.. the Site Wide Plugin looks fantastic.. This makes for loads of possibilities.. like a standard wpmu album plugin. of course only after integrating the code to display it in the members directory. ..
I would really like to see the blogging functionality get added to the buddypres administration pages rather than the standard wp admin back-end. Any hopes of this being done?
Brian
March 2, 2009 at 7:39 am #39023In reply to: BP Avatars in bbPress
John James Jacoby
KeymasterWell, while the GF is in the shower, I’ll quick do this… Burt this is aimed directly at you, since I gather most others won’t want to do this kind of thing…
oci_bb_group_forums.php:
This prevents wrong inclusion order when using deep forum integration.
if (defined(BACKPRESS_PATH))
require_once( BACKPRESS_PATH . '/class.ixr.php' );This will return ALL user info, in the event that bbGroups does not exist yet for that user.
function oci_get_userdata($u){
$u = (int) $u;
$user = bb_get_user($u);
if ($user->bbGroups) {
return stripslashes_deep((array)$user->bbGroups);
} else {
return stripslashes_deep((array)$user);
}
}oci_bp_group_forums.php:
This prevents wrong inclusion order when using deep forum integration.
if (!defined(BBDB_NAME))
require_once(ABSPATH . WPINC . '/class-IXR.php');This is how I passed the user info over from xprofile to bbGroups:
/**
* oci_get_user_filter()
*
* Live example of how to use the filter mechanism to add info to the data going across to bbpress
* This filter adds the user's forums and forums where the user is staff into the $user array
* @return
* @param associative array $user from oci_get_user()
*/
function oci_get_user_filter($user){
$users_group_info = oci_get_users_group_info($user['id']);
$user['users_forums'] = $users_group_info['forum_ids'];
$user['user_is_staff'] = $users_group_info['staff_ids'];
$user['custom_title'] = bp_get_field_data('Custom Title', $user['id']);
$user['signature'] = bp_get_field_data('Signature', $user['id']);
$user['aim'] = bp_get_field_data('AIM', $user['id']);
$user['yahoo'] = bp_get_field_data('Yahoo!', $user['id']);
$user['gtalk'] = bp_get_field_data('GTalk', $user['id']);
$user['msn'] = bp_get_field_data('MSN', $user['id']);
$user['jabber'] = bp_get_field_data('Jabber', $user['id']);
$user['icq'] = bp_get_field_data('ICQ', $user['id']);
return $user;
}
add_filter('oci_get_user','oci_get_user_filter',10,1);oci_bb_custom.php
How I transfer the username (just in case fullname hasn’t been edited from wordpress.org transfer – see above oci_get_userdata changes):
function oci_user_name($u){
$bp_user = oci_get_userdata($u);
if ($bp_user['fullname']) {
return $bp_user['fullname'];
} else {
return $bp_user['display_name'];
}
}bbpress/active-theme/functions.php
What I added to make the custom functions go:
add_filter('get_user_profile_link', 'bppro_user_profile_link', 10, 2);
function bppro_user_profile_link($link, $uid) {
$user = bb_get_user($uid);
return(bb_get_option('wp_siteurl').'/members/' . $user->user_login);
}
function bppro_user_url() {
global $bp;
return($bp->loggedin_user->domain);
}
function bp_check_title($user) {
$user_id = get_post_author_id();
$user = bb_get_user($user_id);
$user_title = $user->bbGroups['custom_title'];
if ($user_title) {
return $user->bbGroups['custom_title'];
} else {
return;
}
}
add_filter('post_author_title', 'bp_check_title');
add_filter('post_author_title_link', 'bp_check_title');
function post_author_signature() {
$user_id = get_post_author_id();
$user = bb_get_user($user_id);
$user_signature = $user->bbGroups['signature'];
if ($user_signature) {
echo '<p class="post-signature">__________<br />' . $user->bbGroups['signature'] . '</p>';
}
}bbpress/active-theme/post.php
Displays avatar from BuddyPress if it exists, else bbPress/Gravatar. Also displays hooked data from above functions.php:
<div class="threadauthor">
<dl>
<dt><a class="oci-link" href="<?php echo oci_user_link($bb_post->poster_id); ?>"><?php echo oci_user_name($bb_post->poster_id); ?></a></dt>
<dd><span class="oci-title"><?php $patl = post_author_title_link(); ?></span></dd>
<dd><?php if (oci_user_avatar($bb_post->poster_id)) { echo oci_user_avatar($bb_post->poster_id); } else { post_author_avatar_link(); }?></dd>
</dl>
</div>
<div class="threadpost">
<div class="poststuff">
<?php printf( __('Posted %s ago'), bb_get_post_time() ); ?> <a href="<?php post_anchor_link(); ?>">#</a> <?php bb_post_admin(); ?><?php bb_quote_link(); ?>
</div>
<div class="post">
<?php post_text(); ?>
</div>
<?php post_author_signature(); ?>
</div>March 2, 2009 at 2:57 am #39004In reply to: BuddyPress For WordPress (Not MU) Coming
John James Jacoby
KeymasterWell that’s interesting, and pretty much perfect for both platforms actually.
Makes me wish I was more involved in WordPress from the get go, sometimes I get a little lost in the code still to be able to put something that cool together.
Good job Andy. :thumbup:
John James Jacoby
KeymasterTrent is correct. Unlike WordPress, those links are hardcoded in the header files (which I rather like also.)
March 1, 2009 at 11:04 pm #38986In reply to: BuddyPress For WordPress (Not MU) Coming
Trent Adams
Participant@conceptfusion if the following gets implemented, it won’t slow down development for either WP or WPMU.
https://trac.mu.wordpress.org/ticket/909
Trent
March 1, 2009 at 10:27 pm #38978In reply to: BuddyPress For WordPress (Not MU) Coming
Simon
ParticipantNot wishing to be a party pooper but my vote DEFINATLY goes for getting the feature-set for BuddyPress MU complete before even looking to release for Single Instance WP… and that includes the yet to be implemented BuddyPress Photo Album component.
March 1, 2009 at 10:12 pm #38972In reply to: BuddyPress For WordPress (Not MU) Coming
John James Jacoby
KeymasterJed, migrating from WP.org to WPMU is not a super simple task unfortunately. It is possible, but you are still diving into phpMyAdmin more than likely.
My advise for a migration is to do it at a time when your user base is low and the database is small so that you can manipulate the data easier.

If you don’t want the blog functionality but *might* want it later, you can still install WPMU and just disclude the BuddyPress Blogs plugin.
March 1, 2009 at 10:10 pm #38970In reply to: BuddyPress For WordPress (Not MU) Coming
jedbarish
ParticipantPerfect, I hope it wont be too long because I prefer to have a social network without a blog/site as long we could migrate into WPMU later on.
March 1, 2009 at 10:05 pm #38968In reply to: BuddyPress For WordPress (Not MU) Coming
Trent Adams
Participant> 2 weeks but < 6 months should be about right
March 1, 2009 at 10:00 pm #38966In reply to: BuddyPress For WordPress (Not MU) Coming
John James Jacoby
Keymaster“in” a few weeks or “for” a few weeks.
There’s a distinct different in meaning there.
March 1, 2009 at 8:55 pm #38958In reply to: BuddyPress For WordPress (Not MU) Coming
Trent Adams
ParticipantI have a feeling the only version that works now is on Andy’s test computer and will not be released for awhile!
March 1, 2009 at 8:50 pm #38957In reply to: BuddyPress For WordPress (Not MU) Coming
Mythailife
ParticipantSo, are you saying that there is a version somewhere that will work now? Because I’d love to test it. I have a dedicated server and the current ver of WordPress. If you got a download then I got some time to test…
March 1, 2009 at 6:35 pm #38946In reply to: BuddyPress For WordPress (Not MU) Coming
Andy Peatling
KeymasterIt is coming, it won’t be in a few weeks though.
There are a few things to work out first –
1. Registration fields on the standard WP register page
2. Performance on a shared host
Other than that it already works with a few minor changes I’m yet to commit.
March 1, 2009 at 2:40 pm #38940In reply to: Who wants a media plugin for BP
gpo1
ParticipantKaltura to port over to BP : https://wordpress.org/extend/plugins/all-in-one-video-pack/
Would be a good answer to server loads because users can upload videos to 3rd party host and not yours that would save you server performance and storage issues!
John James Jacoby
KeymasterbbPress is a standalone product, similar to WordPress MU and WordPress.org. The idea is to keep everything modular, and allow people to pick and choose what they want to use.
I think that the way that the Forums are implemented into BuddyPress will change once BackPress because a more mature API.
In the meantime, the forums work almost exactly like the wire does, but for groups instead. Groups also have their own wire, so in reality having a forum is a little redundant until someone takes the initiative to introduce some more functionality into the BuddyPress forum area.
March 1, 2009 at 4:24 am #38929In reply to: BuddyPress For WordPress (Not MU) Coming
Mythailife
ParticipantWhere can we get more info on this? This could possibly be huge. Just for the fact that most people who use wordpress aren’t that technical. So, if anyone has any data on this project I would like to see it.
Thanks for letting the cat out of the bag this is HUGE!!!
March 1, 2009 at 2:49 am #38927In reply to: Announcing: toksta* chat plugin for BuddyPress
gogoplata
ParticipantFor a general chat for logged in users I used these instructions and it worked perfectly.
March 1, 2009 at 12:10 am #38921In reply to: can’t activate widgets
saszka
MemberThe same situation on my site. I preffer polish language but in English don’t can activate widgets too.
I grab last version from svn. I try on new wordpressmu version and on oncombo version. I think is still any error in widgets.
February 28, 2009 at 11:52 pm #38919In reply to: BuddyPress For WordPress (Not MU) Coming
John James Jacoby
KeymasterSince you’re asking, I think maybe you should have let Andy announce this when it was time.

Now that the cat is out of the bag, I think it only makes sense to offer BuddyPress to the widest audience. In my opinion, BuddyPress does what everyone wishes WordPress would have done in the first place, so I feel like this was inevitable and a very good thing.
Btw David, I was the tall skinny guy that helped you get the projector working at your presentation. :wave:
February 28, 2009 at 9:07 pm #38912In reply to: BP warning message
jlin
ParticipantThank you for your response.
~ I’m using WordPress MU 2.7
~ Not using subdomains for blog.
~ Buddy Press – Core: 1.0-RC1 / Friends: 1.0-RC1 / Activity: 1.0-RC1 / Profile: 1.0-RC1 / Groups: 1.0-RC1 / Blogs: 1.0-RC1 / Messages: 1.0-RC1 / Wire: 1.0-RC1 / Forums: 1.0-RC1 /
Thanks again for looking into this.
February 27, 2009 at 10:04 pm #38888In reply to: Increase Avatar Quality – Looks Hazy?
February 27, 2009 at 9:55 pm #38887In reply to: Increase Avatar Quality – Looks Hazy?
Paul Wong-Gibbs
KeymasterOK, so this is a core WordPress setting. It’s in
/wp-admin/includes/image.php– specifically, the call toimagejpegon line 71.http://php.net/imagejpeghas an optional third argument$quality. It defaults to 75 (0 being worse, 100 being best). If urgent I suggest changing this file for the interim.Elsewhere in WordPresss,
/wp-includes/media.php, we have this:If (!imagejpeg( $newimage, $destfilename, apply_filters( 'jpeg_quality', $jpeg_quality ) ) )
return new WP_Error('resize_path_invalid', __( 'Resize path invalid' ));I’ll put a ticket on the WordPress trac to see if we can get this filter added to the call in
image.php.*EDIT*: this is a core WordPress file, not MU.
February 27, 2009 at 5:43 am #38849In reply to: Fatal Error in the instal
slkservices
MemberLogin to WordPress admin, go to Site Admin, Options, scroll to the bottom, under Menu, activate Plugins.
February 27, 2009 at 5:41 am #38848In reply to: Template activation error
slkservices
MemberHi, you need to login to your wordpress admin, go to Site Admin, Options, scroll to the very bottom, under Menus, activate Plugins. Not sure why default is set to off.
February 26, 2009 at 10:45 pm #38832In reply to: Version 1 release date?
Trent Adams
Participanthttps://buddypress.org/blog/2009/02/rc-1-new-wordpress-mu-functionality/
There are some major changes happening to WPMU, so Andy mentions he is waiting until those changes are complete and then release the final alongside WPMU.
Trent
-
AuthorSearch Results