Search Results for 'private'
-
AuthorSearch Results
-
August 25, 2010 at 3:20 am #90293
In reply to: More Core Committers?
John James Jacoby
Keymaster@rogercoathup Happy to talk privately about why I opted to block the person in question from buddypress.org. Don’t want to air the dirty laundry but rest assured it takes quite a bit to get to that point.
@paulhastings0 Very little ‘risk’ but you’re on the right track. IMO one of the harder things about running such a large project is deciding what belongs in the core and why. It’s something that Andy was really strict about and did a great job of training me on because I was anxious to learn and asked for feedback with every patch I submitted for more than a complete calendar year before asking if he could use more ‘official’ help. You can look back through my commit history and see a few blunders here and there, as they’re fairly easy to make when you’re bouncing between installations. Every one of the guys you mentioned (including @cnorris23 and a few others) are the top of the list of being considered for core commit access. You could say it’s the next step on the ladder for each of these guys and they all deserve the promotion fairly equally.
If/when it comes time, it will be a hard decision to make.
August 25, 2010 at 3:05 am #90290In reply to: activity feed no longer showing commented on
John James Jacoby
Keymaster@metakappa The activity component needs to be matched up with the Activity Streams standard asap, and we’ll hopefully be able to do that in 1.3.
@intimez If you block search engines, your site is set to private, and blog posts and comments won’t appear in the stream. Make sure the option to make your blog public is the one selected.
August 20, 2010 at 10:21 pm #89871In reply to: Make Private Groups Visible
r-a-y
KeymasterIt’s possible, but would probably require hacking the core.
I don’t have time to look into this, but I would also suggest taking a closer look at /bp-groups/bp-groups-templatetags.php as well.Look for private and group statuses in that file.
August 20, 2010 at 9:54 pm #89868In reply to: Make Private Groups Visible
amahesh
Memberthanks for the help with the admin issue @r-a-y…would you or anyone else have a possible solution for this?
August 18, 2010 at 10:15 pm #89605In reply to: Make Private Groups Visible
amahesh
Member@r-a-y
I am trying to make a group for “American Restaurants” and I want everyone to be able to see the content of the group, but only accounts which are actually restaurants to be able to request an invitation and joinAugust 18, 2010 at 9:40 pm #89600Mack
ParticipantThanks a lot, my function now works. Maybe I made sth wrong with these parameters. Messages now appear in database, the problem is that PMs are enabled in buddypress settings. I guess I will have to implement inbox myself, as it would be faster

