Search Results for 'buddypress'
-
Search Results
-
Hi All,
I’m using buddypress in my website, and want to add a small icon after specific field in member’s profile (like a font-awesome icon). This icon must added depending on some condition. How possibly can I do this, shall I use javascript or there is another way.
Thanks in advanceHI,
There have been a few rather unhelpful topics around this. It seems like a pretty basic things to be able to do…
I am using Buddypress with s2Member and want to allow a site visitor to message certain member when viewing their profiles. This is possible for logged in users wh are members themselves but not for public visitors it seems. Some people have tried to use a cotact page alongside a profile to allow the member to be contacted.
PLease…. This is vital to my application.
I am using Buddypress as part of a membership site where practitioners can be contacted by people visiting the site.
Using latest versions of WordPress and Buddypress.
Topic: Automatic Friend Requests
Every time I manually create a new user on my multisite (via the admin interface) the new user instantly gets THREE “friend requests” from existing users. The minute the new user logs in after registration, they already have these three notifications waiting.
I found one thread (3 years old) that describes something similar — but it’s related to the Invite Anyone plugin, the friend request comes from the Group Admin when a user responds to an invitation. I do use the Invite Anyone plugins, so I added this filter:
add_filter( ‘invite_anyone_send_friend_requests_on_acceptance’, ‘__return_false’ );
But it’s not changing anything as far as I can tell. I’m not even sure that the IA plugin is responsible. I’ve logged in as the users who are “sending” these automated friend requests, and I can’t find anything that they can do to force sending a friend request to new users.
Any ideas at all where I should look for the cause?
This might have occurred right after the most recent BP update, but I didn’t actually test before then. New Users for my site can register through the buddypress widget, but they cannot login. Instead, there is an error page that says:
No data received
ERR_EMPTY_RESPONSEWith the claim that the whole page isn’t working. But everything else is working. Please help! I am very new to this and am not at all used to messing with php code.
Does anyone know if there is anything special I need to do to get this function to work? It returns 0 to me even though I have members.
I am using the code in this context…
//return total buddypress members function show_number_of_members( $atts ){ $count_members = bp_get_total_site_member_count(); return $count_members; } //registers all shortcodes function register_shortcodes() { add_shortcode(‘member_count’, ‘show_number_of_members’); add_shortcode( 'postcount', 'post_count_function' ); } add_action(init, register_shortcodes);I’m setting a cookie to display a message on the conversation view after sending a PM. The message displays correctly but the message is there when I go to another page in my profile. The second page I visit after sending the message clears the messages. Code below:
function sbpp04_messaging_some_recipients_error(){ if( isset( $_COOKIE[ 'sbpp04-messages-some-blocked' ] ) ){ $error_message = __( 'Some recipients blocked your message.', 'buddypress' ); bp_core_add_message( $error_message, 'error' ); $_COOKIE[ 'sbpp04-messages-some-blocked' ] = false; } } add_action( 'messages_screen_conversation', 'sbpp04_messaging_some_recipients_error' );Hi
I’m just dipping my toe into BuddyPress and my client needs to moderate profile changes but I haven’t been able to find any solution yet. To that end I’m having a go at developing something myself but I’m a bit stuck.
My approach so far has been to create a new visibility level of ‘moderated’ and make it hidden unless you are admin.
To stop people from changing the visibility level themselves I’ve set the the visibility to ‘Enforce field visibility’ but this stops admin from being able to change it on the user’s profile too.
So is there a way I can introduce a third option of ‘Enforce field visibility except for admin’?
Just for context, my next steps (not yet attempted) are to on save of profile to email admin and set all the users fields to moderated. Then on admin view of a profile to have a button that changes fields with moderated visibility back to their defaults. Does this sound like I’m on the right track?
Thanks for your help!
JoHello
I would exclude automatically, some categories of the blog post, in the activity stream. It’s possible?I saw that the same problem was seen here: https://buddypress.org/support/topic/possible-to-exclude-post-categories-in-activity-stream-and-make-a-user-profile-private-like-with-pri/
But applying the same function with the latest version of BuddyPress, it does not work. is possilibe?
I also tried to customize the Post Types default ‘post’, following this guide: https://codex.buddypress.org/plugindev/post-types-activities/
changing fields as well:
add_post_type_support( 'post', 'buddypress-activity' ); function customize_page_tracking_args() { // Check if the Activity component is active before using it. if ( ! bp_is_active( 'activity' ) ) { return; } bp_activity_set_post_type_tracking_args( 'post', array( 'component_id' => buddypress()->blogs->id, 'action_id' => 'new_blog_post', // or 'new_post' 'bp_activity_admin_filter' => __( 'Published a new post', 'emt-buddypress' ), 'bp_activity_front_filter' => __( 'Posts', 'emt-buddypress' ), 'contexts' => array( 'activity', 'member' ), 'activity_comment' => true, 'bp_activity_new_post' => __( '%1$s shared a new <a href="%2$s">post</a>', 'emt-textbuddypress' ), 'bp_activity_new_post_ms' => __( '%1$s sahred a new <a href="%2$s">post</a>, on the site %3$s', 'emt-textbuddypress' ), 'position' => 100, ) ); } add_action( 'bp_init', 'customize_page_tracking_args' );Finally I tried to customize the content of the post, in activity stream, as always suggested in this post:
guide:https://codex.buddypress.org/plugindev/post-types-activities/
or this:
https://buddypress.org/support/topic/custom-activity-new-post-content-not-broken-after-update-the-post/This is my function:
function record_cpt_activity_content( $cpt ) { if ( 'new_post' === $cpt['type'] ) { $cpt['content'] = '<a href="' . get_permalink( $post->ID ) . '" class="activity-content-title" >' $post->ID). '</span><br />' . get_the_post_thumbnail( $post->ID, '') . '<br /> <br />' . get_post_field('post_content', $post->ID); } return $cpt; } add_filter('bp_before_activity_add_parse_args', 'record_cpt_activity_content');The problem is that the added HTML
<a href="' . get_permalink( $post->ID ) . '" class="activity-content-title" >' $post->ID). '</span><br />tags are not preserved when the post is published. Solutions?
Thanks for your attention and assistance
Hello! In my site I use plugin to sanitize posts/pages URL’s. Code of plugin is simple (all no-latin symbols has changed to latin):
function the_russian_url($title) { $cyr2lat_table = array( "Є"=>"YE","І"=>"I","Ѓ"=>"G","і"=>"i","№"=>"-N-","є"=>"ye","ѓ"=>"g", "Ґ"=>"G","Ё"=>"YO","Є"=>"E","Ї"=>"YI","І"=>"I", "і"=>"i","ґ"=>"g","ё"=>"yo","є"=>"e", "ї"=>"yi","А"=>"A","Б"=>"B","В"=>"V","Г"=>"G", "Д"=>"D","Е"=>"E","Ж"=>"ZH","З"=>"Z","И"=>"I", "Й"=>"Y","К"=>"K","Л"=>"L","М"=>"M","Н"=>"N", "О"=>"O","П"=>"P","Р"=>"R","С"=>"S","Т"=>"T", "У"=>"U","Ф"=>"F","Х"=>"H","Ц"=>"TS","Ч"=>"CH", "Ш"=>"SH","Щ"=>"SCH","Ъ"=>"","Ы"=>"YI","Ь"=>"", "Э"=>"E","Ю"=>"YU","Я"=>"YA","а"=>"a","б"=>"b", "в"=>"v","г"=>"g","д"=>"d","е"=>"e","ж"=>"zh", "з"=>"z","и"=>"i","й"=>"y","к"=>"k","л"=>"l", "м"=>"m","н"=>"n","о"=>"o","п"=>"p","р"=>"r", "с"=>"s","т"=>"t","у"=>"u","ф"=>"f","х"=>"h", "ц"=>"ts","ч"=>"ch","ш"=>"sh","щ"=>"sch","ъ"=>"", "ы"=>"yi","ь"=>"","э"=>"e","ю"=>"yu","я"=>"ya", " "=>"-","."=>"",'"'=>"-","""=>"-",'"'=>"-", ); global $wpdb; //оставляем только латиницу, цифры и тире //Дополнение — очищает слаги от вхождения ненужных в URL символов. //echo '<!--URL: '.$title.' -->'; //if ($title!='') return str_replace("--","-",preg_replace("~[^A-Za-z0-9-]~","-",strtr($title,$cyr2lat_table))); } add_action('sanitize_title', 'the_russian_url');If I use this (very old) plugin in site with installed BuddyPress, in BuddyPress has not work new users activation function. If user click to link in activation email, or manual type activation code on activation page, it get message (Wrong activation code).
If i disable my plugin, activation work good.
Please, help my change my plugin. I need for both plug-in should work simultaneously.
PS. Sorry for my bad English 🙂
Topic: Profile Page
Hey everyone! I am new to BuddyPress. I need some help. I like the way the profile page looks on the very first page when you go to https://buddypress.org/ is there a walk thru or something on how to make my profile pages look like that?
Thanks,
JenHello,
I am using the latest WordPress and BuddyPress versions on my site:
http://www.artisticfreedomcrew.com/I set up my site in a way that users can upload their photos/images to the site through a front end uploader.
Is there a way to add those pictures automatically to their personal profile page, working as a personal Gallery?Kind Regards,
Bruno MestreHello ! I’ve been looking everywhere for a solution, but since I haven’t found anything that is a real solution, I’m posting a new topic.
My problem is : the emails sent by BuddyPress are in plain text and not in html. I’ve looked into the plugins we have installed, but none are SMTP. We’re using WordPress 4.6.1, BuddyPress 2.7.1 and the following plugins :
Advanced Custom Fields
AMP
Appfull
BbPress
Bottom Admin Bar
BP Emails for BBP
BuddyPress Votes
BuddyPress Xprofile Custom Fields Type
Duplicate Post
Glue for Yoast SEO & AMP
Gravity Forms
Gravity Forms CSS Ready Class Selector
Hero Slider
Loco Translate
Meta Box
Multiple Post Thumbnails
Page Builder par SiteOrigin
Redirection
Reveal IDs
rtMedia for WordPress, BuddyPress and bbPress
SiteOrigin CSS
SiteOrigin Widgets Bundle
TinyMCE Advanced
Ultimate Addons for SiteOrigin
WordPress Social Login
WP Viral Quiz
Yoast SEOI’ve seen someone suggest modifying the bp core functions, which is a really bad idea and not a viable solution for my problem.
Anyway, thanks in advance !
Hello everyone, i had installed boddypress plugin on my web site. In this website i had too iThemes Security Plugin. After a few days some errors were become. For example 508 errors. I think they are not compatible and i will like to use buddypress plugin to start a comunity in my web site. Some body can tell me somethig..? Please, tell me how can i use both plugins and don´t have errors. Thank you very much in advance.
ummm… https://wordpress.org/plugins/buddypress/
We list them on both our plugin directory and
https://buddypress.org/extend/recommended-plugins/
that is a 404 not found page