hi Burt: i’ve uploaded on the server and it is all ok! the problem was only in my local installation and so i can live with it. Thank you!
maybe the difference is that (i use subdirectories) in my remote server i’ve wordpressmu in the root and in the local server i have it in htdocs/mu/
I am curious if anyone is working on a multi-db plugin for wordpressmu that utilizes buddypress.
It turns out the multi-db plugin from premium dev site does not support buddypress. From what I have been told on their forums, they are not even going to attempt to get it working until 2.8 mu is released. Of course that could be forever…..
I’m guessing there would be fairly large demand for a plugin like this as I can’t see how very large sites like edublogs could even consider adding buddypress in a single database environment.
I guess this is sort of a wordpress mu question but it also has to do with buddypress.
How can I set up a custom domain for one of my blogs (just like on wordpress.com)
for example. how could i change blog1.networkdomain.com to blog1.com.
After doing this i still need all the buddypress features to work: posts to show up in users recent posts tab of profile and comments to show up in users recent comments tab of profile and for posts to show up on the homepage. and for the blog to show up in the directory.
Thanks ahead of time! This is import for our blog network…
sgrunt, what is the url that gets the 404 result?
vito687, the fn bp_core_get_userurl() returns this:
$bp->root_domain . '/' . MEMBERS_SLUG . '/' . $ud->user_login . '/';
So it seems that root_domain isn’t correct for you. It should be correct. It comes from the mu backend, get_option(‘siteurl’). If your ‘path’ and ‘domain’ are correct, that’s what you should get.
That’s what you have correct? mu installed in a subdir under the doc root: <apache root>/wpmu/?
Check in Site Admin > Blogs > <your root blog> > Edit
It should read ‘Domain’ http://yourdomain.com and ‘Path’ /yoursubdir and in the wp_1_options it should say ‘Siteurl’ http://yourdomain.com/yoursubdir
I noticed that burtasit’s plugin directs you to URL/members/username I need this to direct to URL/subdirectory/members/username, Is there a quick fix to my problem?
https://trac.mu.wordpress.org/browser/branches/2.7
Zip at the bottom of the page or if you use SVN you can use that URL as well.
Trent
Oops, sorry. Got a little excited there for a minute.
And where is that downloaded?
Spoken like a true moderator…
OK. I’m back. The bbpress const for wordpress is: BB_IS_WP_LOADED and is defined in bb-settings.php John. Looks like it’s only being used during installation and bbpress boot.
Thanks for reminding me about the template tags. I’ll include those too. I’ll add filters to all the template tags also. Good idea.
Many thanks for your help and sharing!
Specific plugins that work with WPMU or not should be discussed in their forums and BP issues here.
https://mu.wordpress.org/forums/
Trent
No, it can be tested by downloading the WPMU Branch of 2.7. It is not in trunk.
Trent
Is that patch in the latest version of MU?
hyrzz, show us. Because I don’t believe it.
You 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.
Hello all! I’m so excited. I’ve known about BuddyPress for a while now, but have never had the opportunity to use it for anything. I’ve used MU – but only a little bit – I’m mostly just a standard WP fiend.
However, I have a potential client who has contacted me with a concept that I think BuddyPress *might* be a perfect fit for. But since I’ve never actually had the chance to use it, I’m not sure. So I was hoping some of you might be able to give me a little insight to see if this is a good choice to run with (I’m so hoping it is – I’ve been wanting to do this for a while now!)
Basically, it’s a Member-managed site. BuddyPress seems to fit in perfectly with what this woman wants to do – enabled private messaging (which she will need) and have individual private areas. She’s wanting to use the WordPress site as a more effective way for her to communicate with her clients on a case-by-case basis.
She would like to have the ability for her clients to “pay for a subscription” online through the site, and when they do, they will get a “blog” for their use, and the private messaging center and all that.
The question comes in here: 1) the “blogs” need to be kept private. Only the client who writes the log for that day, and the lady who’s running the site, should be able to see these posts. The “blog” will not even really be a regular blog – it’s a tracking system for her clients. They put in some particular information, and she goes in and evaluates the info – then she sends them files that are her recommendations. These activities are not meant to be made public for *all* members to see – just her and that individual. and 2) *can* you “monetize” BuddyPress in this way? I was thinking it might be easier if she just has the client fill out a form, pay through PayPal and when she gets notification, she sets them up with their own “blog” manually. Is this possible? Or are there better ways around it? (like some kind of plugin that will notify the end user that their subscription is about to expire, and if they don’t renew, then they are locked out?)
I’d appreciate any insight into this. I’m not looking to have anyone do the work *for* me – I’m just curious if BuddyPress would be a good match for this type of system, or if I should go another route.
Thanks!
hyrxx,
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?
Right, 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
Yes 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.
First 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.
@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.
hi 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.