Search Results for 'private'
-
Search Results
-
Hello guys!
I’ve seen this question in here a couple of times and maybe others would enjoy this code.
I couldn’t find a good solution in trying to “hide” the official and hidden groups, when users are creating them (it just would not allow me to hide them!).I then managed to fix a code and make it work so at least it shows an error when a user (besides admin) tries to create a group that is NOT private. In this way when a user tries to create a public/hidden group it will not allow the user to “proceed” with the next step unless private group is chosen.
Feel free to update the CSS to your liking!
Hope it helps, enjoy! π
function restrict_group_type_selection() { // Ensure this script only runs during the group settings creation step if (bp_is_group_creation_step('group-settings')) { // Check if the user is not an admin (wrap the condition outside the script for cleaner HTML output) if (!current_user_can('manage_options')) { ?> <style type="text/css"> .group-type-error-message { color: #ffffff; background-color: #f95959; position: relative; margin-top: 20px !important; border: 0 !important; font-weight: 600; } } </style> <script type="text/javascript"> document.addEventListener('DOMContentLoaded', function () { const nextButton = document.getElementById('group-creation-next'); // Target the "Next step" button if (nextButton) { nextButton.addEventListener('click', function (event) { const selectedGroupType = document.querySelector('input[name="group-status"]:checked'); let errorContainer = document.getElementById('group-type-error-message'); // Remove any existing error message if (errorContainer) { errorContainer.remove(); } if (!selectedGroupType || selectedGroupType.value !== 'private') { // Prevent moving to the next step if the group type is not 'private' event.preventDefault(); // Create and display a styled error message errorContainer = document.createElement('div'); errorContainer.id = 'group-type-error-message'; errorContainer.className = 'group-type-error-message'; errorContainer.innerText = 'You are only allowed to create private groups.'; // Insert the error message after the "Next" button nextButton.parentNode.appendChild(errorContainer); } }); } }); </script> <?php } } } add_action('bp_after_group_settings_creation_step', 'restrict_group_type_selection');
Hello,
Suppose that I have 100 groups (public, private, hidden) and many people request to join my private groups. I receive like 1000 join requests (200 in one group and 800 for the rest of the groups).
My questions Is there any way to do the following:
- Bulk approving or rejecting group join requests for a single group
- Bulk approving or rejecting group join requests for all the groups I have under one place instead of opening group by group
Hopefully, this is something achievable (or an easy workaround using a plugin or code) as it’s a very important function that I couldn’t find.
Hello,
Suppose that I have 100 groups (public, private, hidden) and many people request to join my private groups. I receive like 1000 join requests (200 in one group and 800 for the rest of the groups).
My questions Is there any way to do the following:
- Bulk approving or rejecting group join requests for a single group
- Bulk approving or rejecting group join requests for all the groups I have under one place instead of opening group by group
Hopefully, this is something achievable (or an easy workaround using a plugin or code) as it’s a very important function that I couldn’t find.
Iβm encountering an issue with BuddyPress default email notifications on my site. Only two types of emails are being triggered: private messages and friend requests. However, other default emails, such as group invitations and account activations, comments etc, are not being sent. Could you please assist in identifying the cause of this issue or guide me on troubleshooting steps?
Hello guys!
I’ve noticed that when I’m on a (private) group’s own activity wall and I wait for a few seconds – it comes up with a button to “Load Newest” activites. When this button is pressed it loads EVERYTHING from the main activity wall and not just the items from that specific group.
The meaning behind the “Load Newest” when within a group, should (I assume) be to load the newest posts/activites within that specific (again private) group. Anything else makes no sense.
Also when page is refreshed all the activites that dosen’t belong in the group is removed.
Is anyone else having the same issue or is this just a third party conflict on my end?
If anyone else is having the same issue, then this should be fixed/looked into in an upcomming update for sure.
If anyone has a solution to this, please let me know! π
Thanks!
Found an issue.
I have several Groups with Forums made, then if I make a Group and select not to have a forum on that group, the ‘forum’ tab will still show and will link to whichever forum is my first one created.
This happens with any group that does not have a forum.Even worse, the first forum I have created is part of a private group which should be for members of that group only.
This forum shows on the forum tab in any group that does not have a forum and even allows others to post within it this way!
I have looked up this issue in lots of dated posts and found no solution even though finding it being a long stranding issue for a number of people…
Please help as I am aiming to launch my site this month but will have to remove BBpress if cannot fix this.
Thanks
Topic: Email Tokens not working
Hi, I set up an email for recipient has received a private message. I wanted to add their name {{recipient.name}} and username {{recipient.username}} when a private message notification is emailed to them but they are not showing up. Any thoughts as to why. Thank you I hope my email codes show up.
Hi {{recipient.name}}, username {{recipient.username}}
{{sender.name}} sent you a new message: "{{usersubject}}"
"{{usermessage}}"
Go to the discussion to reply or catch up on the conversation.
Hello all,
I have hidden myself as an admin, on my test site running buddypress, for obvious reasons. However, I discovered that when composing a message using Buddypress messages, when the user types in a partial name of the recipient, even a single letter, everyone that matches that name will show up, even if they are hidden from the directory. For example, typing “@a” will show “@admin” (me) as well as “@adam” or “@amanda” and this is no good.
Is there a way to remove certain users (ideally by user roles) from showing up in the “to” field?
I have WordPress 6.6.1 and Buddypress 14.0.0.
Thank you
WP: 6.6.1, BBClassic & BuddyPress: 14.0, Stearnvault.com
This enquiry is regarding excerpts from private posts displayed in the search hit results of the in-built Site Search. Looking for repro before filing at Trac.
Because of the privacy concerns, the code from this SO thread is used to disable all search at the site at this time.
Thanks.Topic: Trouble with translation
Hello BP-developers
Thank you for maintaining and developing Buddypress!
I have an issue with translating some site messages and labels, i.e. ‘members-only area’ + ‘This community area is accessible to logged-in members only.’ , text in buttons like ‘view group’ and some time stamps like ‘a month ago’
I use Loco Translate, and I update the strings, but the translations don’t show.
Here is a link to a group, which redirects to ‘private community’
WP 6.6.1
BP 14.0.0Topic: BuddyPress Activity Privacy
Hello @megainfo
Not sure if you’re still online here, but I could use some help with the BuddyPress Activity Pricavy plugin. It does work – for the most part, but when my users set the content for private or “fiends only” it still shows up to everyone under their private profile stream (everyone else can still se it no matter the setting).
Hope you can help! π
Topic: Member Profile Activity
Hello guys!
I’m going crazy from trying to find the answer to this one, I hope you’re able to help! π
I noticed that the only person wo can see their activity, groups, friends and content under their profile page is the user itself (at least on the theme I’m using). I can’t even (as admin) go to others user profile and see their content. I’ve noticed on other themes that this content IS available for other users (which makes sense) – the theme I’m currently using gives the user the option to post “public, private or to friends” – so there is no need for it to be “hidden”.
I would like my users to be able to “browse” other members profiles – hope that makes sense!
I really appreciate anyone who can help me figure this one out! π
Thanks!
Just discovered the members only option not working in my closed private BP site. Running the lates WP and BP. Anyone encountered anything like this?