Search Results for 'buddypress'
-
Search Results
-
Here’s my function, and I want to add a placeholder for wp_editor(). However, there’s no default parameter available for this. How can I achieve it?
I’m using BuddyPress, and the following function is used for the “What’s New” textarea. I have replaced the simple textarea with wp_editor().
function show_whats_new_tinymce_editor($editor_id) { $current_user = wp_get_current_user(); $user_display_name = !empty($current_user->display_name) ? $current_user->display_name : __('User', 'reign'); $content = "What's new, {$user_display_name}?"; $settings = array( 'media_buttons' => false, 'textarea_name' => 'comment', 'textarea_rows' => 6, 'teeny' => false, 'tinymce' => array( 'wpautop' => true, 'toolbar1' => 'bold,italic,bullist,numlist,link,unlink,undo,redo,addmedia,addgif,videoembed,fullscreen', 'toolbar2' => '', 'branding' => false, 'statusbar' => true, // Show status bar for resizing 'resize' => true, // Allow resizing 'height' => 200, // Set default height 'extended_valid_elements' => 'a[href|target=_blank], iframe[src|width|height|frameborder|allowfullscreen]', 'rel_list' => array(array('title' => 'No Follow', 'value' => 'nofollow')), 'link_default_target' => '_blank' ), 'quicktags' => false ); $dark_mode = isset($_COOKIE['reign_dark_mode']) && $_COOKIE['reign_dark_mode'] === 'true'; $settings['tinymce']['content_css'] = $dark_mode ? get_stylesheet_directory_uri() . '/assets/css/dark-mode-editor.css' : ''; wp_editor($content, $editor_id, $settings); }
Hello all. Versions 14.3.4, 12.5.3 & 11.4.4 are Security Releases. Please update, accordingly, when possible.
In my standard BuddyPress I do not know how to RESTRICT the FIELD for entering new members Personal Profile URL.
As of now, I am asking for it, but people/scammers are just entering 2-3 letters, so I do not think they are real potential/legitimate members.
Standard BuddyPress does not have/grants me the option to restrict a new applicant’s application to enter specific sought information, say like URL, Phone Number and alike.
Also, when I look at all new members’ applications, the Name and email and time appear, but specific field/information like Personal Profile URL are not on the page — a feature which will help me approve the legitimate new members and reject all the many fake/spammers I am getting by the hundreds…
Topic: Undefined array key “name”
Hello everyone,
I would like to report a bug with BuddyPress that occurs after a member receives a notification informing them that they have been awarded the verification badge on their account.
Here is the error that appears in the logs. Note that as long as the member has not deleted the notification indicating that they have received the verified badge, every page they visit on the site will generate an error in the logs. You can imagine the number of errors this can produce with many members online simultaneously.
2025/03/20 19:40:39 [error] 5891#5891: *4127 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "name" in /www/site_734/public/wp-content/themes/theme/includes/functions/buddypress/theme-functions-buddypress-notification.php on line 268" while reading response header from upstream, client: 173.792.398.52, server: site.com, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.2-fpm-site.sock:", host: "site.com:33800", referrer: "https://site.com/"
I’m using the latest version of WordPress (v6.7.2) and BuddyPress (v 14.3.3), together with another plugin called “Modern Image Formats (v 2.5.0)” that converts all images to AVIF file type when uploading new images to reduce my HDD usage on my site. Whenever the “Modern Image Formats” plugin is acitvated, the uploading of a new profile image in BuddyPress crashes whenever it reaches the step to crop the image.
Is there any hope for BuddyPress to support AVIF file types soon?
Topic: No Menu Items for Buddypress
Hi
I am new to BuddyPress. I have installed the plugin and am trying to configure it.
When I try to visit some of the pages, they are displaying incorrectly, such as https://west5web-test.co.uk/activity/
Any idea what this might be?
Thanks
Paul
Hi,
I am new to buddypress. I have implemented the Kleo theme. When I am trying to sign-up with non-custom emails viz: @gmail.com or @hotmail.com, etc. The registration verification email does not reach the mailbox.
Kindly Help
WordPress Version 6.7.2
BuddyPress Version 14.3.3
https://cfoforum.co.inTopic: Infinite replies
Hello,
I’m trying to create custom commenting on a buddypress install. I basically would like to have 2 levels of nested comments, and infinite replies without the indentation causing comments to be unreadable. I found this code, but I think it’s specific to WordPress comments, not buddypress:
// Add a custom reply link for infinite comments
function add_a_reply_link($comment) {
$temp = get_comment_id();
$comment_handle = get_comment($temp);
// $comment_handle = get_comment(get_comment_id());
$comment_link = get_comment_link($comment_handle);
$comment_id = get_comment_id();
$post_id = get_the_id();
$author = get_comment_author();$comment= $comment . ‘<p>Reply</p>’;
return $comment;
}add_filter(‘get_comment_text’, ‘add_a_reply_link’);
// Remove the default reply link
function remove_reply_link() {
return ”;
}
add_filter(‘comment_reply_link’, ‘remove_reply_link’)I added buddypress groups to the website as a feature for members to share posts on the group activity feed, live chat and create networking groups.
However, when i go to the groups homepage and the text box at the top to share a post wont work. It lets me click on it and type but there isnt a submit button to share the post. I also had to switch the template pack from BP Nouveau to BP Legacy because on the Nouveau template the activity feed page does not even show up at all. I’m using Astra as my WordPress website theme at the moment.Topic: 524 error occured
When I update buddypress in the website’s admin panel the “A timeout with occurred (524 error)”. I contact to the hosting provider they said all settings are okay from their side. So how to resolve this issue.
There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems,
Please I need help, when ever my user wants to register on my website. The registration details can not be submitted. Buddypress is giving me this error.
Topic: Multisite Idea
I’ve seen that there is a movement to migrate/update the Codex documentation regarding BP on WP-milti and I’m looking forward to that, but in the mean time, a couple pieces of feedback:
It isn’t too hard to detect if BP is being installed in a multisite system. The user shouldn’t need to dig through documentation to make it work.
As of now, I see the ducks on GitHub indicate three install cases:
Case 1: Network-wide activation using the Main Site of your network to house your BuddyPress community
Case 2: Network-wide activation using a Secondary Site of your network to house your BuddyPress community
Case 3: Activating BuddyPress on one of the site of your network only.After reading through those, at the end, I see:
You currently cannot have multiple instances of BuddyPress on a WordPress network.
I have to wonder what that hangup is here.
Let’s call this currently impossible situation an extension of Case 3.
A simpler way to do this might be:
(And please bear with me as I try to describe this in English rather than code… If I was any good at coding, I’d have volunteered to write it for you.)Are we being activated in a Network configuration?
If NO, install normally, as stand-alone.
If YES, get the current blog ID and use that to configure paths and such. Set bp_root_blog in the Admin Settings page and store it in wp_X_options, with a default of 1 for network-wide (cases 1 and 2) or the same as the current blog ID for case 3.There should be no need to edit config files or directly manipulate DB tables.
Hello,
I need help with finding a way to create new roles for members and customize them.
I am creating a social network in which members must have different roles.
– Visitors who can only view, comment, and share posts.
– Creators who can create a new post + visitors’ features
– Reviewers who who can accept or reject the publication of posts created by creators.I am using BuddyPress Version 14.3.3 on WordPress 6.7.2.
Thank you in advance.
I have the following error:
Your BuddyPress Docs attachments directory is publicly accessible. Doc attachments will not be properly protected from direct viewing, even if the parent Docs are non-public.
It looks like you are running Apache. The most likely cause of your problem is that the AllowOverride directive has been disabled, either globally (httpd.conf) or in a VirtualHost definition. Contact your host for assistance.
My apache2.conf are below:
____
#=========================================================================#
# Default Web Domain Template #
# DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN REBUILDING DOMAINS #
# https://hestiacp.com/docs/server-administration/web-templates.html #
#=========================================================================#<VirtualHost xx.xx.xx.xx:8080>
ServerName domain.com
ServerAdmin info@domain.com
DocumentRoot /home/user/web/domain.com/public_html
ScriptAlias /cgi-bin/ /home/user/web/domain.com/cgi-bin/
Alias /vstats/ /home/user/web/domain.com/stats/
Alias /error/ /home/user/web/domain.com/document_errors/
#SuexecUserGroup user user
CustomLog /var/log/apache2/domains/domain.com.bytes bytes
CustomLog /var/log/apache2/domains/domain.com.log combined
ErrorLog /var/log/apache2/domains/domain.com.error.logIncludeOptional /home/user/conf/web/domain.com/apache2.forcessl.conf*
<Directory /home/user/web/domain.com/stats>
AllowOverride All
</Directory>
<Directory /home/user/web/domain.com/public_html>
AllowOverride All
Options +Includes -Indexes +ExecCGI
</Directory><FilesMatch \.php$>
SetHandler “proxy:unix:/run/php/php8.3-fpm-domain.com.sock|fcgi://localhost”
</FilesMatch>
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0IncludeOptional /home/user/conf/web/domain.com/apache2.conf_*
IncludeOptional /etc/apache2/conf.d/*.incHi support team,
I’ve allready asked you few monthes ago – you told me “all is ok” – but I still cannot crop a profile photo. I hoped that the issue would be solved by itself with updates – but it did not.
Please try it yourself – https://members.life-science.euI have the AVADA 7.11.14 theme, but I am worry to switch to the twenty twenty five because I will not crash the whole WebSite.
Buddypress 14.3.3
Wordpress 6.7.2You also told me it’s a problem of AVADA and AVADA told me it’s a problem of BuddyPress. I guess you understand – this doesn’t help me.
Thanks in advance
Best wishes