Search Results for 'private'
-
AuthorSearch Results
-
April 24, 2009 at 2:45 pm #43492
In reply to: Blog Listings in profile and other places…
kennibc
ParticipantI 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
nightstalker101
Participanthmmmmmmmmmm…
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 Sayre
ParticipantOkay, 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
peterverkooijen
Participant@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
stefk
ParticipantHi 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 Adsit
ParticipantSecuring 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
fishbowl81
ParticipantJust 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
April 14, 2009 at 6:37 pm #42653In reply to: Let’s define our goals and get together
John James Jacoby
KeymasterLet me try and answer this diplomatically because this seems like spam without being spam to me…
BuddyPress isn’t Facebook, and it really doesn’t have any intentions of trying to imitate it. That’s up to an audience of GPL contributors to try and mold and shape it into that, if they so choose.
BuddyPress also has a test development site already, to flex its muscles and allow people to use it as they like. testbp.org.
There are unlimited domains available, with unlimited hosting and bandwidth options. None of what you’re offering really has anything to do with BuddyPress other than using it for potential profit. Contributing a domain that specializes in spreading bad news isn’t any part of Automattic’s roadmap that I’ve seen, so don’t count on getting any hosting.
If what you’re doing is offering a business opportunity to specific individuals, you should contact them privately and see if they’re interested.
(I’m locking this for now. If any other staff feels like re-opening it for discussion, go for it. My gut tells me this isn’t what the forums here are for.)
April 11, 2009 at 4:29 pm #42390benny148148
ParticipantDoes anybody have any clue how to fix it? It’s still an issue in the latest trunk
April 11, 2009 at 5:22 am #42371Burt Adsit
Participantbp and wpmu use the same user table. A bp ‘account’ is a wp ‘account’. You can use any theme you like on your blog. All blog posts and their comments show up in activity from any blog that hasn’t been set to ‘private’.
April 6, 2009 at 1:42 pm #41920westpointer
ParticipantSorry, I lost track of this. AFAIK, this is not resolved.
April 2, 2009 at 11:24 pm #41677Lance Willett
ParticipantI also noticed a similar behavior here in this very form where I’m typing (forums, edit topic).
If I post a topic, then edit it, more slashes are added each time I edit. For example, if I edit the same post 3 or 4 times, I’ll end up with
\\\\\\\\\\\\\\\it's
instead of justit's
.April 2, 2009 at 9:16 pm #41672Lance Willett
ParticipantI was able to duplicate this behavior, but don\’t have a fix in mind for it. This is with the latest trunk (revision 1302):
To repeat, log in as a user and send a message to another user with this subject line:
Just wondering how you\'re doing
When that first message saved to the database, the field value is this:
Just wondering how you\'re doing
So far, so good.
Now log out and log in as a different user (the recipient), and go to the messages area. Click the subject to open the message, and type a reply.
Now look in the database (in the \”wp_bp_messages_messages\” table) and you\’ll see that the subject field for the reply is:
Re: Just wondering how you\\\'re doing
Now repeat this four or five times, and you\’ll see that each time the message gets saved extra slashes are added:
Re: Just wondering how you\\\\\\\'re doing
Re: Just wondering how you\\\\\\\\\\\\\\\'re doing
Re: Just wondering how you\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'re doing
The issue, as far as I can tell, is that when the subject is saved, the escape characters (slashes) from the previous subject line are themselves escaped.
April 2, 2009 at 8:06 pm #41669Burt Adsit
ParticipantOk, let me put it another way. It’s not an issue on my install which is the latest trunk.
April 2, 2009 at 12:57 pm #41659benny148148
ParticipantAnybody?
March 31, 2009 at 10:31 am #41496In reply to: create my own home page
jane_135
ParticipantI´ve done something but I think I need quite work…
First, I´ve created a new file:
\\bp\\wp-content\\mu-plugins\\myownpage.php
This file is where I redirect when I access to admin area
If I access to http://localhost.localdomain/bp/members/admin/myownpage/
The file is loaded…
I want to make a \”home admin page\” in which I put some information:
-Last entries unreaded
-Private messages
-A brief profile
-Some html
-Brief Activity
-Brief Wire
…
I need to load bp-activity, bp-messages, bp-profile,… classes…
Do you know?
March 30, 2009 at 12:10 pm #41364benny148148
ParticipantActually Burtadsit it’s happening to the “private messages” section of my buddypress install. Specifically the subject of the message before a user clicks to open it. Anytime there’s an apostrophe in the subject of a private message (in my installation), the slashes are added.
How can I remove them? I’m using Trunk 1211
March 30, 2009 at 1:32 am #41331Burt Adsit
Participantbenny this has nothing to do with bp itself. It’s a theme thing that is happening here only.
March 29, 2009 at 10:45 pm #41322benny148148
ParticipantAnybody know how to fix?
March 27, 2009 at 12:50 pm #41145benny148148
ParticipantAndy, for those of us not using SVN (I’m using a trunk version from about a month ago)…how can we fix this ourselves?
March 26, 2009 at 1:28 pm #41048In reply to: Group Administration
talk2manoj
Participantfunction bp_group_admin_only(){
global $bp, $current_blog;
global $group_obj, $is_single_group;
if (!is_site_admin()){
remove_action( 'wp', 'groups_setup_nav', 2 );
}
}
/* I am using the same function (groups_setup_nav) as BuddyPress to avoid
* any hacking to the original code
*/
function manoj_groups_setup_nav(){
if (!is_site_admin() ){
global $bp, $current_blog;
global $group_obj, $is_single_group;
if ( $group_id = BP_Groups_Group::group_exists($bp->current_action) ) {
/* This is a single group page. */
$is_single_group = true;
$group_obj = new BP_Groups_Group( $group_id );
/* Using "item" not "group" for generic support in other components. */
if ( is_site_admin() )
$bp->is_item_admin = 1;
else
$bp->is_item_admin = groups_is_user_admin( $bp->loggedin_user->id, $group_obj->id );
/* If the user is not an admin, check if they are a moderator */
if ( !$bp->is_item_admin )
$bp->is_item_mod = groups_is_user_mod( $bp->loggedin_user->id, $group_obj->id );
/* Is the logged in user a member of the group? */
$is_member = ( groups_is_user_member( $bp->loggedin_user->id, $group_obj->id ) ) ? true : false;
/* Should this group be visible to the logged in user? */
$is_visible = ( 'public' == $group_obj->status || $is_member ) ? true : false;
}
/* Add 'Groups' to the main navigation */
bp_core_add_nav_item( __('Groups', 'buddypress'), $bp->groups->slug );
if ( $bp->displayed_user->id )
bp_core_add_nav_default( $bp->groups->slug, 'groups_screen_my_groups', 'my-groups' );
$groups_link = $bp->loggedin_user->domain . $bp->groups->slug . '/';
/* Add the subnav items to the groups nav item */
bp_core_add_subnav_item( $bp->groups->slug, 'my-groups', __('My Groups', 'buddypress'), $groups_link, 'groups_screen_my_groups', 'my-groups-list' );
//bp_core_add_subnav_item( $bp->groups->slug, 'create', __('Create a Group', 'buddypress'), $groups_link, 'groups_screen_create_group', false, bp_is_home() );
bp_core_add_subnav_item( $bp->groups->slug, 'invites', __('Invites', 'buddypress'), $groups_link, 'groups_screen_group_invites', false, bp_is_home() );
if ( $bp->current_component == $bp->groups->slug ) {
if ( bp_is_home() && !$is_single_group ) {
$bp->bp_options_title = __('My Groups', 'buddypress');
} else if ( !bp_is_home() && !$is_single_group ) {
$bp->bp_options_avatar = bp_core_get_avatar( $bp->displayed_user->id, 1 );
$bp->bp_options_title = $bp->displayed_user->fullname;
} else if ( $is_single_group ) {
// We are viewing a single group, so set up the
// group navigation menu using the $group_obj global.
/* When in a single group, the first action is bumped down one because of the
group name, so we need to adjust this and set the group name to current_item. */
$bp->current_item = $bp->current_action;
$bp->current_action = $bp->action_variables[0];
array_shift($bp->action_variables);
$bp->bp_options_title = bp_create_excerpt( $group_obj->name, 1 );
$bp->bp_options_avatar = '<img src="' . $group_obj->avatar_thumb . '" alt="Group Avatar Thumbnail" />';
$group_link = $bp->root_domain . '/' . $bp->groups->slug . '/' . $group_obj->slug . '/';
// If this is a private or hidden group, does the user have access?
if ( 'private' == $group_obj->status || 'hidden' == $group_obj->status ) {
if ( groups_is_user_member( $bp->loggedin_user->id, $group_obj->id ) && is_user_logged_in() )
$has_access = true;
else
$has_access = false;
} else {
$has_access = true;
}
// Reset the existing subnav items
bp_core_reset_subnav_items($bp->groups->slug);
// bp_core_add_nav_default( $bp->groups->slug, 'groups_screen_group_home', 'home' );
bp_core_add_subnav_item( $bp->groups->slug, 'home', __('Home', 'buddypress'), $group_link, 'groups_screen_group_home', 'group-home' );
// If the user is a group mod or more, then show the group admin nav item */
if ( $bp->is_item_mod || $bp->is_item_admin )
bp_core_add_subnav_item( $bp->groups->slug, 'admin', __('Admin', 'buddypress'), $group_link , 'groups_screen_group_admin', 'group-admin', ( $bp->is_item_admin + (int)$bp->is_item_mod ) );
// If this is a private group, and the user is not a member, show a "Request Membership" nav item.
if ( !$has_access && !groups_check_for_membership_request( $bp->loggedin_user->id, $group_obj->id ) && $group_obj->status == 'private' )
bp_core_add_subnav_item( $bp->groups->slug, 'request-membership', __('Request Membership', 'buddypress'), $group_link , 'groups_screen_group_request_membership', 'request-membership' );
if ( $has_access && $group_obj->enable_forum && function_exists('bp_forums_setup') )
bp_core_add_subnav_item( $bp->groups->slug, 'forum', __('Forum', 'buddypress'), $group_link , 'groups_screen_group_forum', 'group-forum', $is_visible);
if ( $has_access && $group_obj->enable_wire && function_exists('bp_wire_install') )
bp_core_add_subnav_item( $bp->groups->slug, 'wire', __('Wire', 'buddypress'), $group_link, 'groups_screen_group_wire', 'group-wire', $is_visible );
if ( $has_access && $group_obj->enable_photos && function_exists('bp_gallery_install') )
bp_core_add_subnav_item( $bp->groups->slug, 'photos', __('Photos', 'buddypress'), $group_link, 'groups_screen_group_photos', 'group-photos', $is_visible );
if ( $has_access )
bp_core_add_subnav_item( $bp->groups->slug, 'members', __('Members', 'buddypress'), $group_link, 'groups_screen_group_members', 'group-members', $is_visible );
if ( is_user_logged_in() && groups_is_user_member( $bp->loggedin_user->id, $group_obj->id ) ) {
if ( function_exists('friends_install') )
bp_core_add_subnav_item( $bp->groups->slug, 'send-invites', __('Send Invites', 'buddypress'), $group_link, 'groups_screen_group_invite', 'group-invite', $is_member );
bp_core_add_subnav_item( $bp->groups->slug, 'leave-group', __('Leave Group', 'buddypress'), $group_link, 'groups_screen_group_leave', 'group-leave', $is_member );
}
}
}
}
}
add_action( 'wp', 'bp_group_admin_only',1);
add_action( 'wp', 'manoj_groups_setup_nav',2);March 26, 2009 at 10:49 am #41013Andy Peatling
KeymasterIt needs a stripslashes call, which I will add.
March 26, 2009 at 10:30 am #41008reprocessor
ParticipantYeah, I’ve experienced this too – if there’s a fix available i’d appreciate the know-how
March 22, 2009 at 6:43 am #40613alunsina
Participantis it a public or a private blog? i think private blogs does not show on the sitewide activity.
March 20, 2009 at 12:00 pm #40496In reply to: Weird BBPress forum issue
kennibc
ParticipantWould having all the blogs be private have anything to do with this?
-
AuthorSearch Results