Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 1,826 through 1,850 (of 5,233 total)
  • Author
    Search Results
  • sangramghatage
    Participant

    Hi Guys,

    I Want to Add new button named ‘Work With’ similar to ‘Add Friend’ in Member Header. I want to implement a function similar to Add friend using this button. When logged in User will Click this button on Other Member’s profile; It will mean logged in user is interested to work with that member.

    Currently I have written function code in a plugin. But problem is that I am unable to add button on profile. I want to place this button next to ‘Private Message’ button. and when that button is clicked my function should be triggered. Please help me add button on Profile.
    I am not using any custom theme. I am using default twentyfourteen theme. Someone please help; its very urgent.

    mizerr
    Participant

    I am running WordPress 3.8.3 and Buddypress 1.9.2. I am wondering if it is possible to allow non-group members to see members in a private group?

    #183401
    devonc01
    Participant

    In reply to my above situation, I went to the WordPress Codex page which lists all the hooks available to developers. On this page, you can see a listing of things used as the first parameters for the add_filter('hook','your functions to run on that hook') method.

    There was an example listed in that Codex that referenced exactly what I was trying to accomplish, namely, removing ‘Private: ‘ from private forum titles.

    Below is the code that I am using now, it strips ‘Private:’ as well as leaving my profile page without any of the wierd markup that the previous code was using (note the previous code was from a post in ’09, so things likely changed since then):

    /* Removing private prefix from post titles */ 
    
     
    function spi_remove_private_protected_from_titles( $format ) {
    	return '%s';
    }
    add_filter( 'private_title_format',   'spi_remove_private_protected_from_titles' );
    #183400
    devonc01
    Participant

    I resolved this issue, but another remains:

    Yesterday, I was getting frustrated with the bbPress (a forum plugin for WordPress), because when I’d have a private forum, instead of it just being an attribute, it prepended ‘Private: ‘ before every forum.

    In my attempt to resolve this issue, I found a similar thing to what JSHelp referenced in this Stack Overflow Post: a code that would be located in the theme’s (my theme was Twenty-Fourteen) functions.php file.

    My attempt to resolve THAT issue, led to THIS issue (where we have HTML code being converted to non-code text on the buddyPress profile page).

    On removing the code from function.php, the issue fixed itself.

    However, I am unsure why these two interact in the way that they do, below is the code I added and later commented out:

    function the_title_trim($title) {
    	// Might aswell make use of this function to escape attributes
    	$title = attribute_escape($title);
    	// What to find in the title
    	$findthese = array(
    		'#Protected:#', // # is just the delimeter
    		'#Private:#'
    	);
    	// What to replace it with
    	$replacewith = array(
    		'', // What to replace protected with
    		'' // What to replace private with
    	);
    	// Items replace by array key
    	$title = preg_replace($findthese, $replacewith, $title);
    	return $title;
    }
    add_filter('the_title', 'the_title_trim');
    katemgilbert
    Participant

    Is there a way for an admin to see the number of private messages sent between community users? I know admins can see the messages of any user, but I am looking for more counts and stats to show site use.

    #183082
    soran7
    Participant

    I also have the same problem.
    Occurs in hidden group and private group.

    I also hope to resolve this problem.

    #183050
    moonhopper
    Participant

    duh! private messaging was turned off in Buddypress options in the newly separated blogs. That solved 1/ …. Still looking for 2/

    #182939
    julianprice
    Participant

    @bp-help I guess form this previous forum topic he’s wanting to create just utilize private messages https://buddypress.org/support/topic/using-buddypress-messaging-in-a-unique-way/

    @sparkingproducts Can you gives us more detail of what you trying to accomplish because it could be as simple as deactivating a component or styling CSS elements to be hidden

    Lerroy
    Participant

    Hi All

    I have a buddypress setup working great, my issue is though that when a users receives a friend request email and clicsk thes link to view, they are directed to a 404 page not found.

    If they are logged into the site, link works great and shows the friend request.
    If they are logged out, then if goes to the page error.

    I understand the user has to be logged in to view the friend request but how do i get it to recognise the user isnt logged in and redirect to wp-login on a login page, instead of going to the 404 page ?

    I have tried private BP pages plugin which is great but doesnt solve this problem.

    Thanks all..

    PS i have disabled all plugins no change.

    groubee
    Participant

    Hi

    How can I show a the menu item “Members” in the Group menu publicly?

    We need to show who is group member to not-logged-in visitors and logged-in members who are not group member in a private group.

    It would also be super cool to be able to add more menu items to each group menu – is that possible?

    I hope someone can help me 🙂

    Thanks
    Tonny

    sparkingproducts
    Participant

    I want to remove everything in this picture:

    [IMG]http://i60.tinypic.com/2zsd1rs.png[/IMG]

    any ideas? The navigation is giving me trouble.

    Tbarnes37
    Participant

    WP 3.9.1
    BP 2.0.1
    website: localhost dev site using MAMP

    Scenario
    I am building a member home page that includes a group activity stream to provide a group “wall” sort of experience. To do this, I made a copy of the ‘activity’ folder from bp-templates/bp-legacy/buddypress and placed it in my theme folder. Then in my member homepage template, I included an activity stream by adding:
    <?php locate_template( array( 'activity/index.php' ), true, false ); ?>

    The Problem
    Everything on the activity feed works, including adding, favoriting, and deleting status updates, but when a member comments on a status update, the comment is added, animation and all, but with no content – just ‘replied’ and the ‘Reply’ button, as shown here:
    https://www.dropbox.com/s/0yh2e1b5f2fw7zk/problem.png
    However, after a manual refresh, the comment is there with all its content, working perfectly.

    Other Threads
    I have found several others posting with similar problems, but no solutions that have worked for me:

    What I’ve Tried
    I’ve tried disabling all other plugins and removing all custom functions from my theme, and there was no change. I can’t try it in a different theme, since the problem IS my theme. The problem only occurs in my custom template. When I go to the group’s page, or to a member’s page, commenting works perfectly.

    Thanks for reading!

    #182688
    nward85
    Participant

    I have searched everywhere for an answer. I am using buddy press to create a client based community. I want my clients to be able to interact with each other. Since I am making a website to help people with their nutrition, I need a way to make individual private information for each client (such as meal plans, workout plans, goals, etc.) But I cannot seem to figure out a way around them. It would be nice to have these things to also be tabs when they view their profile.

    tweakben
    Participant

    Hi Giacomo!

    I added the following line to my themes functions.php:

    /* Stop WordPress from auto embeds */
    remove_filter( ‘the_content’, array( $GLOBALS[‘wp_embed’], ‘autoembed’ ), 8 );

    …and then composed a new Buddypress Private Message with http://www.mysite.com/blah.mp4 as the text.

    Now it shows [video src="http://www.mysite.com/blah.mp4" /]

    instead of the actual text. It’s still trying to wrap it, but at least not autoplay now.

    #182636
    modemlooper
    Moderator

    change whatever you want in the arguments

    function filter_send_message_btn() {
    
    		$args = array(
    			'id'                => 'private_message',
    			'component'         => 'messages',
    			'must_be_logged_in' => true,
    			'block_self'        => true,
    			'wrapper_id'        => 'send-private-message',
    			'link_href'         => bp_get_send_private_message_link(),
    			'link_title'        => __( 'Send a private message to this user.', 'buddypress' ),
    			'link_text'         => __( 'Private Message', 'buddypress' ),
    			'link_class'        => 'send-message',
    		);
    
    		return $args;
    
    }
    add_filter('bp_get_send_message_button_args', 'filter_send_message_btn');
    adamt19
    Participant

    It looks like bp_get_send_message_button is reserved for private messages only, and returns a filtered result of bp_get_button according to some private-message-specific parameters.

    I’d like to remove the term “Private” from the language, since it is the only kind of messaging I’m going to use, but with two additional requirements:

    1) I don’t want to deal with language files
    2) I want to keep the customization on this element of BP with the other customizations — i.e. in my functions.php

    It seems I cannot redefine bp_get_send_message_button in my functions.php. When I use an if (!function_exists.. my changes are ignored. When I remove the check, the conflict between the functions is fatal.

    How can I override the link_title and link_text without modifying BP core or using language files?

    function bp_get_send_message_button() {
    		// Note: 'bp_get_send_message_button' is a legacy filter. Use
    		// 'bp_get_send_message_button_args' instead. See #4536
    		return apply_filters( 'bp_get_send_message_button',
    			bp_get_button( apply_filters( 'bp_get_send_message_button_args', array(
    				'id'                => 'private_message',
    				'component'         => 'messages',
    				'must_be_logged_in' => true,
    				'block_self'        => true,
    				'wrapper_id'        => 'send-private-message',
    				'link_href'         => bp_get_send_private_message_link(),
    				'link_title'        => __( 'Send a private message to this user.', 'buddypress' ),
    				'link_text'         => __( 'Private Message', 'buddypress' ),
    				'link_class'        => 'send-message',
    			) ) )
    		);
    	}
    tweakben
    Participant

    Howdy! On my site my users send video URL’s back and forth to each other. Right now, BuddyPress is automatically embedding the code so the video displays in the message. I dont want this. I want just the text to be inputted, not a video embed.

    Is there a filter to do this or a line of code to delete?

    Thanks so much!

    Ben

    #182539
    RainerRainer
    Participant

    This is a rather detailed question..I’ll post it to the Buddypress forums as well.
    I hope somebody can steer me into the right direction…

    I am using the buddypress groups on my site. I have used the Buddypress extension API to add an additional menu/page to each group (made as a plugin).
    Within that page I am linking via URL and Callback to an external service giving me additional functionality.

    This works really well for public groups and hidden groups.
    But groups set to private react differently. As soon as I hit the external link Buddypress logs me out.

    So…is there a fundamental difference in how Buddypress handles public/private/hidden groups?

    Site is on: http://www.trackfight.net

    CyberBengt
    Participant

    When I am trying to add new members to my new group or add a new forum, nothing happens and I end up with a blank white page. The only way to add a new member is to ask him to apply for membership and then accept it. In the back-end adding or removing members doesn´t work at all.

    I can assign a forum to the group in the front-end admin, but when I try to reach it the awful white page appears.

    The group is a private group.

    I am running WP 3.8.3, BuddyPress 2.0.1

    sparkingproducts
    Participant

    hey guys,

    I’m making a two way messaging system where a staff member can contact any user inside wordpress, but the other party can only contact the staff member assigned to them. The assignment is done manually by storing the ID of the staff member in the user’s user meta.

    I’d like to utilize buddypress for it’s awesome private messaging system just tweak it slightly:

    1. only allow members with the subscriber role to contact the assigned staff member.

    2. allow staff member role to contact anyone in the system.

    3. remove friends functionality for everyone.

    4. I need the subscribers template the page is viewed through to look completely different then the staff member’s view.

    This is fairly ambitious but I’m confident with the awesome flexibility BP has we can get it done. Any pointers or tips or code is greatly appreciated!

    Thanks in advance,

    ~ Brad

    cyndimarie
    Participant

    I have a handful of pages that I only want to be seen by users that are LOGGED OUT. If a logged in user somehow goes to one of these pages, I want to redirect them elsewhere:

    • Login Page
    • Registration Page

    And then there is a page that I only want to be seen by users that are LOGGED IN. If a logged out user somehow goes to one of these pages, I want to redirect them to the Login/Registration page:

    • Content Submission Page

    I’ve seen a couple different plugins, but none of them really give me the control that I want. In this forum post someone suggested adding code to functions.php but that did nothing for me.

    Any help would be appreciated!

    #182482
    Henry Wright
    Moderator

    Hi @espellcaste

    Try adding this to compose.php right under the private message <textarea></textarea>

    wp_editor( '', 'content' );

    I do believe that should be enough to get the basic editor working for private messages on the compose screen.

    Note 1: Untested

    Note 2: You can also pass an array of arguments in the form of $settings. This is optional. It will let you do slightly more advanced stuff like load TinyMCE or quicktags. See the Codex link above for more info.

    #182418
    gvaslin
    Participant

    Hello,

    Does anybody know if there’s a plugin or something to do to get a rich text editor when we write a private message with the buddypress extension ?
    Many thanks for your answer,

    Guillaume

    #182392
    Henry Wright
    Moderator

    As an admin you can contact all uses using a sitewide notice. This depends on the messaging component being activated. If you want to contact members individually or if you want to disable private messaging then the only option I can see is to email them directly.

    #182252
    nirgalo
    Participant

    ahhh found the solution through bbPress forums: search engine indexing must be enabled in the WordPress settings for this to work! This is quite problematic for private sites (well that not much as those use authentication to get into content). Any plan to address this?

Viewing 25 results - 1,826 through 1,850 (of 5,233 total)
Skip to toolbar