i believe this will be fixed in 1.2.6
@paul_gibbs we are also seeing issues using object-cache with BuddyPress and w3 total cache, most notably this manifests itself when trying to send Private Messages… We are using Minify, Database Cache, CDN (Amazon s3), and Browswer Cache (Developmental Version of Plugin)…
OK, no problem everyone, I’ve figured it out. I just had to disable Global Forum Directory in BuddyPress –> Settings, and now the tab is gone too. Pity, I’d prefer to have that enabled, and see all the topics. Dilemma is that it’d be really great to have that global forum directory I think, we’d just have to change our groups from private to public, and I don’t know if we want to do that.
If you’re simply looking at sending a message, then you’re right! messages_new_message() is the way to go.
If you’re looking to modify this private message over time, you can’t do it via a function because such a function doesn’t exist; you’d have to modify the content via the DB. I’m probably just reading into your use-case a little too much!
@r-a-y, @Travel-Junkie I replaced Ray’s original code with Travel-Junkies as it was favoured by the majority. However I´m using a lot of pages and Travel-Junkies solution is only blocking the core Bp functions. In addition Ray’s post is no longer present. What do I need to add to block all of my pages for non registered users? where can I find Rays original code?
Problem: if I send a Private Message, then check my sentbox, I am also listed as a recipient, even though I didn’t list myself as a recipient. Example:
To: LwEEs, 3sixty
July 20, 2010 at 8:41 pm
testing mail!
hi lwees – hope your bp adventures are grand. testing […]
x
This seems like a bug to me, but maybe this is the desired behavior?
Hi,
I have 5 groups created on my site. 4 of them are hidden, and one is private.When I go into one of my groups and click on the group forum tab, I can post topics there, no problem.
However, the Forums tab at the top of the page doesn’t seem to like anything I do. There are no topics shown there, and I can’t create any.
Any ideas?
1. Which version of WP/MU are you running? —– WP 3.0, not MU, created a network instead following the guidelines provided by WP
2. Did you install WP/MU as a directory or subdomain install? —– Don’t have MU, just WPBP as a directory install
3. If a directory install, is it in root or in a subdirectory? —– subdirectory (i think)
4. Did you upgraded from a previous version of WP/MU? If so, from which version? —– 2.9.2 (it’s a brand new installation, only 2 days old)
5. Was WP/MU functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. —– see above
6. Which version of BP are you running? —– 1.2.5.2
7. Did you upgraded from a previous version of BP? If so, from which version? —– no
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? —– yes, here’s the list:
Akismet
BP Blog Author Profile Link
BuddyPress Album+
BuddyPress Follow
BuddyPress Group Email Subscription
BuddyPress Like
BuddyPress Profile Privacy
Fast and Secure Contact Form
Invite Anyone
One Quick Post
TinyMCE Advanced
Welcome Pack
9. Are you using the standard BuddyPress themes or customized themes? —– Buddypress Default 1.2.5.2
10. Have you modified the core files in any way? —– No
11. Do you have any custom functions in bp-custom.php? —– no
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? —– allowed BP to install built-in version
13. Please provide a list of any errors in your server’s log files. —– don’t know how to get those
14. Which company provides your hosting? —– Super Green Hosting
15. Is your server running Windows, or if Linux; Apache, nginx or something else? —– Apache
Thanks,
Helene
Thanks for the input so far…
@mercime – The idea behind it would be that we would allow existing groups (both private and public) to have their own prayer requests so that a group that is based off of a small group bible study per say, would be able to post privately so that only members in that group would be able to view them.
thanks for these ideas, and any more you may have
I thought that there was a solution on the Google Webmaster page: http://www.google.com/webmasters/ I think you can provide them the login and they’ll index it.
Just know that if you do that, then they’ll likely cache some of the “private” pages which makes it so they aren’t technically private since you could potentially find them in Google’s cache.
Ok, so here is my next question… How can I allow google, bing, etc. to index my site while the site is re-directing back to the landingpage for registration purposes… i.e. the bots can’t get in…
Ok to filed some questions… yes, the site is public…. yes, the site requires registration to see “anything”. so, I guess, in this sense, it’s only semi-private… is there some kind of .htaccess /robots.txt trick that will accomplish this?
Exactly what I needed! Thanks!
Good News… I think I figured out the above, all though I still don’t know why I had to add it…
I added this:
if ( is_front_page () )
bp_core_redirect( ‘http://musicpln.org/pln-posts/landing/’ );
above
if ($bp&&($bp->current_component == BP_REGISTER_SLUG ))//buddypress
return;
and now it all works like a charm… I’m sure somebody can make this look cleaner that I did, but it is effectivley working now…
Ok, spending evern more time on this… I went back to the idea of using @r-a-y ‘s modified regestered-users-only-plugin… Now it is 95% the way I want except the homepage is not re-directing to the landing page… every other page does this…. probably has something to do with the home page being the activity stream??? I’m copying the key changes I have done to the plugin below:
// This is a base array of pages that will be EXCLUDED from being blocked
if ($bp&&($bp->current_component == BP_REGISTER_SLUG ))//buddypress
return;
if ( bp_is_register_page() || bp_is_activation_page() || is_feed() ||is_page(‘landing’) ) //buddypress)
return;
$this->exclusions = array(
‘wp-login.php’,
‘wp-signup.php’,
‘wp-register.php’,
‘wp-activate.php’,
‘wp-cron.php’, // Just incase
‘wp-trackback.php’,
‘wp-app.php’,
‘xmlrpc.php’,
);
// If the current script name is in the exclusion list, abort
if ( in_array( basename($_SERVER), apply_filters( ‘registered-users-only_exclusions’, $this->exclusions) ) ) return;
// Still here? Okay, then redirect to the login form
bp_core_redirect( ‘http://musicpln.org/pln-posts/landing/’ );
Hello BP gurus,
Just checking to see if any of you have any code examples for my privacy problem above… I would love to get this to work tomorrow before my launch… re: private community & redirect to different page for login (with login widget).
Hello!
We need to have a intranet for a customer. It will be only for customers and employers. Nobody who hasn’t registered will access the site.
I have installed BP and I am not able to achieve this.
Can be BP completely private and only accessible for logged in users?
Thank you!
I have the users-only-plugin 2 installed, so my community is entirely private, but i’ll need a second option. I mean, the community entirely private is great, but it’ll be necessary to let the users choose if they want to have their blog behind de community walls. I mean, is possible to let the users choose if they want to make their blog visible and outstanding from the community? (only the blog)
Hi,
I’d like to ask if it is there any way how to add some kind of bookmarks (ideally as a widget) to BuddyPress? I mean that you could mark groups and forums that you are interested in and you’ll be notified on main page that there is something new (like – MyBookmark (1 new post)). I know that there is Activity page but it is kind of chaotic to find anything there and it doesn’t show new things in hidden and private groups (even when you are part of it). So is there some plugin or simple way how to add something like that bookmarks?
Thanks in advance if there will be some answer.
@r-a-y @Travel-Junkie
Ok, I’m still dorking around with this… the goal is to have my site a register only site. When people go to musicpln.org they will be redirected to the landing page (http://musicpln.org/landing1) which is a BP page with a login widget. I also would like the feeds to not be blocked.
This code goes in the function.php file:
function sh_walled_garden()
{
global $bp;
if( bp_is_register_page() || bp_is_activation_page() ||is_feed() || is_page(‘landing1’) )
// Where landing1 is the page slug of where I would like to redirect
return;
if( ! is_user_logged_in() )
bp_core_redirect( $bp->root_domain .’/’. BP_REGISTER_SLUG );
// my activity page is the “homepage” and I don’t want to show any BLOG(s)
}
add_action( ‘get_header’, ‘sh_walled_garden’ );
I would like this to redirect to the landing1 reference above (which includes the login widget) The url is http://musicpln.org/landing1
I saw that you put this code in a previous reply…
Where can I put this to make it redirect to the LoginPage above? How can I tie this altogether now?
I followed a tutorial at http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/ on how to change my WordPress username from admin to my name.
It mostly worked. I initially lost Super Admin and Admin access, but I was able to restore this using my partner’s account.
Everything seems to be fine, until I found out that users could not send me Private Messages in Buddypress. I also noticed that my mention code on my profile is still @admin, and not @bennadler
So it seems the WordPress database was updated, but Buddypress was not. Is there another SQL query I need to run in order to change and fix this? Thanks for your help!
I can already email everyone that is a member , What I want to do is send a Private Message to everyone, so an email tells them they have a message , then they need to check their buddypress inbox.
@grosbouff There is the BP Followers Plugin by @apeatling for your reference
One difference between Friends and Followers is that Friends is in core while Followers feature needs the plugin to be activated.
https://wordpress.org/extend/plugins/buddypress-followers/
https://wordpress.org/extend/plugins/buddypress-private-messages-for-followers-only/
The other difference is Followers is ala Twitter following. The “follower” doesn’t need to be approved by the one he follows. While for “Friends” to connect completely friendship request must be approved by the other party.