Search Results for 'private'
-
AuthorSearch Results
-
May 25, 2010 at 4:14 am #79551
In reply to: private messaging broke on 1.2.4 upgrade
piphut
ParticipantJust on the admin account, yes. I re-opened the ticket thanks.
May 24, 2010 at 11:38 pm #79529In reply to: private messaging broke on 1.2.4 upgrade
r-a-y
KeymasterThis is only happening for your admin account right?
This ticket is related to your issue:
https://trac.buddypress.org/ticket/1820Might want to reopen it.
—
Also try disabling any third-party plugins (including the Usernames only plugin)… see if your problem disappears.
May 24, 2010 at 10:25 pm #79518In reply to: private messaging broke on 1.2.4 upgrade
piphut
ParticipantMore info: for some reason it returns my username as “admin” even though I deleted the “admin” user a long time ago. My profile page even uses “admin” in the URL: http://piphut.com/members/admin
However I user @r-a-y ‘s username only plugin and it shows up correctly as “piphut” in my blog comments.
So the problem appears to be in is passing the wrong username in the r= string when people try to private message me, and therefor the ‘send to’ is not being populated correctly, though it was working correctly before the upgrade to 1.2.4
Thoughts? Quick fixes? Free fish?
May 22, 2010 at 6:11 pm #79216In reply to: Alternative to Facebook
Jeff Sayre
Participant@arxpoetica et al –
I just created the private BP group Semantic Web and Open Stack Integration to focus our discussions. As it is a private group, you must request membership. I felt it was better to create a private group so that we could ensure the conversations are maintained at the proper level.
May 22, 2010 at 2:15 pm #79192Anja Fokker
ParticipantAnd for the users of BuddyPress version 1.2.4:
I have also tested it with 1.2.4 and it’s still working great.May 22, 2010 at 11:17 am #79165Boone Gorges
KeymasterHappy to hear that it works!
May 22, 2010 at 8:50 am #79157Anja Fokker
ParticipantYEZZ, it works again. Thanks for your help again!
The only things what are needed:In the root of BuddyPress (version 1.2.3):
In bp-blogs.php, change rule 379 of
if ( (int)get_blog_option( $blog_id, ‘blog_public’ ) || !bp_core_is_multisite() ) {
IN:
if (get_blog_option( $blog_id, ‘blog_public’ ) > 0 || !bp_core_is_multisite() ) {and change rule 427 from
if ( (int)get_blog_option( $recorded_comment->blog_id, ‘blog_public’ ) || !bp_core_is_multisite() ) {
IN:
if (get_blog_option( $recorded_comment->blog_id, ‘blog_public’ ) > 0 || !bp_core_is_multisite() ) {and the MU plugin:
ds_private_blog.php: http://wpmudev.org/project/More-Privacy-OptionsWith regards Anja(afoka)
May 21, 2010 at 10:23 pm #79123In reply to: private mail at buddypress.org ?
r-a-y
KeymasterPMs are disabled on here for now due to spam; I’m guessing the old messages are still in the DB though.
Awaiting further word about this from Andy.May 21, 2010 at 10:23 pm #79122In reply to: private mail at buddypress.org ?
abcde666
Participantthe old website of bp.org was much easier to navigate and find information.
at least for myself…..May 21, 2010 at 4:59 pm #79091Boone Gorges
KeymasterOops, yeah, you’ll need to remove the parenthesis before get_blog_option in both of those.
I don’t know about the blog class thing. Try without changing it and see what happens.
May 21, 2010 at 4:47 pm #79089Anja Fokker
ParticipantStrange… In both cases if I change the rules (379 and 427), is this the result:
Parse error: syntax error, unexpected ‘{‘ in betawordpresswp-contentpluginsbuddypressbp-blogs.php on line 379
Parse error: syntax error, unexpected ‘{‘ in betawordpresswp-contentpluginsbuddypressbp-blogs.php on line 427
I have also as before changed the rule In buddypress/bp-blogs/bp-blogs-classes.php
if ( !(int)$wpdb->get_var( $wpdb->prepare( “SELECT DISTINCT public FROM {$wpdb->base_prefix}blogs WHERE blog_id = %d”, $blog_id ) ) )
in
if ( $wpdb->get_var( $wpdb->prepare( “SELECT DISTINCT public FROM {$wpdb->base_prefix}blogs WHERE blog_id = %d”, $blog_id ) ) < 1 )May 21, 2010 at 4:15 pm #79086In reply to: Disable All RSS Feeds
F. Saint
ParticipantSo I’m a total newb at this and I don’t understand how to disable the RSS on BP. I tried putting the code in to the file you suggested (at the end of the current code) but I’m not sure I’m doing this correctly. Can you offer any help, or some more detailed instructions (in layman’s terms) so that I can make my RSS feed for all site activity go away? I want to have a completely private BP community.
May 21, 2010 at 3:35 pm #79083Boone Gorges
KeymasterIn bp-blogs.php, change 379 from
if ( (int)get_blog_option( $blog_id, 'blog_public' ) || !bp_core_is_multisite() ) {
to
if ( (get_blog_option( $blog_id, 'blog_public' ) > 0 || !bp_core_is_multisite() ) {Also, change 427 from
if ( (int)get_blog_option( $recorded_comment->blog_id, 'blog_public' ) || !bp_core_is_multisite() ) {
to
if ( (get_blog_option( $recorded_comment->blog_id, 'blog_public' ) > 0 || !bp_core_is_multisite() ) {I haven’t tested this but it should work.
May 21, 2010 at 1:33 pm #79072Anja Fokker
Participant@Boone Gorges, well I do have the same problem in BuddyPress 1.2.3 . I can find the rule in /bp-blogs/bp-blogs-classes, but……
the file bp-activity (in the root of BuddyPress) changed so much, that i don’t know where to find the rules like you’ve discribed.
Will you help me again? Or maybe you know if there is a plugin for it?With regards Anja (afoka)
May 20, 2010 at 1:46 am #78936In reply to: Private communities
lifemore
ParticipantThank you so much r-a-y. I appreciate this.
vidaMay 19, 2010 at 9:13 pm #78911In reply to: Private communities
r-a-y
KeymasterYou’ll have to wait for Google to check your site again.
You can expedite this process by signing up for Google’s Webmaster Tools and requesting your site to be delisted.
Also make sure your WP site is blocked from search engines:
https://codex.wordpress.org/Settings_Privacy_SubPanelMay 19, 2010 at 8:01 pm #78896In reply to: Private communities
lifemore
ParticipantThank you Rich:
I have used “registered user only” plugin for the site. It works OK. But apparently the member’s activity page still shows in Google cache and I can’t make that disappear even when I delete that user’s profile
May 19, 2010 at 6:36 pm #78884In reply to: Private communities
rich! @ etiviti
ParticipantMay 17, 2010 at 10:30 pm #78624In reply to: How to make a private community?
mistercyril
ParticipantGood stuff! Thanks a lot, that works perfectly
May 17, 2010 at 9:49 pm #78620In reply to: How to make a private community?
r-a-y
Keymaster@mistercyril – Add bp_is_directory() to the bp_is_register_page() line.
May 17, 2010 at 9:37 pm #78614In reply to: How to make a private community?
mistercyril
Participant@Travel-Junkie: Hey, your solution works great on my setup (WP MU 2.9.2 & BP 1.2.3).
I was wondering if you could help me take this one step further…
I would like my buddypress pages to be accessible only to logged-in users as they are now… but in order to get people to want to log in I think a “teaser” would be a plus. So my question is : How can we make the main BP directory pages accessible to everyone and restrict single groups, profiles, forums… ?
Thanks again for the great help so far!
May 17, 2010 at 8:15 pm #78593rich! @ etiviti
ParticipantMight be sad if I don’t remember what my own plugin does but I have something called Group Forum Extras – which contains some functions to pull out an index of forums. But I believe I coded the sql statement only to pull out the private forums if the user is logged in and a member of. Though this would point you in the right direction if you wanted to modify the code. (just remove that conditional) look for (bp_forum_extras_index_get_forums in the file bp-forums-extras-index.php )
May 17, 2010 at 6:32 am #78470In reply to: How to make a private community?
NipponMonkey
MemberGrrrr, how do you add code to posts in BP?
I’ve tried pre and code tags, but nothing working >_<
Hmmmm….
May 17, 2010 at 6:19 am #78467In reply to: How to make a private community?
NipponMonkey
MemberThanks for your posts ^ ^
I’m finally getting round to setting up a private buddy press site.
I liked the looks of @Travel-Junkie‘s solution, but I’m having the same problem as @wordpresschina, I’m getting a infinite redirect loop. It seems that functions like bp_is_register_page() and bp_is_home() aren’t working correctly from @Travel-Junkie‘s function.
I changed it a little to:
function sh_walled_garden()
{
global $bp;$uri = $_SERVER;
$allowed_uris[] = ”;
$allowed_uris[] = ‘/’;for ($i=0; $i < count($allowed_uris); $i++) {
if ($allowed_uris[$i] === $uri) {
return;
}
}if( ! is_user_logged_in() ) {
bp_core_redirect( $bp->root_domain);
}
}
add_action( ‘get_header’, ‘sh_walled_garden’ );Where the $allowed_uris array is set by the programmer to allow access to certain public pages. If the user isn’t logged in and they are trying to access a private page, then they will be redirected to the home page (as that page will be public in my site setup and I don’t want people to be able to register through a sign up page.)
I’ll have to see how I get on with this solution for now…
Thanks for your help
May 17, 2010 at 12:45 am #78425r-a-y
KeymasterYou are always welcome to create your own default theme if you’re not pleased with the packaged one that comes with BuddyPress.
You’ll just have to spend more time creating your own theme! -
AuthorSearch Results