Search Results for 'private'
-
AuthorSearch Results
-
March 27, 2010 at 1:32 am #70353
r-a-y
KeymasterKeep the sidewide posts blog private.
Then it won’t show up.
March 25, 2010 at 5:50 pm #70135In reply to: A couple Straight Forward Questions
Reaxion
MemberWith a little looking around I think I’ve answered my own questions, but I’ll reply to myself in case it helps others:
– yes, you can have private groups that have private conversations
– I’m not sure if the admin can sign up individuals from the admin and start private conversations from the admin, but I’m thinking if the admin had an account they could start groups and discussions like a regular user, and being a member of those areas can be an advantage.
March 25, 2010 at 2:50 pm #70110In reply to: New users are not getting verification email
Pascal Dreissen
Participantfyi, i installed this plugin: https://wordpress.org/extend/plugins/wp-mail-smtp/
When i used the standard php_mail option it does not work, if i use smtp mailing it works.
As mentioned before private messaging between users is sending out notifications without any problem (without plugin). Is there any difference between the mail functions here ?
March 25, 2010 at 2:26 pm #70103In reply to: New users are not getting verification email
Pascal Dreissen
ParticipantAndy,
I don’t think that’s the issue. However i am also not sure it is buddypress related, i did some more testing and found that creating a user from the backend does not send confirmation mails either. Private messaging within buddypress is working great however. So it is in my case NOT buddypress related.
March 25, 2010 at 8:05 am #70070In reply to: How to make a private community?
hachimaki
Memberlol, so it should work now for me xD
March 25, 2010 at 12:22 am #70049In reply to: How to make a private community?
marioe
MemberGreat, Thanks!
March 24, 2010 at 11:08 pm #70042In reply to: How to make a private community?
Anonymous User 96400
Inactiveah, it makes sense now. my code makes all blog pages public, which obviously includes the frontpage as well. so if you’re showing the activity stream there, it would be public. I guess you want to make your complete site private? then the code below should work for you:
function sh_walled_garden()
{
global $bp;
if( bp_is_register_page() || bp_is_activation_page() )
return;
if( ! is_user_logged_in() )
bp_core_redirect( $bp->root_domain .'/'. BP_REGISTER_SLUG );
}
add_action( 'get_header', 'sh_walled_garden' );March 24, 2010 at 10:42 pm #70040In reply to: How to make a private community?
marioe
MemberTravel junkie,
is working on the members page, and on my groups page, and it wasen’t working on the activity page.
I had my activity stream as my homepage I change home page to point to a static page and now it seems to work!
I guess you posting does not apply it static pages.
March 24, 2010 at 10:27 pm #70039In reply to: How to make a private community?
marioe
MemberTravel Junkie,
I’m using 2.9.2 with the buddypress default theme. I’m having no luck. I paste you code on my functions.php file and nothing! any suggestions?
March 24, 2010 at 10:21 pm #70038In reply to: How to make a private community?
Anonymous User 96400
Inactivewell, i’ve got it running on a single install of wp 3.0 alpha, so there shouldn’t be any problems.
March 24, 2010 at 10:15 pm #70037In reply to: How to make a private community?
marioe
MemberTravel junkie,
I’m using a regular WordPress install( not MU) can your posting still work for me?
March 24, 2010 at 10:14 pm #70036In reply to: How to make a private community?
hachimaki
Memberyes, not better, but more simplified…
i still prefer yours, it’s more accurate, professionalm but… it doesn’t works for me
regards
March 24, 2010 at 8:21 pm #70016In reply to: How to make a private community?
Anonymous User 96400
Inactiveit’s only a better solution for you, cause you couldn’t get the other one to work
but anyways, glad you found something that does work!
March 24, 2010 at 7:39 pm #70006In reply to: How to make a private community?
hachimaki
MemberFound a much more better solution:
Use this plugin: Force user login https://wordpress.org/extend/plugins/force-user-login/
Use this other plugin: http://wpmututorials.com/how-to/custom-branded-login-screen-for-wpmu/ and all done!
March 24, 2010 at 12:24 pm #69970In reply to: How to make a private community?
hachimaki
Memberno, i mean, in functions.php they use to put that /*introduction*/ for locating the functions.
I put the second method on functions.php, i supose i put it well….
I use unplugged theme, it says it uses the child theme files… so i paste in the functions.php of bp-default theme your code. and it doesn’t works. I dunno why.
March 24, 2010 at 11:07 am #69963In reply to: How to make a private community?
Anonymous User 96400
Inactivehmm, weird. maybe it’s a child theme thing. i use it on a parent theme. shouldn’t be a problem, though.
I pasted it at the first line= not working
I pasted it with the */Private Community*/ and the code below= not workingi didn’t get these two lines at all. with the second method, there’s no need to put anything on the first line of header.php.
March 24, 2010 at 10:16 am #69960In reply to: How to make a private community?
hachimaki
MemberStill not working. I have pasted the new code in functions.php in the buddypress child theme (i use unplugged theme wich uses the bp-default files).
I pasted it at the first line= not working
I pasted it with the */Private Community*/ and the code below= not working
It doesn’t works, i dunno why.
March 24, 2010 at 4:43 am #69948In reply to: How to make a private community?
Anonymous User 96400
Inactivecheers! didn’t even think of the get_header action. even cleanerer…
@hachimaki and @marioe,
well, don’t know why it’s not working for you guys, works perfectly for me… maybe you did paste something wrong. try just this in functions.php:
function sh_walled_garden()
{
global $bp;
if( bp_is_register_page() || bp_is_activation_page() )
return;
if( ! bp_is_blog_page() && ! is_user_logged_in() )
bp_core_redirect( $bp->root_domain .'/'. BP_REGISTER_SLUG );
}
add_action( 'get_header', 'sh_walled_garden' );You can delete the walled_garden action call in header.php
March 24, 2010 at 1:29 am #69929In reply to: How to make a private community?
marioe
Membertravel Junkie,
I also follow your posting but it still shown the activity stream…
March 23, 2010 at 9:16 pm #69899In reply to: Private message inbox auto-purging or limits
Gene53
ParticipantI agree, this would cut down on database bloat.
March 23, 2010 at 8:56 pm #69896In reply to: question about Group filtering
Boone Gorges
KeymasterThis works for me.
function filter_groups_by_type_private( $a, $b ) {
$groups = $b->groups;
foreach( $groups as $key => $group ) {
if ( $group->status != 'private' ) {
unset( $groups[$key] );
$b->group_count = $b->group_count - 1;
}
}
$groups = array_values( $groups );
$b->groups = $groups;
return $b;
}
add_filter( 'bp_has_groups', 'filter_groups_by_type_private', 10, 2 );Play around with the value ‘private’ to change what the function does.
It’s not perfect, because the pagination is not adjusted accordingly. You’d probably have to rebuild the core function in order to make pagination happen, since per_page gets passed right along to the database function. That’s why I say you might do well to write an enhancement ticket and submit it to trac.buddypress.org. In the meantime, though, this will set you in the right direction.
March 23, 2010 at 7:59 pm #69887In reply to: How to make a private community?
hachimaki
MemberIf you could make a more-improved post… i suppose i have paste it right, but…
March 23, 2010 at 7:49 pm #69882In reply to: How to make a private community?
hachimaki
Memberit doesn’t work for me, i have paste it where you say and it doesn’t makes any difference, i can see my activity page (homepage) without logging in.
March 23, 2010 at 5:30 pm #69852In reply to: How to make a private community?
r-a-y
Keymaster@travel-junkie
Looks cleaner than the mod I made for Registered Users Only 2 plugin.
You could probably change the action to “get_header”, then you wouldn’t need to add the “walled_garden” do_action in the header.php.
March 23, 2010 at 5:21 pm #69849In reply to: [New Plugin] BuddyPress Group Forum Extras
Anointed
ParticipantThank you so much for this. The forum extra page works awesome on my setup and I am so happy. You have really outdone yourself on this one.
I do have one question. I made a post in a members only group forum, yet on the forum index page the new post does not show in the list of ‘fresh’ posts on the top. It does add to the counter in the group forum listing below though.
I would have expected the post to show up because I am logged in and a member of the private group, but to have it not visible to the public, or members who are not members of the group.
Is this a setting somewhere?
thanks
-
AuthorSearch Results