Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 1,501 through 1,525 (of 3,869 total)
  • Author
    Search Results
  • notpoppy
    Participant

    @petervandoorn

    I also have this problem running WordPress 3.9.1, BuddyPress 2.0.1 and BBPress 2.5.4. It’s only been the case since I moved over to BBPress for forums.

    I’m happy to help anyone who’s trying to fix this apparent bug.

    These other threads appear to be relevant:

    https://buddypress.org/support/topic/private-group-topics-appearing-in-activity-stream-help/ (@kraigg)
    https://buddypress.org/support/topic/bugs-between-bbpress-and-buddypress/ (@jboye, @johnjamesjacoby)

    #185058
    Jarith
    Participant

    Hmmm, I plugged in the code you suggested and it didn’t seem to remove the ‘private’ prefix. Adding in the code Konstantin suggested only brought back my original issue.

    Is there some place specific in the function.php I am supposed to be adding either of these? Or is it another function.php file other than the one in my theme?

    Thanks for all the help.

    #185053
    @mercime
    Participant

    @jarith Marking this topic as resolved.

    As to removing the “Private” and “Protected” prefices, you could try adding bbPress forum conditional to your function or to the one Konstantin (first comment in that post) posted
    e.g.

    if ( class_exists('bbPress') ) {
          if ( is_bbpress() ) {
             // do this
          }
    }

    Undoubtedly, you’ll get additional support at the bbPress forums πŸ™‚

    #185048
    Jarith
    Participant

    Thank you! You reminded me of some code that I had inserted into functions.php to try to hide the ‘private’ prefix that would show up on forums that were marked that way. I had found the code below on another forum.

    Now I just have to figure out a way to still hide the prefix and not repeat this again.

    function the_title_trim($title) {
    $title = attribute_escape($title);
    $findthese = array(
    ‘#Protected:#’,
    ‘#Private:#’
    );
    $replacewith = array(
    ”, // What to replace “Protected:” with
    ” // What to replace “Private:” with
    );
    $title = preg_replace($findthese, $replacewith, $title);
    return $title;
    }

    #184999
    @mercime
    Participant

    but I do not want β€œnon-business” user types to be able to join the business groups


    @farmer121
    you can make the business groups either “private” or “hidden”

    Stephen Edgar
    Moderator

    Ok, we’re closer, looks like the correct bbPress forum ID is correctly associated with the BuddyPress Group πŸ™‚

    It looks like the slug/permalink is broken πŸ™

    Before looking at a fix, a clarification if I could

    Here is my bbPress Forums Hierarchy Structure Layout

     
    BuddyPress Forums Category (Top Level Category)
    β€” BuddyPress Public Group Forum (Forum)
    β€” BuddyPress Hidden Group Forum (Forum)
    β€” BuddyPress Private Group Forum (Forum)

    In bbPress Settings (Settings -> bbPress) (/wp-admin/options-general.php?page=bbpress)

     
    “BuddyPress Integration” -> “Group Forums Parent” is set as “BuddyPress Forums Category”

    My bbPress settings for forum slugs are:

     
    – Forum Root Slug -> forums
    – Forum Prefix -> Check/Tick
    – Single Forum Slugs -> Forum -> forum

    So my URL’s are build with the “forum root slug” then the “forum single slug” then “BuddyPress Forums Category” and lastly the actual forum “BuddyPress Public Group Forum” which results in:

    /forums/forum/buddypress-forums-category/buddypress-public-group-forum/

    Now onto your URL’s:

    Yours with bbPress forum ID 127650

     
    /forums/forum/forums-2/f1/correct-group-name/

    Yours with bbPress forum ID 127628

     
    /forums/forum/forums-2/name-of-another-group/

    These infer the following:

     
    forums-2
    β€” f1
    β€” β€” correct-group-name
    β€” name of another group

    With your settings:

     
    “BuddyPress Integration” -> “Group Forums Parent” is set as “forums-2”
    – Forum Root Slug -> forums
    – Forum Prefix -> Check/Tick
    – Single Forum Slugs -> Forum -> forum

    As long as the quote/code formatting displays as expected is this what your bbPress forums layout hierarchy looks like?

    EDIT: Tweaked the formatting above and just trying to digest where the forums-2 comes from and why it is there, the f1 no doubt is part of the incorrect forum slug that we can get to with the fix, I’ve got to go dig through some source code of bbPress & BuddyPress to workout where things are broken and how to fix it.

    #184625
    onesheep
    Participant

    So this plugin seems to do the trick.

    https://wordpress.org/plugins/private-community-for-bp-lite/

    #184544
    jayce103
    Participant

    Hi @djouonanglandry

    I have seen this in action already on another site, I am just not sure whether it is a buddypress site or even a wordpress thing.

    All the evidence looks like it is as it has activity/groups, etc but it is a privately built website so not sure.

    http://www.rvillage.com is the site and the accounts are free if anyone as 5 mins to go and have a look at the explore page on the site. This is the page that has the functionality

    Jayce

    liceocr
    Participant

    I’m not having a registration page
    how to create a registration page
    Note: This is a private group, to belong to him, you must register on the site and request membership.

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

Viewing 25 results - 1,501 through 1,525 (of 3,869 total)
Skip to toolbar