Search Results for 'private'
-
Search Results
-
Topic: Hide pages /Member 2 plugin
Hi
I have an x rated site where I would like to set the activity stream and pics etc to viewable by members only. At the moment i have Private community for BP installed and activated but it does not seem to do the job as I want. I also have Member 2 installed but not ativated. I have not dwelled in to that one yet but wonder if that is the way to go to differ the non reg visitors to site members.
Any tips?
Topic: Few Issues
I am needing help on a few issues. I have latest WP & BP available as of today, and am using theme Twenty Thirteen. The website is http://www.ogfs.org
1) When registered users log in, I need them to only have access to the front-end rather than their limited back-end page. (Note: I am using BP Registration Options to require admin approval upon registration).
2) Disable the toolbar at top for all non-admin users
3) Recommendation on plugin that allows photos to be posted to group post comments. I have tried a few that allows media into the original post, but not the comments. A secondary alternative is possibly allow media attachment into private message (not ideal, but acceptable)
4) Ability for users to Edit their comment. Delete works great, but need ability to edit also. Plugin?
Thanks in advance for any and all assistance!Topic: Few Issues
I am needing help on a few issues. The website is http://www.ogfs.org
1) When registered users log in, I need them to only have access to the front-end rather than their limited back-end page. (Note: I am using BP Registration Options to require admin approval upon registration).
2) Disable the toolbar at top for all non-admin users
3) Recommendation on plugin that allows photos to be posted to group post comments. I have tried a few that allows media into the original post, but not the comments. A secondary alternative is possibly allow media attachment into private message (not ideal, but acceptable)
4) Ability for users to Edit their comment. Delete works great, but need ability to edit also. Plugin?
Thanks in advance for any and all assistance!Topic: Does anyone know this code?
Hi all.
I hope someone could help me. this is the action that i want, in the private messaging of the buddypress, i take out the read and unread feature and also the starring of messages, all that’s left is the senders name and the subject of the message. what i want is that, the moment the receiver click the subject of the message there will be an automatic action, when the receiver click the subject to see the message there will be a message that will be automatically send to the sender. Like (Username:viewed the message), so the sender knows that the receiver read or opened the message, i really need your help, i hope someone could provide a code for me. hoping for your response, Thank you.Moved and renamed our small private site to new host via export/import of sql and ftp.
Everything gold except that the members page seems to have been damaged.
WP 4.4.2 & BP 2.4.3. My theme is twenty sixteen.http://www.example.com/members/ works as expected.
http://www.example.com/members/username/profile/ also works as expected.http://www.example.com/members/username/ does not work at all and gives this message:
“Oops! That page can’t be found. It looks like nothing was found at this location”
That is the page that is linked when click a name or picture of a user.Grateful for any hints on what to fix. I am out of ideas…
Hi Folks – It’s come to our attention that the users pages are being indexed by google and are also visible to anyone who is not logged in.
http://shortiedesigns.com/cpn/for-members/find-a-network-member/members/matt_parselle/
I’ve done lots of googling and can’t quite find what I’m looking for.
I need to make sure that everything about the user is private and only logged in members can see.
I tried the below – but it only stopped the activity page – not the profile or forum page. I would love some clues if anyone has any! Thanks
//Add a function to hide buddypress activity page from non-logged in users
/* Prevent logged out users from accessing bp activity page */
function nonreg_visitor_redirect() {
global $bp;
if ( bp_is_activity_component() || bp_is_groups_component() || bp_is_group_forum() || bp_is_members_component() ||bp_is_page( BP_MEMBERS_SLUG ) ) {
if(!is_user_logged_in()) { //just a visitor and not logged in
wp_redirect( get_option(‘siteurl’) . ‘/wp-login.php’ );
}
}
}
add_filter(‘get_header’,’nonreg_visitor_redirect’,1);Hi, i want to disable ajax of button sender private message. any help!? Thank you.
I have created a BP_Group_Extension for a contact form that essentially hooks up the awesome but free Contact-Form-7 plugin and puts a contact form under its own tab on the Group home page.
I want to filter the Contact Form’s php mail() function to change the message recipient to the Group Admins for that particular page. Trouble is I cannot seem to capture these group details from within the add_filter function. Here is my file Contact_Secretary_Extension.php:
<?php /** * The class_exists() check is recommended, to prevent problems during upgrade * or when the Groups component is disabled */ if ( class_exists( 'BP_Group_Extension' ) && class_exists( 'WPCF7') ) : // requires both buddypress group extension and Contact form 7 plugin class Contact_Secretary_Extension extends BP_Group_Extension { /** * Here you can see more customization of the config options */ private $cf7formID = "428"; // form id function __construct() { $args = array( 'slug' => 'contact', 'name' => 'Contact', 'nav_item_position' => 99, 'show_tab' => 'anyone', 'access' => 'anyone' ); parent::init( $args ); } function display( $group_id = NULL ) { // we are going to get group admin details and hook into contact form 7 echo '<div class="panel-body">'; echo '<h3>'.__('Use this form to send the','ccc').' '.bp_get_group_name().' '.__('group secretary a message','ccc').'</h3>'; echo do_shortcode( '[contact-form-7 id="'.$this->cf7formID.'" title="Contact Group Secretary"]' ); echo '</div>'; } } bp_register_group_extension( 'Contact_Secretary_Extension' ); add_filter( 'wpcf7_mail_components', 'ccc_group_mail_components', 10, 2 ); function ccc_group_mail_components( $components, $contactform ) { // literally ripped straight from bp_group_list_admins() but with different output global $groups_template; if ( empty( $group ) ) { $group =& $groups_template->group; } // fetch group admins if 'populate_extras' flag is false if ( empty( $group->args['populate_extras'] ) ) { $query = new BP_Group_Member_Query( array( 'group_id' => $group->id, 'group_role' => 'admin', 'type' => 'first_joined', ) ); if ( ! empty( $query->results ) ) { $group->admins = $query->results; } } if ( ! empty( $group->admins ) ) { $recipients = array(); foreach( (array) $group->admins as $admin ) { $recipients[] = $admin->user_email; } $components['recipient'] = implode(",", $recipients); } else { // append a little alert to subject line so we know admin emails weren‘t found. $components['subject'] = $components['subject']. ' (No group admin found)' ; } // lets tag subject line with group section as well for traceability $components['subject'] = '['.bp_get_group_name().']'.$components['subject']; return $components; } endif;I know the script is running because test emails are getting the (No group admin found) string appended to the subject line, unfortunately it is not going to the correct email address and bp_get_group_name() is returning empty string.
Any tips greatly appreciated thanks.
Peace.
Hello,
I’m using Modern Portfolio Pro theme by Studiopress, and the PM link is displaying twice. I know it’s theme related because I activated Twenty Sixteen and it was fine.
Any thoughts on what to do aside from changing themes?
No link because it’s a private board.
Thanks in advance for any help!Hi all. in bp private messasing can i send a single message to many users at the same time?
Hi all. 🙂
can i attach a file on a private messaging?Topic: subject in private message
Hello,
I add a private message button to listings by using below function, but in subject field “Testing” does not appear. Am i missing something? Actually, i want to get listing title into the subject field. Any suggestions?
function bp_custom_get_send_private_message_link() {
$author = get_the_author();
$subject =”Testing”;
$compose_url=bp_loggedin_user_domain() . bp_get_messages_slug() . ‘/compose/?’;
if($author)
$compose_url.=(‘r=’ . get_the_author());
if($subject)
$compose_url.=(‘&subject=’. $subject);
return wp_nonce_url( $compose_url ) ;
}add_shortcode( ‘ksam2’, ‘bp_custom_get_send_private_message_link’ );
Best regards
wordpress 4.4.1 using buddypress 2.4.3….Im new to buddypress so maybe its just me but I do not see a button for any type of messaging to friends or an add friends button either…..Is there something Im doing wrong?
My siteI would love to get some feedback on this, before submitting a ticket to Trac:
On a BP site I am managing, I am facing the issue of users responding to private messages by email, which results in their responses being sent to the site admin instead of the expected recipient.
It’s a classic problem:
See https://buddypress.org/support/topic/private-message-sent-to-admin-e-mail/
…and https://buddypress.org/support/topic/why-is-site-admin-getting-users-private-messages/
I was hoping to find a filter, that would allow me to set the Reply-To address to the address of the sender, not the site admin.
I looked into this function, which is sending the messages:
function messages_notification_new_message(...)Unfortunately, it uses wp_mail in this way:
wp_mail( $email_to, $email_subject, $email_content );This doesn’t allow us to change the headers (such as: From, Reply to…).
It looks a bit like an oversight, since there are filters in place for all the other pieces: for $email_to, $email_subject, $email_content.
So my proposal for BuddyPress Core would be: add a new filter for email headers:
$email_headers = apply_filters( 'messages_notification_new_message_headers', $headers, $sender_name, $sender_id, $ud );and change the wp_mail function accordingly:
wp_mail( $email_to, $email_subject, $email_content, $email_headers );This would allow me to define the Reply-To header, by using a filter such as this:
add_filter( 'messages_notification_new_message_headers', 'kino_set_notification_headers', 10, 4 ); function kino_set_notification_headers( $headers, $sender_name, $sender_id, $ud ){ $sender_data = get_userdata($sender_id); $headers = 'Reply-To: '.$sender_name.' <'.$sender_data->user_email.'>' . "\r\n"; return $headers; }What do you think? Shall I propose this change on Trac?
When a users is @mentioned in a private group they are not a member of, BuddyPress is still sending them an email notification that they were mentioned that includes the content of the post. Also, users can see private group posts they were @mentioned in on the Activity directory Mentions stream even for groups they aren’t members of. These seem like significant holes in the “privacy” of Private Groups.
Topic: installing and settings…
Hi,
I think Buddypress + bbpress would help me. I am looking for a solution like this:
A want to have a list of members and groups. All groups will be private of hidden.
Further I will give each group its own forum. I am using bbpress for this.I want to be sure each member can only see the forums from own group. How can I get it done? or does it already work this way?
Trying it out I have seen that some group forums could be accessed from the forum root. How can I avoid this?Thanks a lot for taking the time to help!
Cheers!