Search Results for 'private'
-
Search Results
-
Hello,
I know the documentation says BP uses cookies for API authentication, but my install of BP allows any non-authenticated user to use the API and retrieve user data. (e.g. /wp-json/buddypress/v1/members/3)
I’ve also tried this through incognito/private browsers and also through curl from the command line.
Everything I’ve tried, without authenticating, returns the data.
I’ve also installed REST API Toolbox (plugin) – that helped me with requiring authentication for WP wp-json endpoints.
I don’t see a BP option anywhere to require authentication…
Am I missing something here?
Thank you in advance for the help!
-gregg
All of a sudden I can no longer manage users of a specific group, whether from the front end or back end. The manage-members page loads fine, but the member list is blank. The member count is correct in the back end and are all present in the DB. Members can also still access the group. Member management of other groups is unaffected. Depending on the browser, I get different console errors:
Chrome:
Uncaught TypeError: Cannot read properties of undefined (reading ‘name’)
at eval (eval at template (underscore.min.js?ver=1.13.1:2:15327), <anonymous>:29:18)
at n (underscore.min.js?ver=1.13.1:2:15407)
at n.template (wp-util.min.js?ver=350dcb35f552474cc66408105b81368d:2:323)
at n.render (wp-backbone.min.js?ver=350dcb35f552474cc66408105b81368d:2:2893)
at wp.Backbone.Subviews.<anonymous> (wp-backbone.min.js?ver=350dcb35f552474cc66408105b81368d:2:2140)
at underscore.min.js?ver=1.13.1:2:6433
at Function.dr (underscore.min.js?ver=1.13.1:2:9528)
at wp.Backbone.Subviews._attach (wp-backbone.min.js?ver=350dcb35f552474cc66408105b81368d:2:2101)
at wp.Backbone.Subviews.set (wp-backbone.min.js?ver=350dcb35f552474cc66408105b81368d:2:884)FF (underscore.min.js:29:1):
Uncaught TypeError: data.role is undefined
Underscore 2
template https://mydomain/wp-includes/js/wp-util.min.js?ver=350dcb35f552474cc66408105b81368d:2
Backbone 2
Underscore 2
Backbone 3
addListTableRows Ember
Underscore 2
addListTableRows Ember
Backbone 5
initialize Ember
Backbone 4
initialize Ember
Backbone 4
Ember 2
underscore.min.js:29:1Safari:
TypeError: undefined is not an object (evaluating ‘data.role.name’)
anonymous (Anonymous Script 1 (line 28))
n (underscore.min.js:2:15412)
(anonymous function) (wp-util.min.js:2:324)
render (wp-backbone.min.js:2:2902)
(anonymous function) (wp-backbone.min.js:2:2147)
(anonymous function) (underscore.min.js:2:6438)
dr (underscore.min.js:2:9530)
_attach (wp-backbone.min.js:2:2106)
set (wp-backbone.min.js:2:892)
add (wp-backbone.min.js:2:1005)
(anonymous function) (manage-members.min.js:1:8475)
(anonymous function) (underscore.min.js:2:6438)
dr (underscore.min.js:2:9530)
addListTableRows (manage-members.min.js:1:8439)
p (backbone.min.js:2:3194)
f (backbone.min.js:2:2931)
a (backbone.min.js:2:843)
(anonymous function) (backbone.min.js:2:2815)
reset (backbone.min.js:2:10387)
initialize (manage-members.min.js:1:8226)
(anonymous function) (backbone.min.js:2:14145)
constructor (wp-backbone.min.js:2:2606)
(anonymous function) (backbone.min.js:2:23432)
(anonymous function) (backbone.min.js:2:23432)
initialize (manage-members.min.js:1:9254)
(anonymous function) (backbone.min.js:2:14145)
constructor (wp-backbone.min.js:2:2606)
(anonymous function) (backbone.min.js:2:23432)
(anonymous function) (backbone.min.js:2:23432)
(anonymous function) (manage-members.min.js:1:9325)
Global Code (manage-members.min.js:1:9369)I have:
- Tested for plugin conflicts. Even stripped down to just BP running, error persists.
- Tested for theme issues. Error persists.
- Disabled bp-custom. Error persists.
- Restored theme functions.php to default. Error persists.
- Nothing in the server error logs.
Not sure where to turn next. Went as far as to update all plugins and theme on a staging version but no change. I really don’t want to have to recreate the group – it has private docs assigned to it.
EDIT: I have found that if I remove the last members to be added (7 total) from the database that the list is restored. However, if I add even one of them back, the list disappears again. Adding any other non-member WP user that is not a part of the seven I deleted from the DB works fine.
WP 5.9.3
BP 10.4.0
Link to site wouldn’t be useful as all of the groups are set to private or hidden. Can potentially provide access privately.Topic: disable rss
Hi,
So I’m a total newb at this and I don’t understand how to disable the RSS on BP
I am trying to make a fully private buddypress installation.
One issue I am running into is the RSS feeds are public, especially the site wide activity RSS.
There is a wordpress plugin called disable RSS, but this does not disable the buddypress specific RSS feeds.
Is there a way to delete/block/disable all the RSS feeds?
Can you offer any help, or some more detailed instructions (in layman’s terms) so that I can make my RSS feed for all site activity go away? I want to have a completely private BP community
I have wp 6.0 , bp 10.4
Hi there,
how can I deactivate the “Public message” button on all profile pages?
I think those 2 buttons are too confusing for the users.
The “Private message” button is more then enough, I thinkHello guys.
I need to create a social network on BuddyPress and I have some questions.
I hope you can help me.1 – In BuddyPress do we configure a database when we start in WordPress?
If so, do I do this directly with the platform where I host my site or with WordPress?2 – In BuddyPress can I put that ‘social access’, that is, the person uses a Facebook or Google login that they already have?
3 – I came to see that we were able to customize the person’s registration on BuddyPress. This information goes straight to the database, right?
4 – I saw that it is possible to create groups, my question is if there is a possibility of being private groups.
5 – With the registration information, is it possible to do email marketing and invite others by email and by cell phone?
Thank you all for your cooperation and I look forward to your responses.
Helio Correia
I’m doing some customization where I’d like to allow users who are not members of a private group to still have access to some of the content in the group. What hooks could I use (or functions to modify) that would enable this kind of customization of access to parts of a private group?
Thanks!
Hi
Our site is at https://www.gleanr.com.au/ . We are using version 6.0.1 version of WordPress and Buddypress 10.2.0. My question is, can a group administrator send a message out to all group members. whether those members have notification settings by email on or not? Say for example an event was being created for group members and the group admin wanted to alert the members of the event by posting to the group and that post is then notified to members. Currently in our member notifications settings we have the following settings that relates to members switching them settings on or off. 1. Email me when a member invites me to join a group, 2 Email me when a group information is updated. 3. Email me when I am promoted to a group administrator or moderator 4. Email me when a member requests to join a private group for which I am an admin . 5. Email me when my request to join a group has been approved or denied… None of these 5 settings cover notification on any group post to a member and we want this. Yet, we also want it that if any post is notified and a member has switched of such notification potential, then an administrator message would over-ride this. Hope that is clear. Look forward to your commentsHello, I want to know if its possible to limit the private messaging between user and admin only because I want to make a website where you can message the administrator of the website to access the services provided by the administrator.
Wordpress version: WordPress 6.0.1
Theme: Hello ElementorVersion: 2.6.1Thanks everyone, I appreciate the help!
Hello,
I added a URL type field in the member profile, but I can’t manage to customize the text for the link and hide the full URL…
I tried something like :
<a href="https://mywebsite.com/test_customized_link/">URL is now hidden</a>But it doesn’t work, it shows all the text not the link customized.
Is there is a way to customize it please, it’s not really nice to show a full URL like that in a profile field.
I want this result : URL is now hidden
Thank you for your help
Wordpress version : 6.0.1
BuddyPress version : 10.3.0
Website URL : Private website closed for public peopleTopic: Private User Journal/Posts
WordPress version 6.0
Buddypress Version 10.3.0Hello all,
I am attempting to use posts as a journal of sorts. Would like posts to remain private to user, unless they check a box to share with logged in community when creating the post.
Best Regards,
the three pages linked here codex.buddypress.org/developer/buddypress-hooks-actions-filters/ i would love to access, but they are not public. who controls these? if these are supposed to be private, it’s probably a good idea to REMOVE those links from the PUBLIC codex site.
Using Youzify with a private BuddyPress site (i.e., everyone is a “member” and there is no public access), there is a profile privacy section at the bottom of the new post area on the activity feed that defaults to “Public”. On private communities this is likely to cause a fair amount of confusion because users will obviously not want anything they post to be truly “Public”, and there’s no need to force them to select “Members” before they post since it’s a private community.
In Youzify, the list of privacy options is called with apply_filters and a function name “youzify_wall_activity_privacy_option”. So in your bp_custom.php you can add something like this, where I moved the “Members” option to the top and commented out the public option:
add_filter('youzify_wall_activity_privacy_options', 'youzify_change_public_option' ); function youzify_change_public_option( $options ) { $options = array( //'public' => array( 'title' => __( 'Public', 'youzify' ), 'icon' => 'fas fa-globe-asia' ), 'members' => array( 'title' => __( 'Members', 'youzify' ), 'icon' => 'fas fa-users' ), 'onlyme' => array( 'title' => __( 'Only Me', 'youzify' ), 'icon' => 'fas fa-lock' ), 'friends' => array( 'title' => __( 'My Friends', 'youzify' ), 'icon' => 'fas fa-user-friends' ), ); return $options; }The keys “public”.”onlyme”, “friends”, and “members” are hard coded into the privacy code so probably best not to change those. The default icon is still the globe when the page is first loaded with the members section at the top of the list, but I think that can be changed in a stylesheet or possibly a theme file override.
The reason I didn’t just rename “Public” and remove the members option is because if the community ever goes public, we don’t want those posts that were destined for the private community to be shown. This way they are still tagged as “members”.
Hello
In a project already in production (with an exclusively private access and about 100 existing members), I want to add a discussion space, and BuddyPress seemed to me to be the ideal solution.
However, I would like to :
– keep the native WordPress registration form (already modified)
– automatically attach users to BuddyPress (when I install BuddyPress, I don’t see them in the members!)I already use (among other things) the “Members” extension in WordPress.
Thanks
Translated with http://www.DeepL.com/Translator (free version)
Hi,
I have a problem with friend private invitation messages.
Suddenly instead of appearing only the invitations sent by users.
All users are getting invitations from all other users. Even though none of them or only a few of them have sent the request.I have used the repair tools offered by buddypress but I haven’t got any result. I also deleted the rows with is_confirmed? 0 value from the “_bp_friends” table. But the problem persists.
How can fix this?
Topic: Join group ajax not working
I’m getting an admin-ajax 403 error when clicking the Join Group button. It seems to be the switch case in the functions. It seems to be completely ignored somehow. Logging within any of the cases returns nothing at all. Also a quick note… it’s not every group. It’s only on random ones
function bp_legacy_theme_ajax_joinleave_group() { if ( ! bp_is_post_request() ) { return; } // Cast gid as integer. $group_id = (int) $_POST['gid']; if ( groups_is_user_banned( bp_loggedin_user_id(), $group_id ) ) return; if ( ! $group = groups_get_group( $group_id ) ) return; // Client doesn't distinguish between different request types, so we infer from user status. if ( groups_is_user_member( bp_loggedin_user_id(), $group->id ) ) { $request_type = 'leave_group'; } elseif ( groups_check_user_has_invite( bp_loggedin_user_id(), $group->id ) ) { $request_type = 'accept_invite'; } elseif ( 'private' === $group->status ) { $request_type = 'request_membership'; } else { $request_type = 'join_group'; } // NOTE: WHY IS THIS BROKEN?!!? switch ( $request_type ) { case 'join_group' : if ( ! bp_current_user_can( 'groups_join_group', array( 'group_id' => $group->id ) ) ) { esc_html_e( 'Error joining group', 'buddypress' ); } check_ajax_referer( 'groups_join_group' ); if ( ! groups_join_group( $group->id ) ) { _e( 'Error joining group', 'buddypress' ); } else { echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button leave-group" rel="leave" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>'; } break; case 'accept_invite' : if ( ! bp_current_user_can( 'groups_request_membership', array( 'group_id' => $group->id ) ) ) { esc_html_e( 'Error accepting invitation', 'buddypress' ); } check_ajax_referer( 'groups_accept_invite' ); if ( ! groups_accept_invite( bp_loggedin_user_id(), $group->id ) ) { _e( 'Error requesting membership', 'buddypress' ); } else { echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button leave-group" rel="leave" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>'; } break; case 'request_membership' : check_ajax_referer( 'groups_request_membership' ); if ( ! groups_send_membership_request( [ 'user_id' => bp_loggedin_user_id(), 'group_id' => $group->id ] ) ) { _e( 'Error requesting membership', 'buddypress' ); } else { echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button disabled pending membership-requested" rel="membership-requested" href="' . bp_get_group_permalink( $group ) . '">' . __( 'Request Sent', 'buddypress' ) . '</a>'; } break; case 'leave_group' : check_ajax_referer( 'groups_leave_group' ); if ( ! groups_leave_group( $group->id ) ) { _e( 'Error leaving group', 'buddypress' ); } elseif ( 'public' === $group->status ) { echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button join-group btn" rel="join" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ) . '">' . __( 'Join Group', 'buddypress' ) . '</a>'; } else { echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button request-membership" rel="join" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_request_membership' ) . '">' . __( 'Request Membership', 'buddypress' ) . '</a>'; } break; } exit; }Topic: Credit Base Private Chat
Hello Support,
I am planing to use Sweet Date WordPress Theme for one of my client, but as per request client want no membership for whole website only for when user want to chat each other they need a credit. So is it possible to do? Please can any one guide me about this.Waiting for your reply.