Search Results for 'private'
-
AuthorSearch Results
-
June 15, 2009 at 10:09 am #47497
In reply to: Private Profile Information
gpo1
Participant@P.S. The plugin looks good and how about adding a plugin forcing guest to register to view members & groups profiles ?
June 15, 2009 at 9:16 am #47496In reply to: Private Profile Information
petronic
ParticipantI created plugin that gives users option to choose which profile data they want to share. It is not exactly what you are looking for, but maybe it can help someone.
For details, please go to:
http://devbox.computec.de/2009/06/buddypress-xprofile-privacy-plugin/
June 12, 2009 at 9:27 pm #47323r-a-y
KeymasterBurt, I actually did try the first code you mentioned and of course, it did not work in bp-custom.php. I was actually going to post a reply to it, but you already did! Will test out the new code.
Thanks for your diligence!
—
John, one of the blogs in question would be the home blog, so we wouldn’t want to set that to “Private” and disallow search engines
But thanks for that little hint, might be useful in the future.Cheers guys!
June 12, 2009 at 7:31 pm #47307John James Jacoby
KeymasterIf a blog is listed as “Private” in the blog settings, that should also exclude it from the list. It will also exclude it from blog search engines and the like. Not sure how private you want this to be, but that’s about as private as it gets.
June 12, 2009 at 4:12 pm #47292In reply to: Password Protected Posts not appearing
Jeff Sayre
ParticipantI am confused by what you are asking. You have password protected a post but then you want it to show up in the site activity and on the regular blog posts listing. This is just not how this WP feature works.
You choose the “Password Protect This Post” option to make a given blog post private. This means that only people with the correct password can see the post, can read it.
What exactly are you trying to accomplish?
June 11, 2009 at 12:14 pm #47220In reply to: Private Profile Fields, In Db but are they in Use?
mrbuddypress
ParticipantDid you manage to get it hiding certain fields? I need to ask people for sensitive data that I don’t want shown on the public profile. Would this suffice and where in the code do I need to flip it?
June 10, 2009 at 12:32 pm #47133In reply to: Private Profile Information
mrbuddypress
ParticipantThis is exactly what I need….is there a plugin?
June 4, 2009 at 11:40 am #46713In reply to: Showing members of private groups to non-members
June 4, 2009 at 10:00 am #46711In reply to: Showing members of private groups to non-members
petronic
ParticipantI am very interested in privacy component. How is it going so far? Do you have some estimation when will it be available to test or use?
What I have found as a must regarding privacy (until now) is:
– allowing user to set what details from profile s/he wants to be public, available just to friends or private
– settings on activity streams which will allow user to select what type of activities s/he wants to be displayed in sitewide activity, be available to friends or be totally private. This settings could be similar to Notification settings (for email notifications).
I intended to write this on my own, but found out that it can’t be done easily without changing activity core files (and that is never a good option) and then I discovered that you are working on privacy component. So, if you see a way how I can help in development process, please let me know.
May 30, 2009 at 9:25 am #4632921green
ParticipantHey Erich,
i know a developer who is able to achieve this. They wrote me a private message on the german buddypress forum as a reply to my post:
Maybe we could work somehow together to get something suitable for both of us. If you are interested in the developer write me a PM and i sent you the details (you can write in german if you want).
May 21, 2009 at 6:22 pm #45815In reply to: Showing members of private groups to non-members
eelambuddy
ParticipantIs there anyway I can hide the “group creation” option from the users? Basically, only admin can create the “groups”.
May 20, 2009 at 8:20 pm #45745TheEasyButton
ParticipantRemoving post cuz it was WRONG!! lol – (sorry about that)
May 20, 2009 at 7:06 pm #45741TheEasyButton
ParticipantAny clue on a fix for the escapes? I’m having the issue in group topic titles. Groups look fine but when you look at the topic in bbPress, there are escapes in the title.
Posting via bbPress it works fine. Posting via groups, the titles get escapes.
Hoping the fix for this can be applied to my issue as well. (using BP1, bbPress alpha6, wpmu 2.7.1)
May 18, 2009 at 9:15 pm #45622In reply to: BuddyPress and Multi-Site issues
Marcin Biegun
ParticipantHow to separate activity for each site:
– similiar change to bp-core.php as above
– change in bp-activity.php function bp_activity_setup_globals()
$bp->activity->table_name_user_activity = $wpdb->base_prefix . BP_ROOT_BLOG . '_' . 'bp_activity_user_activity';
$bp->activity->table_name_user_activity_cached = $wpdb->base_prefix . BP_ROOT_BLOG . '_' . 'bp_activity_user_activity_cached';
$bp->activity->table_name_sitewide = $wpdb->base_prefix . BP_ROOT_BLOG . '_' . 'bp_activity_sitewide';
-i don’t know why, but there was also necessary to comment this lines in bp-activity-classes.php function save() (what, as i suppose, may cause some problems):
//if ( !$this->item_id || !$this->user_id || $this->is_private || !$this->component_name )
//return false;
May 17, 2009 at 12:34 am #45505John James Jacoby
KeymasterCorourke, which version of BP are you using?
May 16, 2009 at 7:19 pm #45498corourke
ParticipantI’m still seeing this issue as well as it occurring in profile form fields.
May 13, 2009 at 10:52 pm #45288In reply to: Changed “bphome” name and everything disappears!
Jeff Sayre
ParticipantKit-
I’m sorry you’re having troubles with your theme folders. To be clear, I want to make sure that you realize that you were not, as you state:
advised to change my “bphome” name to preserve it in case of future BP upgrades.
I assume you’re talking about the discussion we had in this thread you asked:
I assume renaming the theme is simply changing the name of its folder?
I responded:
That is correct. Make a copy of the bpmember theme, rename your copy, make whatever changes you want to it, and you have–in effect–a custom theme! Just make sure you keep your new theme in the /wp-content/bp-themes/ directory.
Also, in this thread where I advised you to:
Follow the same procedure as before. Make a backup of the standard bphome theme, rename it to something new…
This means, rename your backup to something new, not change the name of the original theme folder.
Furthermore, as per a private conversation you initiated with me on May 6 via the members messaging system, I state that:
Make sure that you make a copy of both bphome theme and bpmember theme. Your customizations should be done in copies, not the original. That way, if you have issues with your custom themes (and we all do when working on customization), you can switch back to the standard BP themes to see how things should work.
And, as we were talking about CSS issues in that private message and you stated that you had WordPress theming experience, I assumed you knew that the primary style file in BuddyPress, style.css, would need to reflect your new theme’s name.
If you were confused by my advice, I do apologize. But, if you had done what I advised, you would have made a copy of the original theme and altered the copy. As I stated in my private message response to you, do not alter the original theme files.
May 13, 2009 at 1:35 am #45193In reply to: how to add ‘extra’ data to the wire?
Burt Adsit
ParticipantWell, when I did this for bpgroups I just piggybacked onto the groups component. bpgroups records new topic and post activity that is directly created in bbpress. Since bp group forums was already recording the activities, I just had to simulate the same thing.
The function bp_activity_record() in bp-activity.php does the grunt work. It takes about a zillion parameters. Here’s how I did it:
$activity = array(
'item_id' => (int)$group_id,
'component_name' => 'groups',
'component_action' => 'new_forum_post',
'is_private' => 0,
'secondary_item_id' => (int)$post['post_id'],
'user_id' => (int)$post['poster_id'] );
// create a group obj that the rest of bp can use, play nice
$group_obj = new BP_Groups_Group($group_id);
groups_record_activity($activity);groups_record_activity() in bp-groups.php takes an array param and if you look in there it eventually calls bp_activity_record()
You’ll have to figure out how to translate all the params that takes into the table colums and eventually into what you see displayed. There aren’t any docs for the activity streams as far as I know.
May 11, 2009 at 8:52 am #45014In reply to: Showing members of private groups to non-members
philpeter
ParticipantThat sounds good, thanks.
May 10, 2009 at 1:30 pm #44954In reply to: Which version of bbpress to use?
Jeff Sayre
ParticipantKogigr-
This thread has not seen activity for more than 4 months. It is doubtful you’ll get a response.
Here’s my guess at what he meant to say. He most likely made a typo. He probably meant to type “geek”. But, if you need to know, I suggest private messaging him.
I’m closing this thread as it is not relevant anymore.
May 8, 2009 at 3:19 pm #44807In reply to: wp_bp_activity_sitewide and item_id problem
Marcin Biegun
ParticipantJust in case anybody get into the same trouble – i didn’t managed to get to know why secondary_item_id is now unused, but i wrote my own function to overwrite this behaviour
//HOOKS FOR BP_BLOGS TO SAVE AS SECONDARY ITEM ID BLOG ID
function my_bp_blogs_record_post( $post_id, $blog_id = false, $user_id = false ) {
global $bp, $wpdb;
$post_id = (int)$post_id;
$post = get_post($post_id);
if ( !$user_id )
$user_id = (int)$post->post_author;
if ( !$blog_id )
$blog_id = (int)$wpdb->blogid;
/* This is to stop infinate loops with Donncha’s sitewide tags plugin */
if ( (int)get_site_option(‘tags_blog_id’) == (int)$blog_id )
return false;
/* Don’t record this if it’s not a post */
if ( $post->post_type != ‘post’ )
return false;
if ( !$is_recorded = BP_Blogs_Post::is_recorded( $post_id, $blog_id, $user_id ) ) {
if ( ‘publish’ == $post->post_status && ” == $post->post_password ) {
$recorded_post = new BP_Blogs_Post;
$recorded_post->user_id = $user_id;
$recorded_post->blog_id = $blog_id;
$recorded_post->post_id = $post_id;
$recorded_post->date_created = strtotime( $post->post_date );
$recorded_post_id = $recorded_post->save();
bp_blogs_update_blogmeta( $recorded_post->blog_id, ‘last_activity’, time() );
bp_blogs_record_activity( array( ‘item_id’ => $recorded_post->id, ‘secondary_item_id’ => $blog_id, ‘component_name’ => ‘blogs’, ‘component_action’ => ‘new_blog_post’, ‘is_private’ => bp_blogs_is_blog_hidden( $recorded_post->blog_id ), ‘user_id’ => $recorded_post->user_id, ‘recorded_time’ => strtotime( $post->post_date ) ) );
}
} else {
$existing_post = new BP_Blogs_Post( null, $blog_id, $post_id );
/**
* Delete the recorded post if:
* – The status is no longer “published”
* – The post is password protected
*/
if ( ‘publish’ != $post->post_status || ” != $post->post_password )
bp_blogs_remove_post( $post_id, $blog_id );
// Check to see if the post author has changed.
if ( (int)$existing_post->user_id != (int)$post->post_author ) {
// Delete the existing recorded post
bp_blogs_remove_post( $post_id, $blog_id );
// Re-record the post with the new author.
bp_blogs_record_post( $post_id );
}
$recorded_post = $existing_post;
/* Delete and re-add the activity stream item to reflect potential content changes. */
bp_blogs_delete_activity( array( ‘item_id’ => $recorded_post->id, ‘secondary_item_id’ => $blog_id, ‘component_name’ => ‘blogs’, ‘component_action’ => ‘new_blog_post’, ‘user_id’ => $recorded_post->user_id ) );
bp_blogs_record_activity( array( ‘item_id’ => $recorded_post->id, ‘secondary_item_id’ => $blog_id, ‘component_name’ => ‘blogs’, ‘component_action’ => ‘new_blog_post’, ‘is_private’ => bp_blogs_is_blog_hidden( $recorded_post->blog_id ), ‘user_id’ => $recorded_post->user_id, ‘recorded_time’ => strtotime( $post->post_date ) ) );
}
do_action( ‘bp_blogs_new_blog_post’, $recorded_post, $is_private, $is_recorded );
}
remove_action( ‘publish_post’, ‘bp_blogs_record_post’ );
remove_action( ‘edit_post’, ‘bp_blogs_record_post’ );
add_action( ‘publish_post’, ‘my_bp_blogs_record_post’ );
add_action( ‘edit_post’, ‘my_bp_blogs_record_post’ );
May 7, 2009 at 2:18 pm #44710In reply to: Questions about groups.
ilya-skorik
Participant1. Where I can do this? I go to Some Group->Admin->Manage Members. I see only ” Promote to Moderator” and “Demote to Member” options. Moderator != Administrator.
3. But I want allow group creation for some power users, how?
4. But for private groups – “Group content and activity will only be visible to members of the group.” I don’t want this.
I want “Group content and activity will be visible to any site member.”+”Only users who request membership and are accepted can join the group.”
Can I do this?
May 7, 2009 at 2:01 pm #44708In reply to: Questions about groups.
enlightenmental1
Participant1.) yes, the group admin can add other admin/moderator and ban users
2.) they need to join your group, then under group memebrs you can add them as an admin/moderator
3.) this is possible yes, I accomplished this by adding <?PHP if is admin ?> into the bp-core to hide the create group button from non-admins (your community will want the ability to add groups though)
4.) you can create “private groups” that are visible to everyone, but you can only join if you’re accepted…
why don’t you create a couple different types of groups, then you’ll see all the features/abilities they have
May 7, 2009 at 1:31 pm #44701In reply to: How to enable Edit profile and Change Avatar???
DDT
Participant@socialpreneur,
i can see the buddy press>>component setup but not the xtended profiles
i just have the following components:
activity streams
blog tracking
bbPress Forums
Friends
Groups
Private Messaging
Comment Wire
can i download/reinstall the xtended profiles component??
btw: Is bp-xprofile folder for the xtended profiles component? If so it’s already there
May 6, 2009 at 2:53 pm #44608In reply to: Featured/pro members?
Philip John
ParticipantHi Jeff,
Thanks for that (oh and for your tweet yesterday!). I had already looked at your plugin actually. It doesn’t quite have the functionality I’m after in this specific case.
What I’m after would actually be solved by allowing non-members to see the members of private groups, hence my other post.
-
AuthorSearch Results