Search Results for 'private'
-
AuthorSearch Results
-
May 22, 2010 at 8:50 am #79157
Anja 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!May 17, 2010 at 12:39 am #78424nessradio
ParticipantI’m totaly agree with you Marcella!
All those imbrication of css, js and php was really a pain in the ass for me… I spend hours and hours trying to find out what was the script that was doing a conflict with my template…
I’m sure that the buddypress team wanted to do something easy… They idea was: “just change the thing you wanna change on the default theme” but when you wanna change everything and you wanna add some functionality you realise that you are completly lost on what is doing what from where…
@ Paul Gibbs: Im’not really agree with you… the default theme needs to showcase the basic functionality of buddypress… and juste the basic functionality… and if you want to had other functionality you can download other themes from the web…May 16, 2010 at 11:55 pm #78421Marcella
ParticipantTo me it’s more troublesome for the designers and developers to get rid of js function in a child theme that inherits everything from the default.
As a designer / developer surely you know what can happen with progressive enhancement. P2 is a fine example of what a developer knows. I mean the new 2010 WP theme doesn’t come with js does it?
I like to grab it, dig in, or build from scratch. Now with the default theme inheriting a whole lot more it sometimes is a pain.
Why am i complaining this is one heck of a free meal. :p
May 16, 2010 at 10:03 pm #78406Paul Wong-Gibbs
KeymasterThe default theme needs to showcase everything that BuddyPress can do. Like you point out, it’s down to individual sites to decide what BuddyPress features to use, which relates to what javascript will be required.
May 16, 2010 at 9:15 pm #78398Marcella
Participanta little unrelated but does anyone here ever wonder why the default theme has so much js?. i understand it’s pro and progressive but really don’t think this sort of function is needed at the base theme. It’s kinda confusing because your not sure what’s core and what’s not sometimes.
I believe it’s up to the community to serve whatever js they like.
May 16, 2010 at 8:39 pm #78395nessradio
ParticipantOk I just find the solution… It’s because of my wordpress template… I had a js file which was conflict with the crop button
May 16, 2010 at 5:29 pm #78383In reply to: BuddyPress as a school network
Frank & Stein
ParticipantHello Boone.
Thank you for your kind help. I’m new to BP and i am still trying to understand in depth how it works. About your suggestions there are a few things that do not work exactly as you said (at least for me).
1. Admin has to approve all new sign-ups and make the new Member part of 1 (and only one) Group. Only after this action by the Admin, an activation email is sent to the new Member. As an alternative to this process, a new Member could only sign-up after the Admin sends him an invite to a particular Group.
I need the Admin to review the sign-up request, add the new member to a particular group and then send a confirmation to the new member. With the suggestion you made (wp-invites + bp-group-management) all works well, but the member gains access to the website as soon as he signs-up. When he logs in for the first time he is still not part of a group, because most probably the Admin didn’t have time to do this. For me it’s not important if the system is set in a way that it has to be the Admin to invite new members or if is up for the new members to ask to join. As long as the new member gains access exclusively after he has been added to a group by the Admin.2. If the Groups are set to private they still appear in the group directory. I changed them to hidden and now they can only be seen by it’s members, which is perfect for my needs. But since that now i’m left with one empty tab in the groups directory (all groups), is there a way of making it disappear by editing some file? If so, which one and where?
3. Members can only see the list of the other Members of his Group
For now, even with all groups set to hidden, the members can have access to a list of all members. Is there a way to make them have access to a list of only the members of his group?4. How can i prevent members to exit the group or groups they are part of? Maybe by editing some file?
Again, i appreciate all the help that you can provide.
Thank you. -
AuthorSearch Results