Search Results for 'private'
-
AuthorSearch Results
-
May 20, 2009 at 7:06 pm #45741TheEasyButtonParticipant
Any 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 BiegunParticipantHow 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 JacobyKeymasterCorourke, which version of BP are you using?
May 16, 2009 at 7:19 pm #45498corourkeParticipantI’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 SayreParticipantKit-
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 AdsitParticipantWell, 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
philpeterParticipantThat sounds good, thanks.
May 10, 2009 at 1:30 pm #44954In reply to: Which version of bbpress to use?
Jeff SayreParticipantKogigr-
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 BiegunParticipantJust 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-skorikParticipant1. 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.
enlightenmental1Participant1.) 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???
DDTParticipant@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 JohnParticipantHi 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.
May 6, 2009 at 2:38 pm #44604In reply to: Showing members of private groups to non-members
Jeff SayreParticipantPhilip-
We are working on a proper privacy component for BuddyPress that will allow for a given member to decide how much of their personal data they want to expose to the world. This not only includes their profile data, but also a member’s data contained in the other BuddyPress components.
As far as group-specific privacy control, that is also an area we are discussing.
May 4, 2009 at 10:09 pm #44421In reply to: Plugin: Force Login for Member Pages
anemecParticipant@DJPaul any ETA on how long after v1 it might be?
Also is there any way to just limit members viewing privileges solely to the groups to which they are subscribed. So for instance if I, as a new member, sign up on a blog I could be automatically relegated to a specific private group. From there I would only be able to see and friend others in my own group?
I haven’t dug around in the code too much to see about this but intend to. Has anybody done this that you know about?
April 30, 2009 at 11:58 pm #43949In reply to: people willing to alpha test a plugin for buddypress
Magi182Participantwell, private messaging is still not working on the site, so here’s the download link:
http://www.asomatic.net/plugins/wp-jquery-slideshow.zip
I’d appreciate all feedback. You can mail to me or reply on the plugin thread.
Thanks again, I really appreciate your time.
April 27, 2009 at 9:26 pm #43743In reply to: Private Network
Dwp1975ParticipantI took am looking to achieve this same thing.
April 24, 2009 at 11:58 pm #43540In reply to: Who wants a media plugin for BP
dallasclarkParticipantHi Enlightenmental1,
The functionalities/features of the Photo Album plugin so far are:-
* Create unlimited number of albums
* Inserted unlimited number of photos into each album
* Album Cover Selector
* User comments per album and per photo
* Owner of the album/photo can moderate all comments
* Users can alter their own comments in the album/photo
* Automatic image resizing and optimisation
* Permalinks to albums and photos
My plan (which can change) is as follows (in no particular order):-
* Twitter Integration
* JavaScript Thumbnail Cropping
* Create an AJAX driven interface – but only when the main extras of the plugin are complete (easier this way and for SEO reasons)
* Website Administrator Settings – number of albums, photos users can have, and/or user upload limits.
* Handle other media like videos.
I generally don\\\’t like to release a unfinished product until it\\\’s stable enough in my own opinion, otherwise it\\\’s too hard to administrate feedback and ideas when I know some little parts are broken here and there.
However, if anyone would like to get a glance at the plugin first, drop me an email though my website (http://www.dallasjclark.com/contact.php) or directly here on BP.
In the future:
I will be happy for other developers to make improvements or the general public to submit ideas, however every line of code will be moderated and thoroughly checked. The licence of the plugin will be GPL sometime soon.
Donations:
I have in the past tried to do things for free, however when you have a home loan to pay and a family to look after, doing work for free isn\\\’t as easy. Especially when I have an endless number of projects lined up that will pay me.
The plugin I\\\’ve created so far, already has a sponsor but only a small one. I\\\’m working on this plugin 3 hours a week, and both the sponsor and I would like to see more. I\\\’m not asking anyone to fork out hundreds of $\\\’s (would be nice and I would only ever be so kind) but it would be great to get a few dollars here and there.
For anyone\\\’s interest for my credibility, these are some of the projects I\\\’ve worked on and currently working on.
Free Projects (see I did do some free work )
* Particls – http://www.particls.com
* Peepel – http://www.peepel.com (25% of my development time was paid for)
Paid Projects
* WOMF – http://www.womf.com – In Particular v3 (http://cairns.womf.com)
* Fitnice – Gym / Club Membership Management and Billing Software – converting to Adobe AIR and iPhone shortly.
There are more projects but some of them are private and cannot be discussed.
Any further queries, let me know.
April 24, 2009 at 2:45 pm #43492In reply to: Blog Listings in profile and other places…
kennibcParticipantI think I got this one… I just deleted any checks for private or public in the file listed above and it was fine. Since we are running a unique install, we don’t care if the blog is public or private.
April 21, 2009 at 8:14 pm #43143In reply to: Remove Blog Link in options-nav
nightstalker101Participanthmmmmmmmmmm…
I do not find any option, to do that:
Only these informations are getting listed:
Activity Streams
Blog Tracking
bbPress Forums
Friends
Groups
Private Messaging
Comment Wire
Extended profiles
What shall I do now?
April 17, 2009 at 5:10 pm #42847In reply to: Trying to Clone Groups
Jeff SayreParticipantOkay, I read your request differently.
<>I need 2 groups of Groups: Practice Groups and Offices</>
By this, do you mean that your client has employees that fall into what they term practice groups? Such as, lawyers or doctors who are “in practice”. If so, then how many practice groups and how many offices do they have?
The best way to do this would be to disallow the creation of groups by anyone except the site admin or a few, select group admins–for lack of a better term. Then the group admins would create all the necessary Practice Groups and Offices groups, making them public or private as needed.
Since it seems that you are simply dealing with nomenclature, it is overkill to create a new component with the exact same functionality but with a different slug name.
April 17, 2009 at 2:59 pm #42837In reply to: Plugin: Force Login for Member Pages
peterverkooijenParticipant@Stefk, try Burtadsit’s solution.
Private members and groups sections should be a core feature of Buddypress imho.
April 17, 2009 at 12:01 pm #42826In reply to: Plugin: Force Login for Member Pages
stefkParticipantHi Guys…the profile are private but cant seem to get the groups to become private too? Any suggestions?
April 16, 2009 at 7:13 pm #42774In reply to: FAQ: How To, Code Snippets and Solutions
Burt AdsitParticipantSecuring components from non logged in users:
https://buddypress.org/forums/topic.php?id=1651 (older)
https://buddypress.org/forums/topic/how-to-make-a-private-community#post-44616 (newer)
April 15, 2009 at 7:34 pm #42708In reply to: A newbie question about trunks
fishbowl81ParticipantJust to add my 2 cents,
I’m using Eclipse as my IDE, and have had great luck with phpeclipse and subclipse. Because eclipse is java based it is cross platform, for the ide and plugins. I have used this setup on both a Ubuntu system and my Current Mac.
I have 3 projects currently “checkout out” the Buddypress trunk, the WPMU trunk, and my private svn for personal development. This allows me to look at source code for everything. I only have submission permissions on my private svn, which is probably good.
On my server I can also use the command line and checkout the files and copy them into the required directories.
Hopefully this inspires someone,
Brad
-
AuthorSearch Results