Search Results for 'private'
-
Search Results
-
Hey there. I’m using s2Member in conjunction with BuddyPress, and I’ve been having trouble figuring out my registration page.
Mainly, I’m not sure how to make some fields private, and others public. I might just be missing something, but I’ve been looking at so many plugins and features lately, it’s gotten confusing.
Say I want to collect the user’s phone number and street address for billing, but I don’t want it showing up on their profile. How would I go about this?
Any help would be greatly appreciated!Topic: Import from Ning
When using the import from Ning it shows:
Import Users from Ning
GroupsImport from Ning is now importing your Ning groups. Importing groups takes a lot of processing power, so you’re limited to importing 30 groups at a time. If you’ve got more than that, you will have to refresh the page in order to get them all.
Once you’ve imported all your groups, click Continue at the bottom of the page to move on to the next step.
0) Created group:I asked the plugin dev and they are too busy to fix this.
Code:This is the section that start the import function bp_ning_import_get_groups() {
$ning_id_array = get_option( ‘bp_ning_user_array’ );// Get list of Ning groups for cross reference
$groups = bp_ning_import_prepare_json( ‘groups’ );if ( !$ning_group_id_array = get_option( ‘bp_ning_group_array’ ) )
$ning_group_id_array = array();$counter = 0;
foreach ( (array)$groups as $group_key => $group ) {//if ( $counter >= 30 ) {
// update_option( ‘bp_ning_group_array’, $ning_group_id_array );/// echo “
Refresh to continue
“;
// die();
//}// Create the group
$ning_group_creator_id = $group->contributorName;
$creator_id = $ning_id_array[$ning_group_creator_id];$status = ( $group->groupPrivacy == ‘private’ ) ? ‘private’ : ‘public’;
$ndate = strtotime( $group->createdDate );
$date_created = date( “Y-m-d H:i:s”, $ndate );
$slug = sanitize_title( esc_attr( $group->title ) );
$args = array(
‘id’ => $creator_id,
‘title’ => $group->title,
‘description’ => $group->description,
‘slug’ => $slug,
‘status’ => $status,
‘enable_forum’ => 1,
‘date_created’ => $date_created
);if ( !BP_Groups_Group::group_exists( $slug ) ) {
if ( $group_id = groups_create_group( $args ) ) {
groups_update_groupmeta( $group_id, ‘last_activity’, $date_created );
groups_update_groupmeta( $group_id, ‘total_member_count’, 1 );
groups_new_group_forum( $group_id, $group->title, $group->description );
echo “$group_key) Created group: $group->title
“;
if ( !$forum_id = groups_get_groupmeta( $group_id, ‘forum_id’ ) ) {
print_r($group);
die();
}$ngroup_id = $group->id;
$ning_group_id_array[$ngroup_id] = $group_id;$counter++;
}
} else {
//echo “Group $group->title already exists
“;
}if ( is_array( $group->members ) ) {
foreach( $group->members as $member ) {
$ning_group_member_id = $member->contributorName;
$member_id = $ning_id_array[$ning_group_member_id];groups_join_group( $group_id, $member_id );
}
}
}
update_option( ‘bp_ning_group_array’, $ning_group_id_array );unset( $groups );
}Can anyone help.
I am looking to change the settings in private group from
Group content and activity will only be visible to members of the group
to
that the content is visible to everyone.
How and where can I code this change.
ThanksHello there,
I use BuddyPress to manage an internal company network which discusses commercially confidential information. BuddyPress is perfect for this as general email correspondence isn’t secure/organised enough for us …however, when there is any activity on the network the member is notified of it by general email. The notification by email is great and we require this but would like NOT to include the full details of the activity (ie: contents of a Private Message etc). Can these email notifications, particularly, PM’s be edited to delete the “contents” of the PM’s?
Hi,
i was looking around for a privacy solution in buddypress. Means, that a user will not be able to see a non friend’s profile. There is a plugin called “BuddyPress Profile Privacy” that work great for some people. However for me and for many other the plugin gives error and i couldn’t find a fix for it.
i did manage to find a solution that for now seems to work for me. the original function of the function below i found here (http://premium.wpmudev.org/forums/topic/additional-buddypress-profile-privacy-settings) thanks to Richie_KS. the original function direct a user to a different page (non-friend.php) when he is trying to see a non friend profile. which can work just fine. However, i changed the function and now if i will go to a non friend page i will see his picture , “Add Friend” button and “Send private message” button. but no profile information will be displayed. This way i can also choose in which pages to block the information. (profile , activity , blogs…..)few simple steps :
1) paste this function in your function,php :
`
//
check if member is a friend
//function bp_displayed_user_is_friend() {
global $bp;
if ( bp_is_profile_component() || bp_is_member() ) {
if ( (‘is_friend’ != BP_Friends_Friendship::check_is_friend( $bp->loggedin_user->id, $bp->displayed_user->id )) && (bp_loggedin_user_id() != bp_displayed_user_id()) )
if ( !is_super_admin( bp_loggedin_user_id() ) )return true;
}
}
`2) i created a template file called “not-friend.php” where i put the message i want to be displayed . this is how mine looks like :
`
This information is avaliable only for friends
`
simple!!
* i uploaded the file to the buddypress theme folder under /members/single/
2) now you can go to the pages you want to make private (pages found in buddypress theme folder under /members/single) and add this to the top of the page:
`
`
//////////////////////////////////////////////////////
here goes the original information of the page.
///////////////////////////////////////////////////////and add this below the information( should be at the bottom of the page):
``
as for now it works great for me. if any of you try it and find something wrong please let me know.
How would I configure a publicly-viewable group with controlled membership? That particular option isn’t available in the troika of group permission settings, so I believe I’m looking for a plug-in to:
– Add approval workflow for membership in a public group
– Add public viewing to a private group
– Something else?TIA for any tips you might have.
I’ve been reading the BP doc and I want to make sure I’m understanding this right…
It looks like, from what I read on WPMU’s site that WPMU is now integrated into the latest version of WP….which has been ambit confusing to me because most all the instructions I’m reading all over the web for BP assume you’re using WPMU…but anyway…if I’m understanding this properly…while the multi-user blog feature is integrated into the latest version of WP, this feature must be activated manually, right??
SO…if i don’t actually want my users to have a blog on my site, but instead just all the other social aspects…profiles, friends, private messaging, groups, forums, etc….THEN am I correct that all I need do is NOT do the manual step to activate blogs for my users?
I guess what I’m wondering is if there will be any problems with BP if I don’t activate those blogs?
Hi,
I want the main part of my website to be viewable by the public but would like to create a private area of my website where members need to sign-up and log-in to view the Buddypress sections (members, groups, forums etc). I want a tab or page that prompts people to sign-up or log-in. When logged-in, users are re-directed to a feature page which allows them to navigate the BuddyPress options (viewing members/groups/forums/activity, creating groups etc etc). I have looked through a variety of plugins. BuddyPress-private-community would seem to do some of what I want but using it would seem to require quite a lot of code writing abilities (that I lack). Does anyone have any suggestions or know of any easy-to-use plugins that will help me?
I would also like to adjust the template slightly of the Buddypress pages but again it would seem to need me to change quite a lot of code in the .css file. I am using PlatformPro template so am hoping there is a way to setup something within their templates that I can use.
Many thanks,
SaskiaHello all,
I apologize in advance for my ignorance regarding BuddyPress.
I currently have a WordPress site for my organization. I just installed the BuddyPress plug-in and am looking to allow certain people (our international partners, but nobody else) to be able to log-in to our website.
1) How can I create a log-in tab?
2) How can I ensure that only certain people are able to create user accounts and log-in?
3) Once those people are logged-in, is there any way to have a private section of the site that only they can access? On there would be access to fellow members’ profiles, an ability to post documents or photos to a forum thread, private message other members, etc?Thank you!!
Hello all,
I apologize in advance for my ignorance regarding BuddyPress.
I currently have a WordPress site for my organization. I just installed the BuddyPress plug-in and am looking to allow certain people (our international partners, but nobody else) to be able to log-in to our website.
1) How can I create a log-in tab?
2) How can I ensure that only certain people are able to create user accounts and log-in?
3) Once those people are logged-in, is there any way to have a private section of the site that only they can access? On there would be access to fellow members’ profiles, an ability to post documents or photos to a forum thread, private message other members, etc?Thank you!!
After some fiddling, copying, more fiddling, I think I’ve got a working reCaptcha code. As it is, you just put this code in your theme’s functions.php file (I just made a child theme of the bp-default), edit the code to add a link to the recaptchalib.php file (get it here: http://code.google.com/p/recaptcha/downloads/list?q=label:phplib-Latest ) and your public and private keys, and you’re good to go. Here’s the code:
<?php
require_once(‘/path/to/recaptchalib.php’);function bpn_add_reg_field() {
global $bp;
$publickey = “”;
echo recaptcha_get_html($publickey);
if ( !empty( $bp->signup->errors)) {
echo $bp->signup->errors;
}
}function bpn_check_reg_recaptcha($errors)
{
global $bp;
$private_key = “”;if (function_exists(‘recaptcha_check_answer’))
{
$response = recaptcha_check_answer($private_key, $_SERVER[“REMOTE_ADDR”], $_POST[“recaptcha_challenge_field”], $_POST[“recaptcha_response_field”]);if (!$response->is_valid)
{
$bp->signup->errors = __( ‘ERROR: Captcha response is either empty or incorrect.’,’buddypress’);
}
}return ;
}add_action( ‘bp_before_registration_submit_buttons’, ‘bpn_add_reg_field’ );
add_action(‘bp_signup_validate’, ‘bpn_check_reg_recaptcha’ );?>
I have a private group that members need to be approved to join. The group shows up in their Groups list even before they’ve been admitted. But if the user clicks on it while his membership is still pending, he’s redirected to the site’s homepage. I’d like him to see text that says “Your membership request to this private group is in process.” Any idea how I can add that ?
hi i got a BP social site that i created few hours ago and im using a bp private community plug in that i use the problem is after i activated it a new user cant create a new account it always stuck in the login page please i need your help bout this matter