Search Results for 'wordpress'
-
AuthorSearch Results
-
Trent Adams
ParticipantSpecific plugins that work with WPMU or not should be discussed in their forums and BP issues here.
https://mu.wordpress.org/forums/
Trent
March 2, 2009 at 9:14 pm #39074In reply to: BuddyPress For WordPress (Not MU) Coming
Trent Adams
ParticipantNo, it can be tested by downloading the WPMU Branch of 2.7. It is not in trunk.
Trent
March 2, 2009 at 8:48 pm #39073In reply to: BuddyPress For WordPress (Not MU) Coming
Mythailife
ParticipantIs that patch in the latest version of MU?
Mythailife
Participanthyrzz, show us. Because I don’t believe it.
March 2, 2009 at 8:14 pm #39068In reply to: Is BuddyPress good for this?
John James Jacoby
KeymasterYou could look into modifying an existing WordPress plugin, I think called “a member” that will help you with your pay for subscription situation.
BuddyPress certainly could have “private” blogs, you would just need to restrict user access to each others blogs by checking the available author ID’s against the current blog ID, and if they aren’t an author, bounce them back somewhere.
Sounds like BuddyPress will be a very good starting point for you, you will just need to mold it to fit your needs.
zenseeker
Participanthyrxx,
You’ve gotten wp e-commerce to work on bp & wpmu? From both the wpmu forums & the instinct forums I’m under the impression there are still problems. Something to do with the database. I think the dialog’s been going on for about a year. Got some tips you’d like to share?
March 2, 2009 at 4:07 pm #39046In reply to: BBpress not sharing login details
reprocessor
ParticipantRight, I’ve done points 1 to 4, added the salts and added the COOKIE_DOMAIN & COOKIEPATH bits to both config files. I also added a cookie hash which the tutorial said to do. How I got the cookie hash is another story – the tute said to look at the cookies in firefox to see what the number after them would be, like this ‘wordpress_267dtwia78rfn5403n’ when I went in to look at my cookies the looked like this ‘wordpress_’ so i took the nearest number from a PHPSESSID cookie for my site – now, this is probably the stupidest thing I’ve done all day – so please let me know if it is. Also If you could let me know if there’s any other way of finding out the cookiehash.
Sorry to waste anyones time
March 2, 2009 at 3:46 pm #39043In reply to: BBpress not sharing login details
John James Jacoby
KeymasterYes sir.
The way the guide suggests to do it is actually a good way also.
Delete ALL the salts and keys from your wp-config.php file, visit the Site Admin area of your WordPressMU install, and you’ll get a warning saying you need to add the salts, and it will auto suggest them.
Copy those into your wp-config.php file, and then copy those same keys, put them in your bb-config.php file, but put “BB_” in front of each key name.
define( 'BB_NONCE_KEY'...,
define( 'BB_AUTH_KEY'...,
define( 'BB_AUTH_SALT'...,
define( 'BB_LOGGED_IN_KEY'...,
define( 'BB_LOGGED_IN_SALT'...,
define( 'BB_SECURE_AUTH_KEY'...,
define( 'BB_SECURE_AUTH_SALT'...,Also don’t forget to put whatever the recommended cookie path settings are in each *-config.php file…
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '/');As those will determine which directory the cookies are for.
March 2, 2009 at 3:28 pm #39040In reply to: BBpress not sharing login details
John James Jacoby
KeymasterFirst thing that I had to do was delete all cookies and login to BuddyPress fresh.
Things to double check:
1.) You’ve correctly added the keys in both config files.
2.) You’ve installed and correctly configured both necessary plugins, one on each side.
3.) Check the names of your cookies in Firefox and make sure the wordpress_ cookies all have the same string of text behind them. If not, your keys in your config files are wrong.
4.) You’ve modified both config files with all the little extra things they need done to them.
March 2, 2009 at 3:25 pm #39038In reply to: BuddyPress For WordPress (Not MU) Coming
John James Jacoby
KeymasterAnytime!
March 2, 2009 at 2:18 pm #39034In reply to: BuddyPress For WordPress (Not MU) Coming
David Bisset
Participant@johnjamesjacoby – I wanted to say thanks, but i didn’t catch your name. Thanks! And since this was released at WordPressDenver, I figured the cat was out of the bag already. Andy counts on big mouths like you and me.

Back on topic, I am tending to agree a bit with conceptfusion – many at the BarCampMiami were asking about photos. At the same time, having BP for WP is going to accelerate awareness and demand for BP and creation (or adapting) plugins/themes. This is one “con” that BP had to overcome in order to accomplish that “BP will do for social networks what WP did for blogs” speech I did last Sunday.
March 2, 2009 at 9:28 am #39029Sgrunt
Participanthi Burt i’m testing your code locally and i’ve some problems:
i’ve created a redirect.php page in mu-plugins folder.
the page contains the following code (i’ve changed here php opening and closing).
php open
function oci_login_redirect($redirect_to, $set_for, $user){
$redirect_to = bp_core_get_userurl($user->ID);
return $redirect_to;
}
add_filter(‘login_redirect’, ‘oci_login_redirect’, 10, 3);
php close
when i login, i am leaded to a 404 error page. Then, if i go “back” with the browser, i am logged.
March 2, 2009 at 7:52 am #39025In 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.
-
AuthorSearch Results