Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 301 through 325 (of 5,233 total)
  • Author
    Search Results
  • #313066
    kennethykw
    Participant

    I am using the Gwagi theme to make a social website. I am testing on the friendship connection function and found that the add friend button is missing and only have private message button.I have diable the private message function and the button will be disappeared. So I think the buddypress plugin in is functioning.

    Could you have any suggestion for checking the friend connection function?

    I like to provide my web site URL for your investigation:
    http://www.lovedating.love
    user:testing
    password:123456

    PvK2020
    Participant

    Hi,

    I’m using Buddypress together with BBpress. I’ve an issue and I’m hoping someone can help me with it.

    When I (or someone else) create a new Buddypress-group on my website, I always choose to make a new group-forum. These forums have no ‘sub/child-forums’ by default. If you want there to be ‘sub/child-forums’ you should make them all by hand. I’ve around 60 groups (and counting), so you understand it’s a LOT of work if you want all the group-forums to have the same (same names, different private forums) sub-forums. Plus, I want my moderators to have the possibility to create groups (with a standard forum) and I can’t be there all the time to immidiatly make the sub-forums (including the right subtext and forum-image).

    So, is there an option to make some ‘default sub forums’ (with image and subtext) that ALWAYS automatically ‘ll be created when you make a new group with forum? So for example: the default forums are ‘pregnancy’, ‘birthdays’ and ‘animals’. I make a new group called ‘Group 1’ and I choose ‘Yes, I want to create a forum for this group’. Then I open the brand new group-forum, and hooray! It has 3 brandnew subforums: ‘pregnancy’, ‘birthdays’ and ‘animals’. Only viewable for the group-members.

    After that, I create a second group, called ‘Group 2’ and I choose ‘Yes, I want to create a forum for this group’. Then I open the brand new group-forum, and hooray again! It had 3 brandnew subforums (so, not the same forums you see in the group 1 forum), only viewable for group 2-members.

    Can someone help me with this? πŸ™‚

    meilershsag
    Participant

    Hello,

    My site is https://www.kidneylearninghub.com/. It is using the WPLMS plugin, which leverages BuddyPress for the login and user management.

    After I updated the site with an SSL cert and domain, the login developed an issue where even though I have logged in with the correct user name and password, and the login cookie has been successfully created, the page does not update with the logged in user, and will not let you into the restricted content areas. Only after clicking around and trying many times will the site suddenly see the cookie and show you as logged in.

    This screen shot shows that the cookie exists, but the site does not show a user logged in:

    screen shot of cookie issue

    I have been through extensive troubleshooting of the site. My database, config files and site files all use the fully qualified URL; my host (GoDaddy) is configured with the certificate and URL. I have added the site URLs to the wp_config file as suggested by dozens of tutorials. What would cause the site to create the cookie but then ignore it? This happens regardless of browser, and with and without Incognito or private browsing. As I understand it, the site uses BuddyPress to log in, and then hands that login off to WordPress. The WordPress login (available if you choose reset password) also has the same problem.

    Any suggestion is appreciated.

    #312742
    marcelocarson
    Participant

    I try to setup a private group for allowing only members to post and share experience for the group. However, it is not really protected in a way that even unlogin users or logged in users without joining the group can still see the group activities and postings. Is there any way to protect the group?

    danielafer
    Participant

    Hi, thanks for replying. I’m not as interested as having content or a private community. I am interested in not indexing all links generated by buddypress, such as mypage / members / juan
    I consider that these links do not generate any value for my site.
    With that code can I achieve this?

    Varun Dubey
    Participant

    @danielafer use private community plugin or BP lock , it will help to keep your community private for logged in users.
    If you do not want the private community approaches you can also use no-index.

    function no_index_for_buddypress() {
        if ( is_buddyPress() ) {
            echo '<meta name="robots" content="noindex, nofollow">';
        } else {
        }
    }
    add_action( 'wp_head', 'no_index_for_buddypress' );
    #312563
    optimizedpanama
    Participant

    https://wmchub.com/ is a private members site, only accessible for Registered Users.

    However, when one of the groups is selected, when logged in as as a Register User’ the user is taken to the Home page rather than the group.

    If logged in as Admin, the Group displays correctly.

    I cannot see where the Group access controll is managed in Buddy Press.

    Any help would be greatly appreciated!

    Regards,

    Mike

    #312547
    bojates
    Participant

    Thanks. I’m not using the Friends module, and I’m not finding an issue with the private messaging returning results. It’s just the full range of profile fields being searched, I think, that’s causing the problem with too broad a search result.

    I am happy to write some custom code. Has anyone got some pointers on where to start?

    Thanks.

    #312535
    shanebp
    Moderator

    For private messages, auto-complete only shows your friends.
    To access everyone, put this in your theme/functions.php or in plugins/bp-custom.php
    define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );

    To customize the options provided by autocomplete, you would need to write some custom code.

    #312456
    Watbube
    Participant

    Hello, it has been quite a while since I dealt with Buddy Press. But wasn’t there a plugin that could be used to control who can read the post (only me, friends, members)?

    I am already, a little while looking but unfortunately no plugin that performs this function. Would anyone have a tip for me?

    Greetings Watbube

    asfand10
    Participant

    Hi,
    I have platform “span-geneva.ch”, I have two main roles “partner” and “subscriber”. I don’t want subscriber to message partner or partner to message subscriber. However subscriber can direct message subscriber. Is there a function that will allow me to do this.
    Regards,

    bluesweet
    Participant

    Theme – Cera
    I am still struggling to figure out how to separate the activity streams. I just want each member to have their own activity stream.
    Let me explain…
    I have an activity stream in each members profile page already but..they all share the same feed.
    I want the activity feeds to be separate.
    If I post in members page A then post in members page B – you will have to go to both members pages to see each post. Example- A post stays in A members page
    Please someone help
    I want to learn how to customize this myself.

    Chuck141
    Participant

    Hi,

    I hope everyone is staying safe. Thanks to everyone for posting helpful answers, I have already go so far considering my lack of coding.

    I want to remove “Add Friend” & “Private Message” on profiles ONLY for logged out users. But keep these buttons for logged in users, can this be done?

    Kind Regards, Chuck.

    #312241
    jcorbalan
    Participant

    Hello, I want to create a private site for professionals to post their own articles:

    – Registered users can post an article with some custom fields (Article title, author, city (from a list), work center (a conditional list depending on the city field and attachment (pdf or mp4).

    – Registered users can see and rate other users articles (1-5 stars) but not their own.

    – ΒΏCan rating author be visible only for some roles?

    – ΒΏCan it be limited to a number of posts per user?

    Thanks in advance.

    vraiwp
    Participant

    Hi, I am new to BP. We want to make it possible to upload a file (pdf, doc, jpg, video, anything) right when you post a message so that the file is associated with the message.

    I need to know how to attach a file with the message using the buddypress rest api and have it uploaded with the message.

    What I found so far is using the private messaging, however, I did not see how to attach a file to the message in the examples viewing the following url: https://developer.buddypress.org/bp-rest-api/reference/private-messaging/

    Please help.

    Thank you.

    #312155
    jedweb
    Participant

    When on the Members page of a Group, there is a search field. This allows you to search for members but it seems to only search username or Last Name.

    Is it possible to search based on First Name as well?

    WP v5.4.1
    BP v6.0.0
    The site is private so I don’t imagine providing the URL will help.

    Thanks in advance.

    Garrett Hyder
    Participant

    I assume you’re talking about the group listing when referring to ‘clicking the group’. In that case I believe you’d want to customize the groups/groups-loop.php template by copying it into your own theme and conditionally remove the links if the current user isn’t a member.
    Here’s docs on the template hierarchy in Buddypress – https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/

    That should allow you to control that list of groups and suppress links depending on role.
    As to the request access form if for some off chance they make it to that screen, if you want to suppress the form with a blocking message when they’re a member you can use the same template replacement concept to replace groups/single/home.php

    Or potentially this plugin by @imath may be more appropriate as you could just make the groups private/hidden;
    https://github.com/imath/altctrl-public-group

    tskpbls
    Participant

    Ok, let’s investigate further then …

    I reinstalled default 2020 WP theme, deactivated all plugins (double checked) but bbpress and buddypress, although I’ve kept wpmu admin dashboard plugin… I am on a very fresh install (less than 24 hours)

    I am still facing the same issue :

    Link to a google drive folder with screenshots (public / private / hidden) : https://drive.google.com/drive/folders/1MWlx_eMelveGBSK_9MHEIoLd1NJRHz1D?usp=sharing

    buddypress is installed according to this codex guideline : B. Network-wide Activation – BuddyPress root blog in Secondary Site

    Buddypress seems to work ok, activity, group and email tabs under admin menu of the admin network page, main site shows forum tabs only and subsite 1 (?id=2) holds buddypress frontend pages.

    Soooo, maybe a clue here : Why does the group edit screen say “aucun forum” (no forum) attached to group when in the meantime I can see the forum tab and the input text boxes of the first subject when group is not hidden?

    Many infos here, sorry for that, but I guess I can’t be more accurate than that in my perception of the problem.

    Hope this helps you to understand the problem better.

    Thanks !

    tskpbls
    Participant

    Hi there,

    I am here to report the following issue :

    On a multisite install with wp 5.4.1, with buddypress (6.0.0) & bbpress (2.6.4), setting up a forum for a group that is supposed to be hidden makes this group not accessible to admin or group creator. (Myself, as a super-admin/group creator/group admin cant reach my hidden group when bbpress is activated.)

    This occurs only when bbpress is activated multisite or single subsite and a buddypress group (buddypress installed network wide) is set to hidden. It seems to work ok with group set as private, or public.

    Can you replicate this?

    #311874
    welsh10
    Participant

    Hi,

    Does anyone know how to remove the Join Group option for Private groups based on a WP Role?
    Was thinking of using below, but need to work out how the button is called.

    $current_user = new WP_User(wp_get_current_user()->id);
    $user_roles = $current_user->roles; 
    foreach ($user_roles as $role) {
    
       if  ($role == 'subscriber' ){
         //code here for subscribers
       }
    
    Thanks to anyone who helps
    
    kitakitune
    Participant

    Hello! Thanks for the great plugins.
    I’m writing this question using a translation software because I’m Japanese and I don’t speak English.
    I’m sorry if it’s hard to read.

    What I want you to help me with is exactly what the title says.
    The private messaging feature, which works in legacy, doesn’t work in Nouveau.

    I first tried the contents of the two URLs below.
    It was 19 months ago, but only because it was so similar to the current situation.
    I’ve removed “https://&#8221; from the URL.

    buddypress.org/support/topic/private-message-button-not-working-right/

    buddypress.trac.wordpress.org/ticket/7908

    But since it didn’t improve, the

    I installed the version of “6.0.0-RC2” on this site to make sure that it was fixed.
    However, the situation did not change.

    I was wondering if it was something I was going through.
    I tried everything I could to stop all other plugins, verify with various themes, change the PHP version, clear the cache, reinstall, etc., but it didn’t improve.

    The Nouveau feature is great, and I’d like to be able to use it somehow.

    Please help me.

    Below.
    buddypress.org/support/topic/when-asking-for-support-2/
    I also wrote a response to the list I found in
    I’m sorry if I’m wrong in my perception.

    1. which version of WordPress are you running?

    Answer: “Version 5.4.1-en.

    2. did you install WordPress as a directory or subdomain installation?
    I did a quick install against the domain on the server.
    If the directory is installed, is it in the root or subdirectory?

    4. Have you upgraded from a previous version of WordPress? If so, from which version?
    One front.

    5. was WordPress working properly before installing/upgrading BuddyPress (BP)? Examples: permalinks, creating a new post, comments.
    It was functioning properly.

    6. What version of BP are you running?
    6.0.0-RC2.

    7.Have you upgraded from a previous version of BP? If so, from which version?
    5.2.

    Are there any plugins other than BuddyPress installed and activated? If so, which one is it?
    BuddyPress is not surprising.

    9.Are you using a standard WordPress theme or a customized theme?
    It’s standard stuff.

    10.Which theme do you use?
    TWENTY SEVENTEEN.

    11. Have you changed the core file in any way?
    No.

    Is there a custom function in bp-custom.php?
    No.

    13. if you’re running bbPress, which version is it? Or do you have bbPress built into your BuddyPress installation?
    No, I’m not using it.
    14.Please provide a list of errors in the server log file: codex.wordpress.org/Debugging_in_WordPress
    Is this it?
    Notice: Trying to access array offset on value of type int in /home/xx/tarianpapa.com/public_html/wp-includes/formatting.php on line 904

    15. Which company offers your hosting?
    //www.xserver.ne.jp/でしょうか
    16.Is the server running Windows, or if it’s Linux…Apache, nginx or something else?
    It’s a server called the X server, I think it’s Windows.
    17. Which BP theme do you use?
    If you mean NOUVEAU or Legacy, then NOUVEAU.
    18. did you overload the BuddyPress template file?
    I don’t think they did.
    19. Are there any other site customizations that you think are relevant to the problem?
    No, sir.

    Basic troubleshooting.

    BP Themes: Is this issue specific to the theme set in Dashboard->Settings->BuddyPRess->Options?
    It only happens in NOUVEAU.
    You can use the private message feature normally in Legacy.

    woofy123
    Participant

    @shanebp

    Hi, thanks for your reply before. I checked with the creators of the plugin and they say they can’t do it. so i decided to check by myself….the wise chat plugin redirects notifications to the email and the code for that is below….i don’t know coding and all that so i seriously need your help…what code do i put inplace of the email so that messages are reduirected to buddypress notifications? Please help..The code—–

    `<?php

    /**
    * WiseChat user notifications services.
    *
    * @author Kainex <contact@kaine.pl>
    */
    class WiseChatUserNotificationsService {

    /**
    * @var WiseChatUserNotificationsDAO
    */
    private $userNotificationsDAO;

    /**
    * @var WiseChatSentNotificationsDAO
    */
    private $sentNotificationsDAO;

    /**
    * @var WiseChatUsersDAO
    */
    private $usersDAO;

    /**
    * @var WiseChatChannelUsersDAO
    */
    private $channelUsersDAO;

    /**
    * @var WiseChatHttpRequestService
    */
    private $httpRequestService;

    /**
    * @var WiseChatOptions
    */
    private $options;

    public function __construct() {
    $this->options = WiseChatOptions::getInstance();
    $this->userNotificationsDAO = WiseChatContainer::getLazy(‘dao/WiseChatUserNotificationsDAO’);
    $this->sentNotificationsDAO = WiseChatContainer::getLazy(‘dao/WiseChatSentNotificationsDAO’);
    $this->usersDAO = WiseChatContainer::get(‘dao/user/WiseChatUsersDAO’);
    $this->channelUsersDAO = WiseChatContainer::get(‘dao/WiseChatChannelUsersDAO’);
    $this->httpRequestService = WiseChatContainer::getLazy(‘services/WiseChatHttpRequestService’);
    }

    /**
    * Sends all notifications for message.
    *
    * @param WiseChatMessage $message
    * @param WiseChatChannel $channel
    */
    public function send($message, $channel) {
    foreach ($this->userNotificationsDAO->getAll() as $notification) {
    $this->sendNotification($message, $channel, $notification);
    }
    }

    /**
    * Sends the notification.
    *
    * @param WiseChatMessage $message
    * @param WiseChatChannel $channel
    * @param WiseChatUserNotification $notification
    */
    private function sendNotification($message, $channel, $notification) {
    if ($notification->getType() == ’email’) {
    $this->sendEmailNotification($message, $channel, $notification);
    }
    }

    /**
    * Sends e-mail notification.
    *
    * @param WiseChatMessage $message
    * @param WiseChatChannel $channel
    * @param WiseChatUserNotification $notification
    */
    private function sendEmailNotification($message, $channel, $notification) {
    $timeRange = null; // seconds

    if ($notification->getFrequency() == ‘daily’) {
    $timeRange = 24 * 60 * 60;
    }
    if ($notification->getFrequency() == ‘hourly’) {
    $timeRange = 60 * 60;
    }
    if ($timeRange === null) {
    return;
    }

    if ($this->sentNotificationsDAO->wasNotificationSendForUser($notification->getId(), $channel->getId(), $message->getUserId(), $timeRange)) {
    return;
    }

    $recipientUser = $this->usersDAO->get($message->getRecipientId());
    if ($recipientUser === null) {
    return;
    }

    $channelUser = $this->channelUsersDAO->getActiveByUserIdAndChannelId($recipientUser->getId(), $channel->getId());
    if ($channelUser !== null) {
    return;
    }

    if ($recipientUser->getDataProperty(‘disableNotifications’) === true) {
    return;
    }

    if (!($recipientUser->getWordPressId() > 0)) {
    return;
    }

    $recipientWordPressUser = $this->usersDAO->getWpUserByID($recipientUser->getWordPressId());
    if ($recipientWordPressUser === null) {
    return;
    }

    $sentNotification = new WiseChatSentNotification();
    $sentNotification->setNotificationId($notification->getId());
    $sentNotification->setSentTime(time());
    $sentNotification->setChannelId($channel->getId());
    $sentNotification->setUserId($message->getUserId());
    $this->sentNotificationsDAO->save($sentNotification);

    // send the e-mail:
    $templateData = array(
    ‘${recipient}’ => $recipientWordPressUser->display_name,
    ‘${recipient-email}’ => $recipientWordPressUser->user_email,
    ‘${sender}’ => strip_tags($message->getUserName()),
    ‘${message}’ => $message->getText(),
    ‘${channel}’ => $message->getChannelName(),
    ‘${link}’ => $this->httpRequestService->getReferrerURL()
    );
    $emailSubject = str_replace(array_keys($templateData), array_values($templateData), $notification->getDetails()[‘subject’]);
    $emailBody = str_replace(array_keys($templateData), array_values($templateData), $notification->getDetails()[‘content’]);

    wp_mail($recipientWordPressUser->user_email, $emailSubject, $emailBody);
    }
    }

    #311742
    ivanwancora
    Participant

    Thanks @clickallco but that’s not what we are trying.

    What we need is create in the main menu an option with the hidden group of every member and hide all the others the member not’s in them. Because the only way to access to this groups is thought this links. We don’t need private groups because we don’t want the users can request registration or see the other groups.

    #311557
    shanebp
    Moderator

    You are correct. For a private group try this which uses a different hook:

    function schene_promote_group_member( $user_id, $group_id ) {
        $group_member = new BP_Groups_Member( $user_id, $group_id );
        $group_member->promote( 'admin' );
    }
    add_action( 'groups_membership_accepted', 'schene_promote_group_member', 99, 2 );
Viewing 25 results - 301 through 325 (of 5,233 total)
Skip to toolbar