Search Results for 'buddypress'
-
Search Results
-
I’m working on a fiction/narrative piece and need a very specific site for my readers. I think BuddyPress might be the perfect solution…if I can lock it down and prevent logged in users from editing everything.
The plan is to create a new website using BuddyPress, create only a handful of accounts, fill them up with content and finally allow my readers to log into each and read the conversations, view friends, relationships, etc. BUT…my readers should not be able to change ANYthing. This includes every single thing in BuddyPress as well as updating the user account info. Think of this site I’m describing as a way to snoop
To recap:
- Site: Brand new, members only. The public can’t see a thing without logging in. Thinking BuddyPress (obviously!) + other plugins could fill the bill here.
- The entire site will be private, and users have to log in to read each profile. This will allow readers to view different sides of the story by reading private messages just between 2 characters.
- I’ll create several accounts then create content showing them are interacting with each other.
- I want to allow my readers to actually log in to each account, but prevent them from changing ANYthing. They should be able to click around, read private messages and “consume” everything that that user has access to.
- Admins can still edit content: This is a nice to have, but not a deal breaker. I’ll be setting up the entire site and creating all the content before I allow my readers to be able to log in.
Possible? Would love your thoughts on this. I feel there might be a super simple custom bit of PHP in
bp-custom.phpor another approach?Thanks!
Topic: Fatal Error Log
Hello,
We are experiencing some issues with our website members.drnima.com.
Some users can’t log in to the site (blank screen). We checked the site’s error log and found a record indicating error with BuddyPress.We can’t replicate the issue or find if BuddyPress plugin is conflicting with some other plugins (maybe Memberium?).
Can you please look at the error log below and see if you can identify the issue? Thank you!
Here is the log:
{
“installName”: “ocincmembers”,
“environment”: “PROD”,
“type”: “error”,
“date”: “2023-07-10T04:55:34.000Z”,
“severity”: “error”,
“client”: “101.53.217.252:0”,
“message”: “PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, WP_Error given in /nas/content/live/ocincmembers/wp-content/plugins/buddypress/bp-core/bp-core-taxonomy.php:170\\nStack trace:\\n#0 /nas/content/live/ocincmembers/wp-content/plugins/buddypress/bp-core/bp-core-taxonomy.php(170): array_merge(Array, Object(WP_Error))\\n#1 /nas/content/live/ocincmembers/wp-content/plugins/buddypress/bp-members/bp-members-functions.php(3212): bp_get_object_terms(24757, ‘bp_member_type’)\\n#2 /nas/content/live/ocincmembers/wp-content/plugins/memberium2/modules/buddypress/core.php(23): bp_get_member_type(24757)\\n#3 /nas/content/live/ocincmembers/wp-includes/class-wp-hook.php(308): m4is_pdbmcu->m4is_rhivj(24757, Array)\\n#4 /nas/content/live/ocincmembers/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)\\n#5 /nas/content/live/ocincmembers/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\\n#6 /nas/content/live/ocincmembers/wp-content/plugins/memberium2/classes/core.php(129): do_action(‘memberium/sessi…’, 24757, Array)\\n#7 /nas/content/live/ocincmembers/wp-content/plugins/memberium2/classes/core.php(127): m4is_emz57o->m4is_q4nu(24757)\\n#8 /nas/content/live/ocincmembers/wp-includes/class-wp-hook.php(308): m4is_emz57o->m4is_cc4zl7(”)\\n#9 /nas/content/live/ocincmembers/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)\\n#10 /nas/content/live/ocincmembers/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\\n#11 /nas/content/live/ocincmembers/wp-includes/pluggable.php(48): do_action(‘set_current_use…’)\\n#12 /nas/content/live/ocincmembers/wp-content/plugins/memberium2/classes/frontend.php(49): wp_set_current_user(NULL, ‘jodipascoe2@gma…’)\\n#13 /nas/content/live/ocincmembers/wp-includes/class-wp-hook.php(308): m4is_pcys->m4is_coq0(Object(WP_Query))\\n#14 /nas/content/live/ocincmembers/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(Object(WP_Query), Array)\\n#15 /nas/content/live/ocincmembers/wp-includes/plugin.php(565): WP_Hook->do_action(Array)\\n#16 /nas/content/live/ocincmembers/wp-includes/class-wp-query.php(1870): do_action_ref_array(‘pre_get_posts’, Array)\\n#17 /nas/content/live/ocincmembers/wp-includes/class-wp-query.php(3787): WP_Query->get_posts()\\n#18 /nas/content/live/ocincmembers/wp-includes/post.php(2417): WP_Query->query(Array)\\n#19 /nas/content/live/ocincmembers/wp-content/plugins/content-aware-sidebars/sidebar.php(314): get_posts(Array)\\n#20 /nas/content/live/ocincmembers/wp-includes/class-wp-hook.php(308): CAS_Sidebar_Manager->create_sidebars(”)\\n#21 /nas/content/live/ocincmembers/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)\\n#22 /nas/content/live/ocincmembers/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\\n#23 /nas/content/live/ocincmembers/wp-includes/widgets.php(1854): do_action(‘widgets_init’)\\n#24 /nas/content/live/ocincmembers/wp-includes/class-wp-hook.php(308): wp_widgets_init(”)\\n#25 /nas/content/live/ocincmembers/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)\\n#26 /nas/content/live/ocincmembers/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\\n#27 /nas/content/live/ocincmembers/wp-settings.php(623): do_action(‘init’)\\n#28 /nas/content/live/ocincmembers/wp-config.php(121): require_once(‘/nas/content/li…’)\\n#29 /nas/content/live/ocincmembers/wp-load.php(50): require_once(‘/nas/content/li…’)\\n#30 /nas/content/live/ocincmembers/wp-login.php(12): require(‘/nas/content/li…’)\\n#31 {main}\\n thrown in /nas/content/live/ocincmembers/wp-content/plugins/buddypress/bp-core/bp-core-taxonomy.php on line 170, referer: https://members.drnima.com/login/?redirect_to=/?inf_contact_key=466459dd7b593fa8136bdab10444df8cf651f238aa2edbb9c8b7cff03e0b16a0″,
“uuid”: “abce78b1-463d-4d64-b9f1-e3be64c5d1a2”
}Hi BP community,
In my community website, When users post something, I would like users to have only one privacy possibility : post in groups.
My website is based only on groups, and the activity post can only be in the groups.
Then, I would like to change the behavior of the form pop-up used to post an activity in the activity feed to behave as showed on the screen attached below.
To achieve that, I started to search some answers in the file “bp-templates/bp-nouveau/js/buddypress-activity-post-form.js”, but there is a lot of information and I don’t know if I’m in the right way.
Can someone help me to achieve that ?
Thanks in advance 🙂
Link of the image : https://ibb.co/4SsrPcM
Could I please get assistance on how to resolve this issue?
I’m unable to edit any page using Elementor whilst using buddypress, I need to deactivate buddypress whenever I edit pages.I was wondering if there is a way to my Buddypress users to add information to their Friends Profiles
(visible only for themselves)Example: I can add the information to my Friend XY “He wants to get contacted only after 3 pm”
Hey there! I encountered a problem while using the BuddyPress plugin with Geo Directory. (I use Elementor Pro)
I downloaded the plugin and set up the Register & Activate pages manuall, but none of the pages were selected. So, I created two new pages called “register” and “activate.” However, I noticed that the button on the side, as shown in the documentation, was missing. When I checked the pages, it showed that BuddyPress registration pages were allocated, but there was no shortcode block or any content on the pages. Additionally, when I tried to load the pages, it failed and gave me an error. I even tried saving in safe mode, but the issue persisted. I would really appreciate any help in fixing this problem. Thanks in advance! 🙏
Here is the Loom:
Hi guys,
I have installed “Events Manager” with buddypress and:
I can’t find the way to activate budypress toast notifications for Bookings (+1 in the bell and the little message). They just work by email.
For example: If a user has a new reservation on his event, He should be notified. If the reservation is accepted, the other user should also be notified, etc.
Could anyone help?
Thank you.
Hello,
I am just getting my toes into BuddyPress’ documentation, and came across the ‘popular’ user type in BP_User_Query.
I have no idea how ‘popular’ users are defined in BuddyPress. My questions are as follows:
1. How is the ‘popular’ user type defined and sorted in BuddyPress?
2. If ‘popular’ users are calculated across a period of time, could one theoretically sort users into ‘most popular by day, week, month, etc.’?
3. The documentation recommends bp_parse_args() for filtering members. What would a simple function to return popular users using bp_parse_args() look like?Topic: BP page not found
Hello, I recently installed BuddyPress to generate a member space on my site. When I create the Members pages, Activate… none of them work and it either shows me a critical error or it redirects me to my 404 page 😔 Could you help me please? (PS: I have the WpForo plugin for my forum and it is compatible with BuddyPress for members). Thank you in advance for your help. Cordially
Topic: Shortcode
Hello, Can the buddypress profile and its entire information be provided with a code on another subpage?
e.g. I have created a page and I want to display everything from the user’s profile above it.
I am using Buddypress pluging with BuddyPress Xprofile Custom Field Types
I want to Restrict some of profile field created in buddypress profile.
ex. i have singup field set , information field set, premium information field set.
so i want to restrict premium field set , if user want to add any information in premium field set he/she need a membership add details.Topic: Booking and/or Calendar
I did a search of previous posts and none of them were helpful and were from so many years ago. I’m really hoping there is an up to date solution.
I am looking for a plugin that will integrate with Buddypress allowing visitors to book and/or see a person’s availability on a calendar. There are so many booking plugins I have used in the past but have no idea how they could integrate with buddypress.
If this is impossible then at least I would like the user/member to be able to display a calendar on their profile where they could manually enter booked dates and times.Hi,
I have a Custom Post Type ‘golfs’ created with CPT UI.
I try to get the golfs comments (activated) in the Activites feed of BuddyPress without success…I put the code i found here ( https://codex.buddypress.org/plugindev/post-types-activities/ ) in my bp-custom.php file :
function customize_page_tracking_args() { // Check if the Activity component is active before using it. if ( ! bp_is_active( 'activity' ) ) { return; } // Don't forget to add the 'buddypress-activity' support! add_post_type_support( 'golfs', 'buddypress-activity' ); /** * Also don't forget to allow comments from the WordPress Edit Page screen * see this screencap https://cldup.com/nsl4TxBV_j.png */ bp_activity_set_post_type_tracking_args( 'golfs', array( 'action_id' => 'new_blog_page', 'bp_activity_admin_filter' => __( 'Published a new page', 'custom-textdomain' ), 'bp_activity_front_filter' => __( 'Page', 'custom-textdomain' ), 'bp_activity_new_post' => __( '%1$s posted a new <a href="%2$s">page</a>', 'custom-textdomain' ), 'bp_activity_new_post_ms' => __( '%1$s posted a new <a href="%2$s">page</a>, on the site %3$s', 'custom-textdomain' ), 'contexts' => array( 'activity', 'member' ), 'comment_action_id' => 'new_blog_page_comment', 'bp_activity_comments_admin_filter' => __( 'Commented a page', 'custom-textdomain' ), 'bp_activity_comments_front_filter' => __( 'Pages Comments', 'custom-textdomain' ), 'bp_activity_new_comment' => __( '%1$s commented on the <a href="%2$s">page</a>', 'custom-textdomain' ), 'bp_activity_new_comment_ms' => __( '%1$s commented on the <a href="%2$s">page</a>, on the site %3$s', 'custom-textdomain' ), 'position' => 100, ) ); } add_action( 'bp_init', 'customize_page_tracking_args' );New golfs are displayed in the activities feed but not the new comment.
Can anybody tell me what’s wrong ?
WP 6.2.2
BuddyPress 11.2.0
PHP 7.4Thank’s in advance
GilEstá ocorrendo um erro crítico no meu site, algo sobre um problema no código BP-CORE e a ausência de um plugin para Cache de Objetos Persistentes.
A informação é exibida na página de diagnóstico, e eu preciso de ajuda para resolver.
Desde já obrigado pela atenção!
Hello
I find many codes and plugins that help me to avoid the activation email when members join in the site, but when I tried these options affect the invitation system of buddyboss.
For example, if I invite a user to join with a specific role “teacher” with the code the join as subscriber. I know I can change the role, but I want to know if it’s possible to automatically detect the role where I invite the user.
“”function disable_validation( $user_id ) {
global $wpdb;
$wpdb->query( $wpdb->prepare( “UPDATE $wpdb->users SET user_status = 0 WHERE ID = %d”, $user_id ) );
$users = $wpdb->get_results( “SELECT activation_key, user_login FROM {$wpdb->prefix}signups WHERE active = ‘0’ “); foreach ($users as $user) {
bp_core_activate_signup($user->activation_key);
BP_Signup::validate($user->activation_key); //fix roles
$user_id = $wpdb->get_var( “SELECT ID FROM $wpdb->users WHERE user_login = ‘$user->user_login'”); $u = new WP_User( $user_id );
$u->add_role( ‘subscriber’ );
}
} add_action( ‘bp_core_signup_user’, ‘disable_validation’ );
add_filter( ‘bp_registration_needs_activation’, ‘__return_false’ );
add_filter( ‘bp_core_signup_send_activation_key’, ‘__return_false’ );”
Plugin name: BuddyPress Auto Activate Auto Login and BP Disable Activation Reloaded
Thanks for the helpI installed the theme “Random Content” on 3 of my Buddypress Websites.
I like it, that is what I was looking for for a long time!
I want to show random ads in my sidebar and it works good.BUT
I noticed that it has a conflict with rt-media for Buddypress.
The random content will not show up on pages where RT-media shows pictures:
– on the members media pages and
– on the media pages of my groupsCan you undrestand why and how we can fix that?
Hello,
I would like assistance with implementing a functionality for my WordPress website using BuddyPress. I have a private BuddyPress group, and I want to restrict access to only those users who have a valid member number. Each user has a member number, along with their last name, stored in a database.
I would like to create a mechanism where users requesting to join the group are required to enter their member number. Upon clicking the “Request” button, I want the system to validate the entered member number against my database, which contains two columns: member number and last name. If the user’s last name matches the database entry and the member number is correct, I want their request to be automatically accepted.
Could someone guide me in the right direction or provide an example of how I can achieve this?