Search Results for 'can find the members page'
-
Search Results
-
Hello,
I’ve searched the internet and this forum in particular for a couple of hours but could not find a proper workaround for this issue:
As you know, BuddyPress setup works by creating two blank pages – members and groups. If I type in a meta description in Yoast for both and preview the pages, the description text is added to the page header and gets properly displayed in the page source text.
But as soon as I assign the two pages to the BuddyPress plugin, the description gets stripped completely. In the page source appears an author note that a description needs to be added.
I could live with that, but I urgently need to make my members page and all its related members profile content invisible to search engines. The severe problem is, that the Yoast settings „noindex, nofollow“ are stripped too.
The BBpress Forum page is not affected by this issue. Yoast can apply a meta description and the „noindex, nofollow“ command, which is a good thing.
Can someone please help me out with a solution?
Thanks in advance,
MartinTopic: profile field
Hi,
I’m using BuddyPress and the result that I’d like to reach is modifying a field in the user profile page (http://yourSite/members/userName). So far I’ve found bp_after_profile_content and bp_before_profile_content but what I want is affecting one field inside the profile_fields_content. I’m not using any custom field and I can’t find a solution. Does any of you have any idea? I’m in function.php of a child theme and my function so far is this one:function get_member_field_test($data){
$data = bp_get_member_profile_data( ‘field=lname’ );
if ( strlen($data) > 3){
$data = substr($data,0, 3).’…’;
return $data;
}
}add_action(‘bp_before_profile_content’,’get_member_field_test’);thanks in advance
Topic: Display the group id PHP ?
Hello,
This is my problem, I use ACF PRO to create my own fields on my WordPress theme, for the member profiles part everything works with this code:
<?php /** * BuddyPress - Members Settings ( General ) * * @since 3.0.0 * @version 3.1.0 */ acf_form_head (); $author_id = bp_displayed_user_id(); ?><div class="col-lg-6"> <?php acf_form(array( 'id' => 'acf-formA', /* Groupe de champs ID utilisé */ 'field_groups' => array('663'), //CHANGE ID IN LIVE /* Quelle est la function meta utiliser en $ sur ID auteur ? */ 'post_id' => 'user_'.$author_id, /* Quel est le nom sur le bouton du button de sauvegarde */ 'submit_value' => __("SAUVEGARDER", 'acf'), /* Le message que je retourne en cas de réussite sur l'infobox bootstrap */ 'updated_message' => __("Mise à jour réalisée", 'acf'), /* Button de submit de formulaire */ 'html_submit_button' => '<div class="text-center"><input name="updateuser1" type="submit" id="updateuser1" class="btn-style1" value="%s" /></div>', /* Le spinner de chargement */ 'html_submit_spinner' => '<span class="acf-spinner"></span>', 'form' => true, 'return' => '' )); add_action('acf/save_post', 'my_acf_save_post', 20); ?> </div>So far no problem to display then on the member’s profile page the information of the ACF field.
My Problem:
On the other hand, on the Groups part I can’t find how to attach the field to the ID group, that’s what I tried.In my edit-details.php (in group),My field works, I enter test in my acf form
it comes out in the echo “test” but on all the groups, I can’t associate this field with the group id.<?php /** * BP Nouveau Group's edit details template. * * @since 3.0.0 * @version 3.1.0 * @version 4.0.0 Removed 'Notify group members' checkbox in favor of hooked callback. */ acf_form_head (); $group_id = bp_displayed_user_id(); $group = new BP_Groups_Group( $group_id ); ?><?php echo get_field('test_group', 'group_'. $group_id); ?><?php acf_form(array( 'id' => 'acf-formA', /* Groupe de champs ID utilisé */ 'field_groups' => array('714'), //CHANGE ID IN LIVE /* Quelle est la function meta utiliser en $ sur ID auteur ? */ 'post_id' => 'group_'.$group_id, /* Quel est le nom sur le bouton du button de sauvegarde */ 'submit_value' => __("SAUVEGARDER", 'acf'), /* Le message que je retourne en cas de réussite sur l'infobox bootstrap */ 'updated_message' => __("Mise à jour réalisée", 'acf'), /* Button de submit de formulaire */ 'html_submit_button' => '<div class="text-center"><input name="updateuser1" type="submit" id="updateuser1" class="btn-style1" value="%s" /></div>', /* Le spinner de chargement */ 'html_submit_spinner' => '<span class="acf-spinner"></span>', 'form' => true, 'return' => '' )); add_action('acf/save_post', 'my_acf_save_post', 20); ?>Thanks for your help !
demo : https://cryodev.fr/branch/build/alpha/groupes/le-groupe-a-demo/Topic: Hide “Modify” Button
Hello,
Can you help me for hiding the “Modify” button on a member page.
I Don’t want that my members can change their profile by themself because all fields are automaticly feed by an LDAP authentication.
Before updating my Woffice theme, i just have to comment some lines of this file :
/home/wordpress/wp-content/themes/woffice/buddypress/members/single/profile.php// Edit
//case ‘edit’ :
// bp_get_template_part( ‘members/single/profile/edit’ );
// break;
But now i Don’t find where i can hide this button for my suscribers.
Can you try to help me please ?
ThxHi!
I’m looking to have a default avatar for different member types. So, upon registration, a user would be assigned, by default to the ‘Participant’ level. Or, another level.
Thing is, if they register and are given a different level upon registration, such as ‘Moderator’ I do not want them to have the same default BuddyPress avatar as a ‘Participant.’ Because I want it to be clear in conversation threads what the level of each member is — who is ‘running things’ so to speak.
I want Moderators to have a different avatar in conversation than a Participant. To make it obvious. And nooooo, looking at the top of the Group’s page is not sufficient to indicate this, as it would be easy to overlook if all avatars were the same; people are not going to easily see the ‘Moderator’ status under an avatar if they’re on mobile, or in a rush, or don’t care to view the person’s information/avatar past a glance. I want it to be incredibly obvious what level each person is in each discussion.
And I want it to be automated. By default — that when a user signs up and is assigned a member type that they get the correct ‘member level’ avatar for their status.
Note: I do not need this to be editable past their member type…because to be honest that is a hassle. I want it to be done based on their membership type, without me having to upload a new avatar each time…I want a member type to use the same avatar over and over again.
And if that user’s level changes in the future, either to a higher level or a lower one, I want their avatar to be the new one — automatically — that is associated with their new member type that everyone else has, that has the same member type level as they now do.
NOTE: I have ‘extended profiles’ shut off, and there is no reason to put them back on. I’ve tried that recently in my quest for ‘how the hell do I make avatars look different’…. 🙂 BUT turning on extended profiles messed up my site. Also, I tried turning on the feature ‘allow members to upload avatars’ and that messed up my site as well.
I currently am using ‘BuddyPress First Letter Avatars’ with GREAT success; it is FAB. And the fact that it works to affect the appearance of BuddyPress avatars WITHOUT my having to enable extended profiles or turn on the ability for users to upload their own avatars…proves to me that I can edit avatars with code independent of those features being turned on.
Remember — I can’t just have pretty avatars there. I need certain avatars based on member type. So using ‘BuddyPress First Letter Avatar’ as the plugin for my site is not a long-term solution. Currently my site is in development, so nobody else sees anything but me…when the site goes live though, I need to have the avatars populate based on member level. That plugin is not what I need…it does demonstrate that the idea I have behind getting this done is perhaps possible, though, as it does affect avatar appearance without breaking my site. I’d LOVE to reverse engineer it, and modify it for my purposes, but to be honest that’s a little past my paygrade. 🙂
ONE OTHER thing to keep in mind: I do NOT want gravatars to be used on my site. Not ever.
So I’ve shut those off. They repeatedly call back to the WordPress servers….something I don’t want. So I’ve used code that is listed in the BuddyPress codex to shut gravatars off. And am using a plugin to shut off gravatars within WordPress itself, outside of BuddyPress.
Ideally, I’d love to accomplish setting avatars based on member levels, automatically, with a plugin. But currently no plugin exists to do this on Code Canyon, or the WordPress plugin repository, or elsewhere that I can find. I did find some code on BuddyDev that said we could use a couple plugins plus some PHP filters and etc….but I followed those directions and my site broke (500 errors)….which is what happened to someone else too (as mentioned in the comments), as recently as October of 2018.
I am running WordPress 4.9.8 and the latest version of BuddyPress as well as bbPress.
Thoughts?
Thanks in advance for any and all assistance. 🙂
Topic: remove ‘last active’ status
Hello, I searched existing posts but didn’t find this exact question.
On the members’ page, and on individual profile pages, it shows the time the member was last active. (example ‘active 3 minutes ago’)
I’d like to hide/turn this off but can’t figure out where or how to do this. I have turned off the activity stream but that didn’t do it.
Is there a snippet of code I need to change or add to accomplish this?I changed the theme to twenty-seventeen and it still shows up.
Wordpress version 4.9.8
BuddyPress version 3.2.0This will (temporarily) take you directly to the member ( ‘Connect’ ) page.
Thank you!
DeniseI have searched for shortcode but can’t seem to find what I am looking for. Either it doesn’t exist, it is hard to find, or I am just an idiot.
I want to find a list of all the shortcode that can be used with BuddyPress.
I want to create a dashboard page that has
A list of members friends
Recent friend activity
Recent activity in groups I am inWhere is the shortcode?
(Also, I know there is a profile page that has all this in it… but humor me. I just want shortcode info. Does it exist and where).
Hello,
I am new to Buddypress and this is my first post, I am new to web development also, and my PhP coding is not all that great, my years as a software developer was strictly in a windows environment (vb.net and sql)
I developed my own website and I am using Buddypress as part of my social media for users to connect with each other.
I have spent endless hours researching a fix, and I have not been able to find anything php file that I can edit in File Manager to edit or remove the line of code.
When a user updates an Activity, it updates in three places:
1. The Activity Stream (which is what I want)
2. The Member’s Profile where the Activity tab was (now removed, which is what I want)
3. Under the Member’s profile cover, with that pesky “view link” (which I DO NOT want to show)And the “view link” is a bit buggy also, sometimes when a user clicks on it, it throws a 404 error, sometimes it opens up a blank page, and sometimes it opens up the recent activity that they posted in the Activity Stream.
Also in the members directory I have a button to send the user a private message whether or not they are friends.
When I click on a user name from the member’s directory, it take me to the compose a message like it is suppose to do, and the user name appears , but it does not save the user name in the send to box, do you have a fix for this also?
Thank you very much, a fix to these problems are greatly appreciated.
Naomi
Hey,
for some reason i can’t filter bbpress activities like topics and answers in the activity stream. It just keeps displaying all activities. I’d be thankful to have that fixed. Any hints? Greetings 🙂
P.S. I also need to get rid of those brackets on sitewide-activity-page and members-page in the submenu (all members – friends…) because the number in there is already a little bubble. Couldn’t find the right php for that. Would apprecciate that too.
After much research through many old threads, using the combination of a few, I figured out how to remove the “All Members” view of the Activity feed.
I originally tried a solution posted by paulhastings0 on the page https://buddypress.org/support/topic/change-the-default-activity-tab/
However, as a member in that thread posted a few comments later, this only changes the default selection of the tab, it does not in fact change the feed that is loaded. So the tab said “My Friends” (or whatever tab you set as selected), but the feed that loaded was still the “All Members” feed.
The second option I found (which I can’t find again to link to while writing this) only removed the “All Members” tab option, but simply left the tab as a blank space, while still loading the “All Members” feed.
If you combine the two solutions however, it works like a charm!
So, here’s the solution:
You should be working in the BP Child theme.
1) Copy the index.php file from ../wp-content/themes/boss/buddypress/activity
2) Paste the index.php into your ../wp-content/themes/boss-child/buddypress/activity directory (it doesn’t exist, so you’ll have to create it)
3) Use the first solution by paulhastings0 in the old thread to change which tab is default selected by removingclass="selected"from the<li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'boss' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'boss' ), bp_get_total_member_count() ); ?></a></li>line (on line 24) and addclass="selected"to the new tab you want selected (I chose the “My Friends” tab, so for me it was<li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of my friends only.', 'boss' ); ?>"><?php printf( __( 'My Friends <span>%s</span>', 'boss' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ); ?></a></li>on line 34.
4) Now, delete the<li id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'boss' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'boss' ), bp_get_total_member_count() ); ?></a></li>code from line 24.Hope this saves someone from hours of searching like I did!