Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 976 through 1,000 (of 3,458 total)
  • Author
    Search Results
  • #234122
    milenushka
    Participant

    @henrywright

    Ok, I can confirm the issue now.

    If a group is created as private and a forum is created with it- it will be a private forum and its activity will remain invisible to non group members.

    If a private group is created and an existed forum is added to it- this forum need to be changed to private- otherwise the forum will remain public, even though the group attached to it is private- and the activity of the forum will be public.

    Same goes for a public group+ forum , that is created together and later group setting are set to private. Forum remains public- forum’s activity -too.

    Is there something to be done with the buddypress-bbpress integration to make this work?
    Creating a function that will make a forum private too- if the group it was attached to becomes private? @johnjamesjacoby
    https://buddypress.org/support/topic/bugs-between-bbpress-and-buddypress/

    #234119
    milenushka
    Participant

    Hi @henrywright,

    I am using buddyboss (child theme), tested it with default wp theme and buddyboss parent.

    I also found this thread https://buddypress.org/support/topic/forum-in-private-groups/ started a few weeks ago, and I think @melle328 is right, this happens if the group is first set as public and later changed to private or as in my case- group forum is set to public first and then chosen as the private’s group forum.

    So far it seems that if users create a group and a forum and later change their settings- the activity privacy is not updated. I keep testing different options as we speak, so I find something new, I will post it too.

    #234110

    In reply to: Noob recommendations

    devbynature
    Participant

    Thank you for your reply.

    I figured that it would be the best place to ask prior to going down the rabbit hole with the BuddyPress documentation and website. It’s been labeled as rather archaic, cryptic, and unreadable by many people that I asked for advice. I contribute to several other open source projects and might jump in on your docs/forum if the platform seems like something that will be handy for me in the future.

    As for the project being a copy, it’s really just identical in feature sets but not a literal copy of the site. Design is very different and it’s not dog sitters that are members. This site is for parents and babysitters which is highly similar to dogvacay.com in feature set. Yep, their site is built in Java. ::vomits a little::

    The key features that need to be included:

    – two member types (parents and babysitters)
    – they should be able to message each other privately
    – parents can schedule a date for the sitting to happen
    – parents can browse babysitters
    – custom profiles for each with different sets of information (based on a conditional of type)

    It appears that I was able to answer my own question over the past few days by utilizing the codex and going through all of the code. BuddyPress looks to be the best option for handling all of this unless I was to custom code a plugin (I am actually a PHP developer NOT a wordpress dev). I was looking at utilizing BuddyPress for cutting down time by using the friend associations and messaging system.

    BP might be a little much for this project but I can see value in several features that they might want in the future.

    I apologize for posting this in err to this forum if it’s not really a good place for asking whether it’s a good platform for such a situation. All of the documentation/about is written in a fashion that presents it as useful in only one way. It made it rather difficult to decipher how I could rip the plugin apart to do what I need instead of using it as “out-of-the-box.”

    Might there be some advance blogs out there where people have written about different ways to use the plugin? Just so that I can dig into the community a little more.

    Have a nice day.

    #234070
    danbp
    Participant

    Give this a try (functions.phhp or better, bp-custom.php) This will force the chronology of the blog post.

    Since recently (1.9 ?), a post published the 5th january is in the SWA at this date. A comment added to it the 26 january is attached to this post and appears under the 5th swa log…. so it’s just impossible to see if you have a long SWA.

    This snippet revert the swa to the previous behave.
    Posted: 5th -> swa: 5th
    Commented: 26th -> 26th

    function bpfr_stream( $qs, $object ) {
    	if ( 'activity' != $object ) {
    		return $qs;
    	}
    	
    	$qs = wp_parse_args( $qs, array() );
    	
    	$qs['display_comments'] = 'stream';
    	
    	return $qs;
    }
    add_filter( 'bp_ajax_querystring', 'bpfr_stream', 20, 2 );

    Private groups activities are not visible on the SWA. They show only on that group, if user is member and logged in.

    Hope that helps? 😉

    #233908
    mrjarbenne
    Participant

    Another option might be something like this: https://wordpress.org/plugins/buddypress-private-message-for-friends-only/. I haven’t used it myself, so I’m not positive it still works.

    I gave the Role bp_moderate but that did not solve the issue. There must be some other check that needs to be passed for these menu items to show up.

    You may want to put a late filter on map_meta_cap to ensure it’s truly getting added, and not getting stomped or mapped back to manage_options.

    Maybe a compromise could be found and some new functionality for the front end could be introduced that allows you to assign someone as Group Admin. I think i am not the only one that sees value in that Role especially in a big community where you have the need to moderate but do not want to give people access to the backend or higher Administrative privileges.

    You’re on the right track. Each component could (and maybe should) come with its own hierarchy of roles. Just because someone can manage users doesn’t mean they can manage groups, if that makes sense?

    I also don’t quite understand why a Group admin could not be derived from one of the Forum Roles. A forum Moderator or Keymaster should be able to moderate all Forums incl. the private group ones and could subsequently also be allowed to manage all groups.

    Anything is possible, but I’m not sure this approach is a safe assumption for all installations. At least not in its current iteration.

    All good ideas. Thanks @ubernaut for the bump.

    #233551
    Henry Wright
    Moderator

    I do not want to ‘add’ new activity. I just want that when one visits example.com/activity, it displays… …all updates in private/ hidden groups where the concerned person is a member (this is NOT displayed currently.) How do I do that?

    You have to ‘add’ the new activity.

    Regarding the second bullet point, you’d need to modify your activity loop which will be inside your activity template. Try something like this:

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&display_comments=stream' ) ) : ?>
        <?php while ( bp_activities() ) : bp_the_activity(); ?>
     
            <?php locate_template( array( 'activity/entry.php' ), true, false ); ?>
     
        <?php endwhile; ?>
    <?php endif; ?>

    For more info on the BuddyPress template system and where you find your activity template, please see this article.

    #233547
    Henry Wright
    Moderator

    In the case of private messages, bp_get_the_thread_message_sender_id() is the function you should be using. The problem might be related to where you’re calling from (i.e. the member’s ID might not be accessible at the point where you are using the function).

    For example, the bp_get_the_thread_message_sender_id() function must be used within a single message thread. Used anywhere else, it will return 0.

    #233545
    ARCangelGIRL
    Participant

    Thank you for your answers! Looks like that I did not describe clear what is my problem, because what I tried from you suggestions it did not work.

    There is the code that I’m using to generate “Give a point” button”

    function one_star_points() {
    	if ( ! function_exists( 'mycred' ) ) return;
    	$current_id = get_current_user_id();
    	$profile_id = bp_displayed_user_id();
    	if ( $current_id == $profile_id ) return;
    	echo '<div class="award-star-rating-img">';
    	echo do_shortcode( '[mycred_send to="' . $profile_id . '" amount="1" ref="tip" log="Tipping"]Give a point[/mycred_send]' );
    	echo '</div>';
    }
    add_action( 'one_star_points_button', 'one_star_points' );

    To give points in user profile I used $profile_id = bp_displayed_user_id();
    To give points in forum I used $profile_user_id = bbp_get_reply_author_id();

    But i bumped into a problem when I want to give points to user in activity stream. I placed the button near every activity stream entry, so the user could give a point if the like what other user posted in activity stream. I used this code $profile_video_id = bp_get_activity_user_id(); There is no error or warning, but it’s not working, not giving points.

    Also I would like to give a point if I like private message answer that other user send me. I used this $profile_message_id = bp_get_the_thread_message_sender_id() ;, but it says that “Missing the recipient for this shortcode.”.

    Looks like that in the last two cases (activity stream and messages) something is wrong with indicating user id.
    Any recommendations on this? I have tried many functions, but still can’t grab user ID in those last two..

    #233543
    deshmukh
    Participant

    @henrywright I do not want to ‘add’ new activity. I just want that when one visits example.com/activity, it displays all profile updates (these are displayed even now), all updates to public groups (these, too, are displayed currently) AND all updates in private/ hidden groups where the concerned person is a member (this is NOT displayed currently.) How do I do that?

    Also, I understood the second part re threads with new comments coming to top. But could you please elaborate a bit? Do I need to add some code to bp-custom.php or mytheme/function.php? In this specific case, what code should I add?

    I am sorry if my question appear to be basic. I am a newbie — I like to guess, like many others coming to forums 🙂

    #233533
    screampuff
    Participant

    Also my site is private and can only be accessed when logged in, so I’m wondering if I can edit line line 47 in that same code to include the user check and simply display the “Invalid User ID specified.” If someone tries to view another user’s achievements list. That would be fine with me.

    I’m still new to WP/BP and PHP in general if you haven’t noticed 😉

    #233512
    Henry Wright
    Moderator

    Hi @screampuff

    You can make that link private by doing something like this:

    function screampuff_hide_achi() {
        // Bail if the current user is the displayed user.
        if ( bp_loggedin_user_id() == bp_displayed_user_id() )
            return;
    
        // Bail if the current user is an admin.
        if ( current_user_can( 'manage_options' ) )
            return;
    
        // Bail if not the achievements page.
        if ( bp_current_action() != 'achievements' )
            return;
    
        // Redirect.
        wp_redirect( home_url() );
        exit;
    }
    add_action( 'template_redirect', 'screampuff_hide_achi' );

    Please note I haven’t tested. Also, I’m assuming the current action is ‘achievements’. It may be something else in which case the function will need a minor tweak.

    skyrant
    Participant

    John, Thank you for the pointers.

    I gave the Role bp_moderate but that did not solve the issue. There must be some other check that needs to be passed for these menu items to show up.

    Maybe a compromise could be found and some new functionality for the front end could be introduced that allows you to assign someone as Group Admin. I think i am not the only one that sees value in that Role especially in a big community where you have the need to moderate but do not want to give people access to the backend or higher Administrative privileges.

    I also don’t quite understand why a Group admin could not be derived from one of the Forum Roles. A forum Moderator or Keymaster should be able to moderate all Forums incl. the private group ones and could subsequently also be allowed to manage all groups.

    Just my 2 cents. let me know what you think.

    #232996

    In reply to: avatar does not show

    Alocin82
    Participant

    Hi,

    i tried …and nothing change…

    Any idea?
    Thanks Nicola

    if you think u can help me..we can private and let me know about your prices.

    #232909
    spiritix
    Participant

    Hello guys

    What I used is:
    – BuddyPress with combination of either bbP private groups plugin or Members plugin or Restrict Content Pro – bbPress plugin
    – I created extended BuddyPress profile fields in registration
    – I restricted access to the forum with one of above mentioned plugins
    – I used my code mentioned in the beginning

    How it looks like:
    – my code works like a charm! once you choose User1 type in registration, it applies subscriber role, User2 subscriber as well, contributor for User3 – THIS WORKS.
    – what does NOT work is restriction via plugins. Have no clue why. With members plugin od pivate groups, I set Forum1 to be accessable ONLY to User3 type of user, but User1 and User2 can access too! Why?! It has nothing to do with my code, after registration you can clearly check it in WP Users that the role has been assigned.

    If I knew hot to restrict access to the forum based on the WP Role, my code would be sufficient to solve this. Can you help with that part?


    @youmin
    – are upi saying in BB 2.2 access to forum based on the WP role is fixed?

    #232746
    deshmukh
    Participant

    @style960 there are two problems with that plugin. One, it does not integrate with the filter drop-down box and two, it does not search contents of private groups.

    Not searching in private groups is a more severe drawback.

    Any suggestions on rectifying the problem? Any other solution?

    #231925
    ronia
    Participant

    @buddyboss

    but the tab to see all of their Likes is only available to them for privacy reasons.

    In BP-buddyboss river, everyone can see what I have liked – so it is not private. Default BP does allow to see other users’ Favorits in the Favorit tab in Profile page – why does Buddyboss kills this? At least site admin should be able to turn it on or off.

    Wall does not have every FB feature,

    buddypress-activity-plus allows to post link, video etc quite nicely and is thus more user-friendly than the premium Wall plugin, imho. There is also a plugin by Brajesh that allow front-end blog posting via BP

    Buddyboss is never meant to load every plugin but if a chosen few are bundled, it will be really good rather than re-inventing wheels at premium plugins, features of which are already available in the WP-BP repo. If users like us see thay they are well integrated into the Buddyboss look and feel there can be more sales of the Buddyboss theme actually.

    We may make a spam solution at some point in time. This is a tricky one. Every solution you make only works for a bit, then the spammers figure out your tactic and update

    Let wp com users at least post to pre-sales and/or free discussion forum. You can do this via jetpack

    #231636
    Paul Bursnall
    Participant
    #231606
    dainismichel
    Participant

    a member sent me the same private message 4x within the same thread.

    i’d like to remove all but one of the messages and respond.

    it would be goofy to respond to the 4th message instance — because the message is exactly the same.

    so, ideally, i would remove instance2, instance2, and instance4, leaving instance1 and the keeping the thread in tact.

    #231597
    Henry Wright
    Moderator

    @dainismichel

    When in doubt, back up your database! You’ve probably heard that lots of times but in situations like this where the outcome is uncertain, it is definitely worth being prudent.

    searched a bit and apparently, the word on the forum-street is: there is no way to delete PM except through the DB. is that still true?

    Are you referring to an individual private message, or a whole thread? There should definitely be a way to delete an entire thread via the front-end. It will depend on your theme but by default, there should be a delete button available.

    #231416
    djsteveb
    Participant

    @sbraiden – I had similar 24 second page load times, and tried to get advice for enqueing, dergistering, and compacting the multiple and overlapping java and css all these plugins attached to buddypress are mixing in on top of the themes stuff.

    Y Slow gives my BP site with basic plugins an “F” – WP professionals shrug it off – meh.

    (more one all that here: http://premium.wpmudev.org/forums/topic/deregister-enque-compact-css-and-java-jquery-buddypress-load-time )

    I have a sneaky suspicion however that my load times were an issue for me when logged in, and perhaps being logged in as an admin, I THINK that the (stupid) wpmudev dashboard plugin was slowing down my page load speed dramatically more than anything else. It was strange that after I complained of my long page loads, that 2 days later wpmudev had an update for their dashboard thing, and then my page load time went to like 3 seconds. – Coincidence, maybe, nothing definitive. – Everyone else said the pages loaded fine – so maybe it was just an admin thing – or maybe my ghostery blocking gravatar loads or something.

    ANYHOW – in regards to hosting, I have a small buddypress site running fine on a shared server with amerinoc. I have one that is fairly busy running fine on a dedicated server at certified hosting.

    I personally think that most important thing for a WP based site to perform well is blocking all the bad bots.

    I have found that blocking all the naver and badu spiders (And most others) with a robots/txt file has decreased the sql over load (at peak times) on my servers by more than 80%.

    I found that hosting a few wp sites on a shared server or dedicated could cause problems not just with spiders crawling pages too much too fast for indexing, but also all the attempting account creations / account brute force logins – even if they are blocked with something like sucuri or limit login attempts – every time they tried to login – they were using up server resources to load the login page, then hit the database to check credentials.

    I also suggest using a pwd auth like explained here: http://support.hostgator.com/articles/specialized-help/technical/wordpress/wordpress-login-brute-force-attack

    locking down the login with a double thing like that is fine for most WP installs, and a private family / friends BP site should be fine – when the bots can’t login through the first thing there is no need for wordpress to load a bunch of php / css files and pull from SQL a bunch of times just to give a bot a failed login – It becomes a problem for general open to the public buddypress comms I guess.

    Now I set all my non-BP sites to use the double auth, I block all search engine bots aside from the top three selectively with robots.txt – and now just about any server can run fine with wp / bp – especially if some attention is paid to plugin overhead, wp-cacheing tools.

    I have my fingers crossed the new bp-mediapress (sp? and Beta!) plugin thing will decrease the plugin overhead of rtmedia and offer a better alternative for pics and stuff.

    Same random thoughts – I’m not an expert so take my 2 cents with a grain of salt or two..

    #230878
    bp-help
    Participant

    @wadsworth4
    I also have another plugin that I was told on the plugins forum that it worked on multisite called “Private BP Pages.” However I never actually tested it myself on BP with multisite. I just got that info from some of the users of the plugin. I used to offer it on the WordPress repo up to about 3 months ago but I have since removed it. But to answer your question “Yes” it is possible to create a members-only community with the latest BP and WP multisite by creating a plugin or using a function in bp-custom.php using hooks etc. That way your not hacking BP and if you update BP you won’t lose your changes.

    #230872
    wadsworth4
    Participant

    Thanks for the feedback, bp-help. We didn’t use your plugin. There were others we used (especially BuddyPress Private Community) and some BP hacks.

    The BP team and the plug developers all seem like great folks, and the community is friendly and active. Have spent a lot of time with vids of their presentations. Like the product, like the people, but the privacy of closed communities is critical. The question is still out there:

    Is it actually possible to create a members-only community with BuddyPress 2.1.1. and multi-site WP without hacking BP?

    #230817
    bp-help
    Participant

    @wadsworth4
    What plugins did you use for making BP multisite private? I offer some premium plugins to make BP private but I personally haven’t tested it with BP multisite because I don’t really use it. For my purposes my Private Community For BP plugin does everything I need it to do.

    #230718
    danbp
    Participant

    Hi @amic58, @tecca

    When BP is installed and xProfile is activated, the original WP profile settings are not accessible to user.

    The WP register process use only username, password and email and BuddyPress add by default a Name field as base for other extended profile fields.

    In short this means that username and name fields can contain a same information(a name, a pseudonym, a first or/and a last name). The plugin you mention is best for a WP install where user had choosen first/last name as output on post, comments, etc Once BP is activated, this became a little different.

    Now to the initial question.
    The CSS trick is a very inelegant solution as it lets everybody knowing how BP works to surround this invisibility. You’re also loosing any flexibility if you want to show some fields privately for example.

    You can do this properly with a little snippet, as explained here:

    Using bp_parse_args() to filter BuddyPress template loops

    Here’s an example which let you hide fields or fiels group to members, but not to site admin

    function bpfr_hide_profile_field_group( $retval ) {
    	if ( bp_is_active( 'xprofile' ) ) :	
    	
    	// hide profile group/field to all except admin	
    	if ( !is_super_admin() ) {		
    		//exlude fields, separated by comma
    		$retval['exclude_fields'] = '1';  
    		//exlude groups, separated by comma
    		$retval['exclude_groups'] = '1'; 			
    	} 
    	return $retval;		
    	
    	endif;
    }
    add_filter( 'bp_after_has_profile_parse_args', 'bpfr_hide_profile_field_group' );

    Add it to bp-custom.php or your child-theme functions.php

    Of course you can also choose to show a field or group, but remove the possibility for the user to edit it later. Simply add more conditionnal to the function.

    Here another example:

    function bpfr_hide_profile_edit( $retval ) {	
    	// remove field from edit tab
    	if(  bp_is_user_profile_edit() ) {		
    		$retval['exclude_fields'] = '54'; // ID's separated by comma
    	}	
    	// allow field on register page
    	if ( bp_is_register_page() ) {
    		$retval['include_fields'] = '54'; // ID's separated by comma
    		}		
    	
    	// hide the field on profile view tab
    	if ( $data = bp_get_profile_field_data( 'field=54' ) ) : 
    		$retval['exclude_fields'] = '54'; // ID's separated by comma	
    	endif;	
    	
    	return $retval;	
    }
    add_filter( 'bp_after_has_profile_parse_args', 'bpfr_hide_profile_edit' );

    Hope to be clear.

Viewing 25 results - 976 through 1,000 (of 3,458 total)
Skip to toolbar