Search Results for 'buddypress'
-
Search Results
-
How to restrict media uploads for specific user roles, except profile and cover images?
…
Hi there,I’m building a BuddyPress-based site with two types of paid users: “Members” and “Users”. While both can access their profiles, messages, and groups, **only “Members” should be allowed to upload media content**, such as photos and videos.
However, **all users (regardless of role)** must still be able to upload:
– Profile pictures
– Cover imagesWhat I need:
– Prevent specific roles (like “Users”) from accessing the **”Media” tab** in their profiles
– Disable the **rtMedia upload button** inside messages and activity posts for those users
– Still allow the **upload of profile and cover images** (as BuddyPress requires)I’ve tried some code-based role filters and CSS to hide buttons, but they either:
1. Only hide the frontend buttons (not secure), or
2. Block profile picture uploads entirely (which is not acceptable)Is there a proper way to:
– Fully disable rtMedia uploads based on user role
– While keeping BuddyPress core image uploads active?Any suggestions, filters, or add-on recommendations would be much appreciated.
Thanks in advance!
I would like to instal Buddy Press, however it is stated that it is not tested with my current WP version. Details follow. What would you advise, please?
Current WP version: 6.8.1
Theme:Mero Blog by Kantipur Themes
Thanks a lot for any help I can getI was on buddyboss for a couple of years on a fairly popular site. I had issues several times and decided I wanted to move back to buddypress. We lost a lot of things. Photos mostly but also the activity feed is not what it was. Nothing shows when it loads in default setting of “everything” I can selected new members and that shows a member registered a year and a half ago and yet we have had new members everyday. Anyone have any thoughts on this? Your help is greatly appreciated.
I am currently using:
– WordPress v6.8.1
– Theme: Sweetdate by SeventhQueen v3.9.2
– BuddyPress v14.3.4
– Elementor v3.29.2
– Elementor Pro v3.29.2I have noticed a strange behavior occurring on BuddyPress group and profile pages. Specifically, the issue is:
When visiting a BuddyPress group, sometimes:
– If the user is not a member, they are automatically added to the group without clicking the join button.
– If the user is already a member, they are automatically removed from the group without clicking the leave button.
When visiting a user profile, sometimes:
– If the visitor is not a friend, a friend request is automatically sent.
– If they are already friends, the friendship is automatically cancelled.
It seems like if the “Join Group”, “Leave Group”, “Add Friend” and “Cancel Friendship” buttons are being triggered automatically upon loading the corresponding pages. This does not happen every time, so it has been difficult for me to replicate it to show it to you, but it occurs frequently enough to negatively affect the user experience.
In an effort to identify the cause, I have done the following tests:
– Deactivated all custom scripts.
– Deactivated all plugins except those required for WordPress and the theme to function correctly.
– Cleared and purged all caches.While running these tests, the issue did not occur. However, as I began reactivating plugins one by one (still with my custom scripts deactivated), I found that the issue reappears when Elementor Pro is activated. This leads me to believe the problem may come from a conflict between Elementor Pro and BuddyPress, the theme, or WordPress itself.
I am sharing a video where I was able to replicate the issue: https://drive.google.com/file/d/1uuLIc-hGQHHq5BGY3b5M3pklMMEQqKyx/view?usp=sharing
Do you have any idea what could be causing this behaviour, and if it is an incompatibility with BuddyPress?
Thank you all in advance.
Google is telling me there should be a Search Bar within the Buddypress Group, but I cannot find it anywhere. Can someone PLEASE send me an image or instruct me how to find or implement search function within a group?
I am not talking about searching for a group, but once inside a group, how do I search for keywords so that I don’t have to scroll through 1000s of posts?
Hi and first of all thanks for your plugin and the support
I m using Tutor LMS pro on a fresh new wordpress installation.
I decided to install the Buddypress addon but i hav a problem regarding the templateWordPress version 6.8.1
Thème actif : Sofia (version 1.0)
Extension actuelle : BuddyPress (version 14.3.4)
PHP version 8.1.32Une erreur de type E_ERROR a été causée dans la ligne 725 du fichier /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php. Message d’erreur : Uncaught TypeError: urldecode(): Argument #1 ($string) must be of type string, array given in /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php:725 Stack trace: #0 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php(725): urldecode(Array) #1 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/class-wp-hook.php(324): bp_legacy_theme_ajax_querystring('', 'activity') #2 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array) #3 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-content/plugins/buddypress/bp-core/bp-core-template.php(1157): apply_filters('bp_ajax_queryst...', '', 'activity') #4 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-content/plugins/buddypress/bp-activity/bp-activity-filters.php(560): bp_ajax_querystring('activity') #5 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/class-wp-hook.php(326): bp_activity_heartbeat_last_recorded(Array, Array) #6 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #7 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-admin/includes/ajax-actions.php(3503): apply_filters('heartbeat_recei...', Array, Array, 'front') #8 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/class-wp-hook.php(324): wp_ajax_heartbeat('') #9 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #10 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-admin/admin-ajax.php(192): do_action('wp_ajax_heartbe...') #12 {main} thrownHi,
I am a total novice in coding. Please bare with me now. I have used copilot, gemini and chatgpt to help me build a custom page from zero.
The page shows registrered employers on my website. (Wpjm+buddypress)
If a user is not logged in the message button on the employer profile card on the custom page will read “please login to message this employer”.
If pressed you go to the login with a redirect to your own compose message page with prefilled to field with the username of the employer.
The issue here is I cant get it to work. Tried 1000s of different variants but the AI models wont give me a solution. They tell me it cant be made and that I have to split the redirect code with some code on the page and some code in the function file.
HOWEVER! This is where it gets weird. The first round of code help I got it managed to solve this without function file. But I cant find the solution again since I am stupid/novice enough to not save work as I make new changes…
I wonder if any kind soul would see if they can help me solve this. The page for reference is here: https://arbetssokande.nu/registrerade-arbetsgivare/
One of the code I have used that wont work:
<?php if ( bp_is_active( 'messages' ) && isset( $user ) ): ?> <?php $recipient_username = $user->user_nicename; $query_args = array( 'r' => $recipient_username, ); $query_string = http_build_query( $query_args ); if ( is_user_logged_in() ): $compose_url = bp_loggedin_user_domain() . bp_get_messages_slug() . '/nytt-meddelande/?' . $query_string; ?> <a href="<?php echo esc_url( $compose_url ); ?>" class="bp-message-button">Skicka meddelande</a> <?php else: $redirect_url = home_url( '/' . bp_get_messages_slug() . '/nytt-meddelande/?' . $query_string ); $login_url = wp_login_url( $redirect_url ); ?> <a href="<?php echo esc_url( $login_url ); ?>" class="bp-message-button">Logga in för att skicka meddelande</a> <?php endif; ?> <?php endif; ?>The message button works if you are logged in. As also does the “see job ads” of the chosen employer (both logged in or logged out and redirected).
Am I stupid/remember wrong that the redirect for message worked one time some days ago? I feel so stupid its sad.
Please help if you can.
Best regards,flamuren
Hi,
I love buddypress and wpjm combo. Its free and helps people get jobs, which is my private project.
However I am not so tech savy and not any real coding.
My question is if its possible, within reason, to add two choices on the member page, to filter out two user classes/types (wpjm candidates and employers).
Today I have active members and “my friends” as tabs and also a search member field under that. I would like to add candidates and employers, to filter out those users. Mainly employers – since it woud be nice for candidates to reach out if it seems good match.
I guess find the teamplate for members, add it to my child theme and ad buttons, and then connect the buttons with a filter option in the child theme function file?
Best regards,
Flamur
I am using version: 6.8.1 and BuddyPress Version 14.3.4
I develop an dating website and created a register form, but if I add field to upload image is not uploaded and the page get issue like that
https://prnt.sc/bALFPL871QJUSupport from theme redirect to you guys
Thanks
Topic: Registration Issue
I am using LeranDash to sell the courses and also want to create a community using buddypress. So while using buddy press plugin along with the LearnDash plugin it gives registration error if some new client want to register on the website.
I am using Divi theme as well.Please provide me the solution how I can use both the plugins.
