Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 1,101 through 1,125 (of 3,460 total)
  • Author
    Search Results
  • #184264
    bp-help
    Participant

    @hragupathi
    Do you mean keep profiles private from logged out visitors or do you mean keep profiles private for logged in users? Please clarify a little better as to what your trying to achieve.

    #184142
    Henry Wright
    Moderator

    You’ll need /members/username/messages/ in order for private messages to work. You could disable the rest such as /members/username/settings/ using a redirect function hooked to template_redirect

    #184102
    paton400
    Participant

    No, I need to grant the user role permission to ‘edit users’. But by granting that, I’m granting them access too much access.

    I want only want them to be able to change the information in other users profile fields. I don’t want them to be able to read private messages.

    Is this a question for Buddypress, WordPress or my user role permissions plugin?

    #184080
    Henry Wright
    Moderator

    Hi @paton400

    This works great, but it also allows these user roles to read through other users private messages, change avatars, settings etc

    If this applies to non-admin users such as contributors or subscribers, then this is a mighty big flaw. If that is happening due to the plugin then I’d expect the plugin author will want to know about it. Try raising the issue with them as a bug report or mentioning it in their support forum.

    #183934
    jjjaay9
    Participant

    i found some plugins that MAY do this: answer/questions

    The Top 6 Question and Answer WordPress Plugins

    However, if I used these plugins, how easy do they integrate with buddypress?
    Can I customize to show these pages, and for users to have a default link to ‘create a question’ ?

    I mean, if they have ‘create post’ like a normal wordpress blog, then buying/using a question/answer plugin is kinda useless as most wont be able to find the link to it – and will automatically create a post instead.
    Also, how would i know if it looks good or this plugin will integrate with BP?

    For example, would it show up as a sidebar saying recent questions like recent posts etc?

    Otherwise if it doesn’t integrate with BP then there’s no point using BP if it has a question and answer section that acts normally as wordpress anyway.

    If so, what are teh benefits of using BP AND a question/answer plugin?
    one eg i think of is, users can private message eachotehr when someone posts a question

    Thanks

    #183521

    In reply to: import pm from phpbb

    DennisBarkerCV
    Participant

    There is a plugin in the wordpress plugin directory to handle phpbb to bbpress migration,although no mention is made about private messages.

    https://wordpress.org/plugins/cms2cms-phpbb-to-bbpress-forum-converter/

    It looks like it is in active development so you might want to suggest the features you are looking for to the plugin author if it doesn’t already cover your needs.

    #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');
    #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

    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');
    #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.

    #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?

    #182220
    localiseorg
    Participant

    This sort of functionality is something that’s definitely required for BP – there’s no way an admin can go round reading everything on a busy site, abuse monitoring has to be crowdsourced to the members.

    The plugin I’ve been testing, which was last updated in 2013, is this one: https://wordpress.org/plugins/bp-moderation/

    Interestingly it covers just about everything – from members, private messages & their senders, statuses, activity comments, topics, forums, groups, posts, pages, blog comments, and probably a whole bunch of other things. I have a hunch they are hard-coded though.

    It works to an extent, but glitches I’ve found so far include:

    * Setting to define what text appears on the ‘Flag’ links don’t get applied to all links
    * Flag link text for things like posts (and possibly pages) starts appearing in excerpts
    * It’s using images rather than FontAwesome / Fontello via CSS = ugly and slow
    * The admin menu icon is broken somewhat (looks ugly) but that’s minor thing

    IMHO if the UI could be cleaned up, images replaced with icon fonts, and somewhat improved control over link text implemented, this plugin would be pretty much there and would cover just about all aspects of WP, BP and (with some extra coding) probably even bbPress.

    Unfortunately I’m pants when it comes to PHP so can’t help with this task 🙁

    #182155
    nirgalo
    Participant

    Howdy! So, as there is no reply to this post for days, I would assume either my question is so stupid it does not deserve any answer, or that the option to disable the creation of private/hidden groups is not yet present in BuddyPress. In such a case, can this feature be planned for a future release? Thanks.

    #182038
    nirgalo
    Participant

    Actually regarding the admin, I can see the Group and Activity entries in the admin menu, so this should be fine for most usages. However I still don’t see a way to prevent users from creating private groups, any idea?

    #181737
    DennisBarkerCV
    Participant

    This sounds like something that can be achieved without multisite.You can use Buddypress Groups and bbPress running as a forum for each group to achieve the discussion / chat.

    Each project could become a BuddyPress Private Group with its own forum / docs.

    If you want a seperate blog for each project then that would require multisite,but one blog categorised by project could achieve the same thing without the additional comlexity.

    #181655
    sharmavishal
    Participant
    #181294
    ivarzLV
    Participant

    There’s no actually need any plugins, you can easily do this by adding these lines to your themes function.php file:

    `<?php

    add_action( ‘wp’, ‘custom_private_area’, 3 );
    function custom_private_area(){
    global $wp;
    if (!is_user_logged_in()){
    if ( bp_is_activation_page()
    || bp_is_register_page()
    || is_page_template( ‘wp-login.php’ )
    || ( in_array( $GLOBALS[‘pagenow’], array( ‘wp-login.php’ )))
    )
    return;
    bp_core_redirect(get_option(‘siteurl’) . “/wp-login.php”);
    exit;
    }
    }

    ?>

    Henry Wright
    Moderator

    The best approach is to list all of the places a member can enter text then try to lock each one down.

    Off the top of my head I can think of:

    The WP admin area – creating posts and pages etc

    Comments (if you have comments enabled)

    The BP profile area (xProfile fields)

    The activity stream (commenting, replies, new updates etc)

    Private messaging?

    #181286

    Private BuddyPress by Dennis Morhardt works an absolute treat for me.

    wrowlands
    Participant

    I am having the same issue. I am getting 404 error for requests to a private group. Very frustrating.

Viewing 25 results - 1,101 through 1,125 (of 3,460 total)
Skip to toolbar