Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 1,301 through 1,325 (of 3,869 total)
  • Author
    Search Results
  • Henry Wright
    Moderator

    The username serves multiple purposes:

    1. It’s needed internally for use in URLs etc. First name and surname won’t play nicely in this context because you can’t have spaces etc in URLs.
    2. It’s used as a ‘friendly’ unique identifier. What happens when you have 2 members named John Smith? How do you private message the first John Smith without private messaging the second?
    3. There are probably more purposes I’m missing?
    #239354
    rebekahmeuir
    Participant

    mine says define(‘WP_DEBUG’, false);

    and script_debug is not found in my wp-config.php

    With my issue, I am not getting any error message, and there is no error message on the server either. When I try to change a profile photo using BuddyPress, it just does not allow me to change it. It kind of “blinks” instead of bringing up the crop screen.

    Similarly, when I try to send a private message in BuddyPress, it lets me compose the message, but when I try to send it, it “blinks” with no error message but does not send the private message. The private message disappears and does not go into my sent folder, either.

    #239339
    rebekahmeuir
    Participant

    thank you @mercime I did try the 2015 theme after deactivating all plugins except BuddyPress, and same issue. Yes I can upload images and see thumbnails with 2015 theme and with my BuddyBoss theme. I still have the problem with profile images not working. I also have a new issue where private messages no longer work from inside BuddyPress. I am hosted with inmotion.

    #239076
    schulz
    Participant

    I am trying to have more than one forum in bbp assigned to a group, however the group forum selector will only allow to select only one. I need this as I have group members located in more than one city and I don’t want to make a new group for each city.

    What is happening is non group members are able to access private forums even though I placed them as a sub forum of the group forum.

    http://mydomain.tld/forums/forum/groups/group-forum/ – No Access

    http://mydomain.tld/forums/forum/groups/group-forum/sub-group-forum/ – Access!

    #238950
    caniwigirl
    Participant

    Hi @minglonaire,

    The forum part is easy because that is built into bbPress in the first place. If you read the “Getting Started with bbPress” page https://codex.bbpress.org/getting-started-with-bbpress/ you will note that there are three settings for forum visibility:

    Public – Anyone can see these forums
    Private – Only logged in registered users can see these forums
    Hidden: Only Moderators/Admins can see these forums

    I made my base forum (which is actually a category) Private, and the majority of sub-forums Public – but tied into the BuddyPress groups so you required membership to each particular group to access each of the forums. This only works if BuddyPress is hidden from logged out users.

    If you don’t want to use BuddyPress groups… just make all your forums Private.

    Note that BuddyPress defines Public, Private and Hidden slightly differently than bbPress

    I had issues with my theme not displaying Hidden Groups to the people it should… If this is an issue for you, check out another thread… https://buddypress.org/support/topic/hidden-groups-and-forums-not-showing-for-members-of-them/

    All the best! 🙂

    caniwigirl
    Participant

    Good news everyone. My theme developers and I have solved this issue on the theme I am using!

    The first tricky hurdle was discovering a !important directive in the main.css of the theme for handling .hidden so I removed it to become .hidden{display:none;visibility:hidden} so styling in my child theme would work.

    In my child theme, I did an ‘inspect element’ to discover that the hidden groups were listed as:

    <li> class='odd hidden is-admin is-member">_</li>
    <li> class='even hidden is-admin is-member">_</li>

    So, I added the following code to my style.css in the child theme

    .odd.hidden.is-admin.is-member {
    display: block;
    visibility: visible;
    }
    
    .even.hidden.is-admin.is-member {
    display: block;
    visibility: visible;
    }

    This worked for admin, but not members of the groups who weren’t admins so… Logged in as one of those and using ‘inspect element’ I found that private groups were listed as:

    <li> class='odd hidden is-admin is-member">_</li>
    <li> class='even hidden is-admin is-member">_</li>

    Applying the same logic as above, I added the following code to my style.css

    .odd.hidden.is-member {
    display: block;
    visibility: visible;
    }
    
    .even.hidden.is-member {
    display: block;
    visibility: visible;
    }

    And now everything works 🙂

    I don’t know if anyone at BuddyPress support can help tidy up my code, but it does the trick and I hope it helps you @bewitchingfiction @donalconlon @olay And thanks for your help @danbp

    #238763
    akosichen
    Participant

    Hello @Henry Wright
    Yes Im redirected to compose message, but I want is the recipient will automatically added to send to fields like when you go to someone’s page then clicked the Private Message.

    Anyway, thankyou so much!

    #238741
    Henry Wright
    Moderator

    Try placing this in your member’s profile template:

    <a href="<?php bp_send_private_message_link(); ?>" title="Private Message">Private Message</a>

    #238740
    Henry Wright
    Moderator

    Oops, I just noticed I supplied you with an add friend button; nothing to do with private messages, so sorry about that. Let me take a look to see if I can find something.

    #238738
    Henry Wright
    Moderator

    Closing as a [duplicate]

    #238598
    danbp
    Participant

    See documentation about group roles.

    If you allow not logged-in users to see what hapens in a private group, the group privacy is very compromised. In this case make it public.

    #238575
    danbp
    Participant

    Once a group forum is activated, he inherits the group privacy setting.

    If group is set to public, his forum is public. If group is private, the forum is private.

    I’m not aware about post for group.

    #238570
    nickofnight
    Participant

    Thanks for the advice. Do you know how I could allow groups to choose if their forum is public or private?

    I did play with creating a post for a group, then pulling in that posts comments / comment form to the group page. I guess if it automatically created a post for each group when a group is created it could work.

    #238516

    In reply to: Sitewide Messaging

    Henry Wright
    Moderator

    Hi @pssawhney

    Site notices and private messages are separate; so there’s no need to populate every member’s inbox.

    #238461
    trzl
    Participant

    Thanks for the Reply. I also contacted the Theme Developer.

    I was wondering if perhaps someone here could tell me where the Private Messaging files/code were in the Core Plugin folder.

    In any case, Thanks

    #238387
    donalconlon
    Participant

    Actually, it won’t even show if i make the forum private. The forum has to be public for me to see it.

    #238386
    donalconlon
    Participant

    Hi @caniwigirl

    Yes, i tried it from the back-end. The only way I can get a forum to display with a group is if I make the forum public. It will not work for either private or hidden :(.

    #238369
    caniwigirl
    Participant

    Hi @danbp, Thanks for joining this discussion.

    When I first looked into running BuddyPress on my site a couple years ago, Hidden groups did appear for members of them as outlined by BuddyPress. However, this is no longer the case.

    Yes, members can access them if they have the URL for the Hidden Groups’s activity stream…

    Yes, members can access them via the forums…

    BUT hidden groups do not appear to members of them, moderators, admins or keymasters in any of the group directory pages or member/user profile pages or menus which link to ‘All Groups’ or ‘My Groups’. However, the group count increases to show the number of all groups, be they public, private or hidden.

    From https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/

    List of Groups created in the site including time active stamp, group description, number of members and group privacy setting. Only Public and Private Groups are seen in list by regular members. Super/Site Admin sees all groups including Hidden groups. – NOT working

    My Groups… List of Groups you are a member of – Public, Private and Hidden (only by you and Super Admin) – NOT working

    Is this what you are experiencing @bewitchingfiction?

    #238366
    BewitchingFiction
    Participant

    I have two such groups – both with different memberships.

    I have provided the users with the URL but that relies upon them either remembering it or constantly referring to their email.

    I have looked at using a further plugin but I have about 9 already for the forum functionality alone, and the more php functions I call during a page load the slower my site becomes (because of the set up of my site at the host level – something I have no control over).

    I have also used all the widget slots that I feel comfortable with (about 5 on the page) in order to ensure that the layout is neither too cluttered nor too messy (I find the more stuff you use the less pleasant the site is to look at) – I work for a charity for the visually impaired and one thing we discovered was that users – no matter what their visual capabilities – didn’t like a cluttered page.

    I will continue to look, but really my point is that if there is a piece of functionality in something then it should work – UAT isn’t hugely expensive (part of my professional job as it happens) and that is something which would have failed it – it would be nice if there were clear guidelines on which templates (including the core ones) worked with the hidden/private group settings before they were used – I have spent so many hours mucking around with templates only for them to fail at that last hurdle (the groups not appearing) it’s getting rather frustrating.

    #238348
    caniwigirl
    Participant

    Hi @bewitchingfiction,

    I tried it on some of the default WordPress themes and couldn’t get it to work… and it no-longer works on the previous theme used two years ago when I first configured BuddyPress on our site.

    My suggested work-around for you until someone is able to get it going again would be to create a password-protected or private page in WordPress for your mods to chat via the comments function. If you use a plugin that allows menu items to only be shown to mods, then no one will know the page even exists.

    I use Nav Menu Roles to manage the visibility of menu items on my site. Unfortunately, it’s not compatible with my theme’s menu… so every time I want to add or change a menu item’s visibility, I have to change to another theme to use it , then change back. Clumsy, but it works! https://wordpress.org/plugins/nav-menu-roles/screenshots/

    #238347
    caniwigirl
    Participant

    Hi @donalconlon,

    Have you tried going into the group via the back-end instead of editing them from the front-end? This works on my site.

    From the Dashboard, select Groups then edit the group you wish to change.

    In the Discussion Forum box in the right column, below the Settings box, tick the box Yes, I want this group to have a forum. Then, if you click in the Group Forum: selection box directly below that says (No Forum) A list of all your existing forums (public, private and hidden) should appear for you to select from. Click Save Changes and it should be working.

    If you aren’t familiar with the back-end editing or groups, you might be interested to know that you can Add New Members to the group and Manage Member roles here too. Those parts are directly below the Name and Description box. If you can’t see any of these options, you might have to select screen options in the top right and tick their selection boxes to get them to show below.

    Hope this helps!

    #238336
    donalconlon
    Participant

    I am finding if i add a public/private forum to a group it will work fine. If i change the forum status to hidden it is no longer available to the group. If i set the forum back to private/public, it is still not part of the forum. The only way I can assign a forum to this group is to create a new one. Less than ideal.

    Vadiem Janssens
    Participant

    Hi guys,

    I’ve made a small (private) plugin where an admin can make a friend connection between two users. For this, i’m using the friends_add_friend (see here) function.

    As you can see in the previous Github link, the function accepts a third parameter called $force_accept. The docblock says Buddypress should not send a notification to the user. Problem is, the user keeps on getting emails from WordPress saying ‘x accepted your friend request’. I’m not sure if i’m doing something wrong, or maybe this is a bug in BuddyPress. I don’t want the user to get an email when an admin makes a friend connection between two users.

    Thanks for the help!

    WP: 4.2 (also had this problem in 4.1)
    BP: 2.2.3.1

    #238269
    Henry Wright
    Moderator

    Hey @danbp,

    WordPress provides a function for that. Check out wp_filter_nohtml_kses(). It strips all HTML from the string you provide so there’s no need to use preg_replace().

    function hellowed_remove_html_private_messages( $message ) {
    
        $message = wp_filter_nohtml_kses( $message );
        return $message;
    }
    add_filter( 'messages_message_content_before_save', 'hellowed_remove_html_private_messages' );
    #238253
    danbp
    Participant

    hi @hellowed,

    try this (add to child theme functions.php or better, bp-custom.php) It will remove a and span and h1 html tag

    function bpfr_remove_html_from_private_msg($message){
    		$replacement = ''; 
    return preg_replace( "/ <(span|a|h1)[^>]*>/", $replacement, $message);
    	
    }
    add_filter('messages_message_content_before_save', 'bpfr_remove_html_from_private_msg');
Viewing 25 results - 1,301 through 1,325 (of 3,869 total)
Skip to toolbar