Thanks for your responds again
.Cheers,
MaciejAugust 18, 2010 at 7:29 pm #89587In reply to: Make Private Groups Visible
r-a-y
KeymasterWhat’s the point of having a group private then?
Just make everything public!
August 18, 2010 at 6:38 pm #89569r-a-y
KeymasterJust looking over the parameters again, it appears that the “recipients” parameter should be an array.
So try changing that.PMs and other BP components can be enabled/disabled from the “BuddyPress > Component Setup” page in the WP admin dashboard.
August 18, 2010 at 6:24 pm #89568Mack
ParticipantAt first I tried to send arguments the way you suggested in last post, but it didn’t work, so I tried to do it in url-style. None of these worked so far.
Can you tell me how to enable PMs?
Thanks for replies!
Cheers,
MaciejAugust 18, 2010 at 6:21 pm #89567In reply to: Make Private Groups Visible
Pisanojm
ParticipantRight, I was saying look at the code to see if you can replicate what you want.
August 18, 2010 at 5:54 pm #89561r-a-y
KeymasterI can see potential problems with that $args variable you have setup.
Try setting up the arguments as an array.$args = array( 'recipients' => $user_id, 'sender_id' => 11, 'subject' => $title, 'content' => $message );If PMs are disabled, the code will not run. In fact, most likely you’ll get an undefined function error.
August 18, 2010 at 5:51 pm #89560In reply to: Make Private Groups Visible
amahesh
Memberthats only for the forum though…I want to make it so that anyone can see the group, but to join, you must request an invite
August 18, 2010 at 12:36 pm #89511Mack
ParticipantThe function I wrote is as following –
function send_msg($user_id, $title, $message){
$args = “recipients=$user_id&sender_id’=11&subject’=$title&content’=$message”;messages_new_message( $args );
}I pass only recipients id, sender id, subject and content, due to call to wp_parse_args in messages_new_message, which fills message parameters which aren’t sent with default values, I believe. But it doesn’t affect database at all, no new messages are inserted.
—
About inbox, the installation I am working on is quite tweaked, so I don’t know what has been enabled and what disabled
. But if pm’s are disabled, is there an easy way to enable them? Also if pm’s are disabled, will message_new_message function do anything at all?Cheers
MaciejAugust 18, 2010 at 5:25 am #89476In reply to: Make Private Groups Visible
Pisanojm
ParticipantI can’t help, but it looks like you might be able to glean something from the Announcement Plugin where anyone can read, but people can’t post….
August 18, 2010 at 4:51 am #89474In reply to: Make Private Groups Visible
amahesh
Membercan anyone please help with this?
August 17, 2010 at 7:53 pm #89412r-a-y
KeymasterDid you pass parameters into the messages_new_message() function?
All the parameters can be found in the /plugins/buddypress/bp-messages.php file like Boone stated.
—
Private messages are disabled on this website at the moment due to spam. However, on a regular install, simply navigate to the “My Account” menu in the BuddyPress admin bar (located at the top) and navigate to “Messages”.
August 17, 2010 at 7:49 pm #89408Mack
ParticipantThanks for quick respond
. I try to call this function, but it doesn’t seem to be working. Nothing is inserted into the bp_messages tables in wordpress db. BTW, how to open my inbox? I can’t find it even here on buddypress.org, and on the site I am working on it’s also invisible. Should I install some new plugin or what?Cheers,
MaciejAugust 16, 2010 at 5:42 pm #89285Boone Gorges
KeymasterCheck out messages_new_message() in buddypress/bp-messages.php.
August 15, 2010 at 10:20 am #89155In reply to: only for logged in members
Roger Coathup
ParticipantYou could look at using functions like:
groups_is_user_member( $user_id, $group_id )
To test if the user is in a specific group, and only show the page if they are in the appropriate group. This is defined in bp-groups.php.bp_is_member()
To simply check whether the current user is a member (and logged in). This is defined in bp-core-templatetags.phpThere is also a group blogs plugin: https://buddypress.org/community/groups/bp-groupblog/
I don’t know if this can be adapted to implement the private pages for your group members.
Cheers, Roger
August 15, 2010 at 1:23 am #89136In reply to: only for logged in members
lorenzo
Memberthanks, this is quite useful to address the issue to block out everything. what i was after is a little more fine-grained. for example there are out there a few plugins which use wordpress roles to limit access to posts or even categories. can anyone suggest a way of using a buddypress group or a field from the extended profile to limit access to posts/pages (rather than activities like forum posts etc?
i understand that if one is not member of a private group they cannot see the group activities in the stream, but how to make certain pages only accessible based on buddypress group membership?
many thanks!
August 14, 2010 at 12:47 pm #89067In reply to: How to make a private community?
imjscn
Participant@hnla, I said “Click it” because it’s on the blog’s main navigation menu. If a visitor click this menu, it will go to the Introduction page.
What you said is exactly what I want— “simply have the text/content you want with a simple link to the registration page and also a simple login, registered users will login and be directed to their profile pag”, but the plugin you mentioned does not perform like this. It works on the action of a user log in(click the log in page) and then redirect.
August 14, 2010 at 11:00 am #89058In reply to: How to make a private community?
Hugo Ashmore
ParticipantThat sounds like you actually need a custom front page, but what do mean by ‘click it’ that’s a rather loose term click what?
Why does that page not simply have the text/content you want with a simple link to the registration page and also a simple login, registered users will login and be directed to their profile page by the plugin mentioned earlier. What you do with the main site home link is another question, suppose it’s possible to have that custom frontpage display your intro page to all logged out users and once logged in if a member navigates back to that page it will display ? activity loop / main site blog posts
August 14, 2010 at 10:47 am #89056In reply to: How to make a private community?
imjscn
Participant@hnla, let me try if my understanding about the codes are correct or not:
BP Redirect to Profile = force user to go profile page on log in. It’s not what I want to achive;
Travel-Junkie’s code = Make all BP communit not accessable for outsiders, they can only access blog page. It’s not what I want;This is what I want: I have an Introduction page for outsiders. I name is “MySpace”. When logged in user click it, it goes to his/her profile. When outsiders click it, it shows the Introduction page and suggest him/her to signup.
Now I see the “Redirects” not working because I need a dynamic URL(depends on user status) as the target URL.
What to do?
August 14, 2010 at 9:36 am #89054In reply to: How to make a private community?
Hugo Ashmore
ParticipantJenny that plugin you found ‘redirects’ is this a BP plugin? if not then use the one I linked to which is custom coded to work for BP (can’t vouch whether it’s currently compatible with latest releases)
At the end of the day I think you are looking for one plugin to cover two different jobs which may prove problematical.
Possibly you need to use your ‘redirects’ if that works satisfactorily with BP AND the other plugin to provide the actual logged in redirect to profile pages.August 14, 2010 at 8:43 am #89053In reply to: How to make a private community?
-
AuthorSearch Results