Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 651 through 675 (of 3,450 total)
  • Author
    Search Results
  • #258149
    danbp
    Participant

    You’re welcome. 😉
    In case of, here’s another trick.

    #258101

    In reply to: New Privacy Plugin

    danbp
    Participant

    We’re cross-posting ! 🙂 Hope you can follow !

    – As non logged visitor, when i’m on a user profile who hasn’t set anything i don’t see Private.
    – If i’m on a profile having a friend privacy setting, i see it.
    – If on a profile set for “only logged in users”, i’m redirected to register.

    #258099

    In reply to: New Privacy Plugin

    Fencer04
    Participant

    Thank you for the clarification. The “Private” tab should not appear unless you are being blocked. I posted an update that resolves that issue as well as some related to the Friends Component not being activated.

    Can you install that and let me know if you still see Private all the time?

    #258098

    In reply to: New Privacy Plugin

    danbp
    Participant

    Is it appearing all the time for you?

    Yes !

    If i see a direct access to a functionality like Add as Friend on the profile header, why would i go to a tab labeled Private to do that ? That’s not very logic imo.

    When i go to a profile, i see the header first and (depending whats used on the site) a more or less long buddynav menu. 😉

    No worry about the notice. I don’t activate wp_debug on a production site.

    #258095

    In reply to: New Privacy Plugin

    Fencer04
    Participant

    I really appreciate the review. I’ll look into the error on a fresh install and see what happens. I have a question about the “Private” button.

    This should only appear if the person has selected Friends only. Is it appearing all the time for you?

    Can you explain this comment further:

    – the original BP Add as friend button on profile header or members directory is still there. This means that there is no need to go on Private tab to ask forfriendship.
    This is a little confusing !

    I’m not sure what you mean by this. Why is having the button in two places no good?

    I agree with the location of the settings. That is on my list of changes to make shortly.

    #258094

    In reply to: New Privacy Plugin

    danbp
    Participant

    hi @fencer04,

    thank for sharing your work. Well done, but it needs some revision (sorry).
    At his activation on 2 test sites (one with 4.5.3/bp 2.6.1, other 4.6/bp2.6.2) i got a notice.
    Array to string conversion in buddypress/bp-core/classes/class-bp-core-nav.php on line 279from

    sbpp04_privacy_check( )	..\plugin.php:525
    sbpp04_privacy_redirect( )	..\buddypress-profile-privacy.php:176
    bp_core_remove_nav_item( )	..\buddypress-profile-privacy.php:184
    BP_Core_Nav->delete_nav( )	..\bp-core-buddybar.php:798

    Another point concerning UI/UX is the Private button appearing on buddybar.
    On this tab, a default message says Friends Only.
    USERNAME has chosen to limit profile access to friends only.
    That’s wrong! Because this appear on each profile, even if the owner hasn’t setup anything about his profile privacy.

    So far i understand its fonctionality, this plugin let each member decide to show or not his whole profile page to friends or members only or to everyone (bp default).

    – imo this tab should show “This profile is private” to anybody who is concerned by a privacy setting and should not appear at all if “Everyone” is set.
    – the original BP Add as friend button on profile header or members directory is still there. This means that there is no need to go on Private tab to ask forfriendship.
    This is a little confusing !

    If the plugin is to extend profile settings, it should appear in profile settings only. And as it doesn’t superseed BP, there is no real reason to give him an extra tab on buddybar outside of the settings scope. A template notice could be enough to tell visitors what’s going on on such a profile.

    Just my 2 cents.

    #258056

    In reply to: Custom Profile View

    danbp
    Participant

    No that’s not possible.
    Only Me is very private and visitors or logged in members can’t see the profile in this case.

    #257956
    Zimm
    Participant

    Forums, blog posts, private messages, any comments, etc.

    #257846
    annikathunberg
    Participant

    Private list
    Probably excel or converted to csv

    Thank you for the link!

    Yes, I later found out exactly that – that the users are all in wp. Forgot that. For anyone else new, now this thread might clear up a thing or two!

    #257839
    danbp
    Participant

    Wich file format do you use for your list ? Where is this list taken from: wordpress, private list,… ?

    Pehaps you could use this plugin if you used CSV ?

    For more details, check on WP codex how to achieve this task. BP shares users with WP and is not concerned directly by your question.

    danbp
    Participant

    Try this:

    function mohammad_remove_private_message_button( $button ) {
    $user_id = bp_loggedin_user_id();
    
        if ( $user_id == '37' ) // the user ID
    	$button = '';
    
         return $button;
    }
    add_filter( 'bp_get_send_message_button', 'mohammad_remove_private_message_button', 1 , 1 );

    More details here:

    [Resolved] how hide tab only for user? not remove/disable

    #257734
    mlwilkerson
    Participant

    Thanks for the suggestion, @earl_d. I had tried it already, but at your suggestion, I tried again. I did find one user error on part that was partially responsible for the fact that it didn’t work previously (the root group forum had a visibility of “Hidden”, which breaks makes the topic inaccessible to non-admin users). But still, your suggestion didn’t work for me.

    TLDR: I got it working, mostly, though not entirely, and not using the approach you suggested, but your suggestion sent me down a fruitful path that ended up working out. See Scenario 4 below. Posting all of this for the benefit (hopefully) of others that may come along some day trying to work through the same issue.

    (BTW, the way I interpreted your suggestion was that I should set the top-level group forum to have type=category instead of type=forum. In any case, here are my results…)

    Versions

    1. WordPress: 4.6
    2. bbPress: 2.5.10
    3. BuddyPress: 2.6.2

    Scenario 1:
    (a) Create the BP Group without an associated forum.
    (b) Separately, later, create a forum with type=category
    (c) Go to the BP Group’s settings to try and associate the Forum to the BP Group

    Fail: The forum drop-down has the category forum greyed out, probably because it’s type=category.

    Scenario 2:
    (a) Create the BP Group *with* an associated Forum (which will automatically have type=forum)
    (b) Separately, later, go edit that new Forum’s type, setting type=category
    (c) Navigate to the forum’s page within the group. Say’s “the forum is empty.”
    (d) Add a new sub-forum type=forum
    (e) Create Topic A in the sub-forum
    (f) Navigate to the group’s forum again (as a non-admin user)

    Expected: Topic A should appear
    Actual: Topic A does not appear

    (g) How about directly linking to Topic A? Maybe Topic A is accessible to the user, but somehow the template simply isn’t outputting it under (f) above?

    Expected: Topic A should be accessible
    Actual: Topic A is accessible

    Therefore: the user can see and interact with Topic, but BuddyPress doesn’t know about it as being part of the forum.

    In retrospect, what seems to have actually happened here is that the original group of type=forum was regenerated and associated with the BP Group. So our topic is probably not showing up in the Group because it’s parent is the sub-forum of a forum the forum that is no longer associated with the group.

    Scenario 3:
    I thought: If sub-forums don’t work, then maybe multiple sibling forums could work. The Settings page for BuddyPress obviously only allows you to attach one forum, though the data model seems to allow for multiples. However, after slogging through the code, it’s clear that the current version of bbPress thwarts the adding of multiple forums. In at least two places that I saw in the code (like includes/extend/buddypress/groups.php), you have something like this:

    // No support for multiple forums yet
    $forum_id = (int) ( is_array( $forum_ids ) ? $forum_ids[0] : $forum_ids );

    So even if you were to completely bypass the user interface and do a hack of some kind to attach multiple forums to the group, this sort of code would thwart the hack.

    Scenario 4:
    So what if we go back to Scenario 1, but set up the initial group-associated forum with type=forum, instead of type=category. It would then be selectable in the admin UI, or could just be created automatically upon creation of the group.

    (a) Create a new private group with an associated forum
    (b) Go create a new private forum and set its parent to be that initial group forum
    (c) Create a topic in the sub-forum
    (d) Navigate to the forum within the group as a non-admin user

    Expected: The sub-forum should be visible and navigable
    Actual: It is! The user can click through, see the topic within the sub-forum, and reply on it.

    Conclusion: Success! This is the best and most functional scenario thus far.

    Key differences from what I’d tried and failed before:

    1. All forums involved have to be set to Private visibility. If Hidden, then some aspects of this may success, but others will fail.
    2. The forum that is associated with the group will have to be type=forum, not type=category. But I wrote a little plugin that disallows creation of new topics within a forum, without having to mark it CLOSED (thereby also disabling comments). So this will functionally turn this top-level group forum into a category/container forum anyway

    Caveat: I have noticed that when my admin user replies on the topic within the sub-forum, the BP Activity is created as expected (seen in the admin screen under Activities), but it doesn’t show up in the BP news feed of my non-admin test user. The other way works, though: if my non-admin user posts a reply to that topic, then this activity shows up in the news feed of my admin user. I need to debug that.

    #257726
    mlwilkerson
    Participant

    I have the same need/concern.

    Unfortunately, I think the suggestion from @openring to use https://wordpress.org/plugins/bbp-private-groups/ won’t work. I’ve looked closely at that plugin. It doesn’t seem to have anything to do with BuddyPress groups. Rather, it seems to have to do with creating it’s own role based access groups. So that’s a way of having more access control over your forums, which is valuable in and of itself, but it doesn’t pertain to BuddyPress.

    sharmavishal
    Participant
    #257095
    juanandrius
    Participant

    Hi Henry Wright,

    I solved my problem. i had to unclick this option:

    “Only registered or approved members can view BuddyPress/bbPress pages (Private Network).”

    and it was fine.

    Thanks!!

    #257028

    In reply to: Public posts

    NicolasGruwe
    Participant

    No I don’t want to set them private I want them to be public.

    I’ll relook in my theme but I didn’t find anything like that

    #257007

    In reply to: Public posts

    buddycore
    Participant

    Sounds like you’re using a theme that’s stopping this or when you publish a post you have it set to private.

    It’s more for WordPress forums given posts are a WordPress feature and not a BuddyPress one.

    Look at your theme files, index.php and look for anything that looks like it’s making those posts only accessible to logged in users. Something like is_user_logged_in().

    #256949
    danbp
    Participant

    After chat disruption and sudden 404 errors on all pages, let’s continue here.

    All your groups are listed here: http://thebettinguniversity.org/groups/

    Most are private and the 2 i found which are public have only one member: the group admin.

    I you’re the site admin, you can access to these groups.
    If you’re only a group admin, you can only access the group you’re a member/admin of.
    You must be logged-in to get access, whatever your status.

    For more information about groups, read the codex please.

    Groups

    Seems also that you have no member page.
    Go to BP settings and check that there is a page for members, a page for group, a page for register and one for activation.

    Check here:

    Configure BuddyPress

    #256797
    shanebp
    Moderator
    #256761

    In reply to: common forum

    danbp
    Participant

    There is nothing to do ! Private groups are even private. If user 1 is only member of group A and NOT of group B, user 1 can only act with group A forum.

    Aside, question related to bbPress should be asked on bbPress forum, not on BuddyPress forum.

    #256737
    sharmavishal
    Participant

    Private niche social network to give an idea of the kind of features that might be indicated

    again as i said before. No idea on what kind of features u would be looking at providing to your users

    minimize by replacing any plugins that I can with code

    that wont help. code or plugin is mostly the same thing IMO if you looking at speed of ur site

    #256723
    Earl_D
    Participant

    @sharmavishal thanks for the response. I was just trying to describe the kind of site i.e. Private niche social network to give an idea of the kind of features that might be indicated. And the speed thing was my motivation to ask the question. Currently have media uploads chat room and other community oriented features using plugins. I feel like I have too many plugins and want to minimize by replacing any plugins that I can with code.

    For instance I recently as able to replace a login redirect and auto join to group plugins with code. Currently working to get my BBP forums styled the way I’d like without using BBP style pack.

    So as I am getting deeper into th custom code snippets and flexibility of BP in that regard I was seeking guidance on the best practices for where I could get the most most benefit from using plugin and where best to use code. What I don’t want to do is invest time tracking down and implementing code when it is better to just use a plugin.
    Thanks again for the response and any insights

    #256700
    Earl_D
    Participant

    @sharmavishal thanks for the reply. the site is a private (must register and be approved) niche social network with WP BP and BBP. My concern is to find a balance between speed and the use of plugins while delivering the features that make for a good experience for my users.

    #256522
    marcono
    Participant

    Thx *danbp*
    With define( ‘BP_GROUPS_DEFAULT_EXTENSION’, ‘members’ ); the default tab for all groups (private and public) DOES change.
    But if the user is not a member of a private group, he cannot see the group’s page to request a membership. However, if the user is already a member of private group, of course everything is OK and the default tab is changed as the same as the public groups.
    If I don’t remove ‘home’ tab in the group pages, then everything is fine though!

    #256520
    danbp
    Participant

    @marcono,

    of course that define works also for private groups ! Has nothing to do with group status.

    If it really dosn’t work for you, you have an error somewhere, but current home tab is not related to group privacy. Members access is restricted, not the output.

    define( 'BP_GROUPS_DEFAULT_EXTENSION', 'members' );

Viewing 25 results - 651 through 675 (of 3,450 total)
Skip to toolbar