Search Results for 'buddypress'
-
AuthorSearch Results
-
February 23, 2017 at 10:43 pm #264109
In reply to: Can’t edit
r-a-y
KeymasterThis should be fixed in BuddyPress 2.8.1.
Upgrade to v2.8.1.
February 23, 2017 at 7:56 pm #264104In reply to: Hide Required BuddyPress Name Field
Julian
ParticipantHey Henry,
Thank you so much! That worked perfectly.
I forgot to mention though that the “Name” profile field still shows up on theer BuddyPress profile page. Do you know any code that I could use to hide that field?
Thanks so much
February 23, 2017 at 7:20 pm #264102Humiges
ParticipantDear @djpaul ,
please ignore my previous reply.I found out that the // ‘activity_update’, works a bit TOO well/much ๐ , since it also removes the activity information about the new comments created in blogs.
Please, is there any specific removal as // ‘activity_update’, — however, this one only removes those which are posted in Buddypress Profiles?
This would mean… I would still see:
[username] commented the post [postname]However, if someone replies the BuddyPress activity/comments the
[username] posted a new activity comment
Will not show/ create.Thank you very much
February 23, 2017 at 7:19 pm #264101In reply to: Hide Required BuddyPress Name Field
Henry Wright
ModeratorYou have 2 options. I’d recommend the 2nd:
1: Copy and paste the JavaScript to your my-theme/buddypress/members/register.php template. In this case you’ll need to copy the
<script>tags also.
2: Create a separate file (my-theme/js/script.js for example) and paste the JavaScript into that. In this case you don’t need to copy the<script>tags. If you go down this route you will need to enqueue the script. See this article for info on how to do that:February 23, 2017 at 6:01 pm #264099In reply to: Network for private persons and companies
Henry Wright
ModeratorIs that possible?
Yes but you’ll need to install some plugins and maybe write some custom code to get the functionality you need.
Check out the Getting Started article
February 23, 2017 at 5:57 pm #264097In reply to: Problem using login page
r-a-y
KeymasterBuddyPress does not touch the login page.
You are using a different plugin to do this or some rewrite rules on your server.
February 23, 2017 at 5:49 pm #264095In reply to: Odd Characters in Emails
Henry Wright
ModeratorHey @kdannay
Is BuddyPress actually sending
รขโฌโor is the problem at your client’s end? i.e. your client’s email client can’t display theโcharacter properly?February 23, 2017 at 3:43 pm #264092In reply to: Error upgrading to 2.8.x
Henry Wright
ModeratorI just spoke with Boone, he suggested a reinstall of BuddyPress is needed because it looks as though your upgrade didn’t complete properly. bp-core-functions.php shouldn’t contain a reference to the
BP_Core_Sort_By_Key_Callbackclass because the class was removed in 2.8.0.February 23, 2017 at 10:52 am #264082In reply to: Random User when /Members is loaded?
coolhunt
ParticipantI found this handy
It works in BP-custom.php — im trying to get it to load instead of “alphabetical”
// Exit if accessed directly if ( !defined( 'ABSPATH' ) ) exit; class BP_Loop_Filters { /** * Constructor */ public function __construct() { $this->setup_actions(); } /** * Actions * * @uses bp_is_active() * @uses is_multisite() */ private function setup_actions() { /** * Adds the random order to the select boxes of the Members, Groups and Blogs directory pages */ // Members component is core, so it will be available add_action( 'bp_members_directory_order_options', array( $this, 'random_order' ) ); // You need to check Groups component is available if( bp_is_active( 'groups' ) ) add_action( 'bp_groups_directory_order_options', array( $this, 'random_order' ) ); // You need to check WordPress config and that Blogs Component is available if( is_multisite() && bp_is_active( 'blogs' ) ) add_action( 'bp_blogs_directory_order_options', array( $this, 'random_order' ) ); } /** * Displays a new option in the Members/Groups & Blogs directories * * <a class="bp-suggestions-mention" href="https://buddypress.org/members/return/" rel="nofollow">@return</a> string html output */ public function random_order() { ?> <option value="random"><?php _e( 'Random', 'buddypress' ); ?></option> <?php } } // 1, 2, 3 go ! function bp_loop_filters() { return new BP_Loop_Filters(); } add_action( 'bp_include', 'bp_loop_filters' );February 23, 2017 at 9:53 am #264078In reply to: BuddyPress causing white screen
Colourscope
ParticipantOK this was the error when I did the wp-debug:
Fatal error: Call to undefined function bp_is_front_page() in /home/longmans/public_html/positiveplusone.com/wp-content/plugins/bp-custom.php on line 21
I deactivated all plugins and the site was showing.
I re-enabled BuddyPress as the first plugin and the site did not show when I pressed View Site.
It’s the BuddyPress plugin but I don’t know what/how to fix it.
February 23, 2017 at 9:17 am #264077In reply to: Display activity of a specific group
aido141176
ParticipantI want to list the activity for a specific group, not list of groups. I have not continued withe template method danbp. I’ve tried everything you mentioned including the bp_parse_args(). I just couldn’t get it to work. I could get it change the amount of list items but not display a selected group activity.
But I have gone back to using the activity loop now, trying to incorporate the code you gave me.
Here is the activity loop, how would you incorporate your code above:
<?php if ( bp_has_groups() ) : ?> <div class="pagination"> <div class="pag-count" id="group-dir-count"> <?php bp_groups_pagination_count() ?> </div> <div class="pagination-links" id="group-dir-pag"> <?php bp_groups_pagination_links() ?> </div> </div> <ul id="groups-list" class="item-list"> <?php while ( bp_groups() ) : bp_the_group(); ?> <li> <div class="item-avatar"> <a href="<?php bp_group_permalink() ?>"><?php bp_group_avatar( 'type=thumb&width=50&height=50' ) ?></a> </div> <div class="item"> <div class="item-title"><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></div> <div class="item-meta"><span class="activity"><?php printf( __( 'active %s ago', 'buddypress' ), bp_get_group_last_active() ) ?></span></div> <div class="item-desc"><?php bp_group_description_excerpt() ?></div> <?php do_action( 'bp_directory_groups_item' ) ?> </div> <div class="action"> <?php bp_group_join_button() ?> <div class="meta"> <?php bp_group_type() ?> / <?php bp_group_member_count() ?> </div> <?php do_action( 'bp_directory_groups_actions' ) ?> </div> <div class="clear"></div> </li> <?php endwhile; ?> </ul> <?php do_action( 'bp_after_groups_loop' ) ?> <?php else: ?> <div id="message" class="info"> <p><?php _e( 'There were no groups found.', 'buddypress' ) ?></p> </div> <?php endif; ?>I’m sorry if this is annoying you, I do appreciate your help. I’ve only been working with buddypress for about a week.
Thanks
February 23, 2017 at 9:01 am #264076In reply to: Display activity of a specific group
danbp
ParticipantDid you read the related documentation ? Specially the one related to the groups-loop ?
My previous answer contained a solution to do that programmatically. But you (continue to) use the template method. If you want this method, see the mentionned groups-loop.
February 23, 2017 at 8:56 am #264075In reply to: Random User when /Members is loaded?
danbp
ParticipantHi,
you need a child theme and a small code modification.
The code is explained here.
if ( bp_has_members( bp_ajax_querystring( 'members' ) ) )is to replace by something like (can be different)
if ( bp_has_members( 'type=random' ) )In a “buddypress” folder of your child theme, you add a copy of this file:
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.phpWhat ever you modify in that file while now be interpreted by BuddyPress. The advantage of this method is that BP can be updated while your modification in the child will always be save and taken in account over the current version.
You can also search the forum for members-loop to get other information.
February 23, 2017 at 1:54 am #264071r-a-y
KeymasterDisable the “Site Tracking” component under “Settings > BuddyPress” in the WP admin dashboard. When you do this, blog posts and blog comments will not be recorded into the BP activity stream.
February 23, 2017 at 1:43 am #264070jeffm2008
ParticipantWhile we are at it, is there a way to disable my blog posts from automatically showing up as my buddypress activity posts? Thank you very much in advance.
February 23, 2017 at 12:03 am #264066In reply to: Buddypress Future Suggestons
r-a-y
Keymaster1,2,3,4,6 should be left to WordPress plugins as these are specific to WP.
7, 10 have been discussed as core options. It just takes time for developers and the team to finalize specs and to code as this is all done on a volunteer basis. 10 is hard because it relies on a ton of dependent code that hasn’t been written or finalized yet.
5 – There’s been some preliminary work on this. See https://github.com/buddypress/bp-types-ui.
9 – If you’re using WordPress multisite, this should be already available as a WordPress option under “Network Admin > Settings”. Otherwise, this plugin might work, but does the opposite. It restricts signup to email domains that you specify.
Notifications
2 should already be in core.
3 is a good request, but unreliable due to how the notifications data is stored. It would be easy to do for BP core notifications, but notifications generated by plugins could store the user ID differently, making this unreliable.
4 could be done via a custom template or via a small code snippet.February 22, 2017 at 11:08 pm #264064r-a-y
KeymasterIf the post contains an inappropriate word that you’ve set up in WP’s comment moderation settings, then BuddyPress also inherits these settings. This functionality was added in BP 2.6.0.
To disable this functionality from the Activity component, add the following to your theme’s
functions.phporwp-content/plugins/bp-custom.php:// Do not use WP's Comment Moderation with BP Activity component remove_action( 'bp_activity_before_save', 'bp_activity_check_moderation_keys', 2, 1 ); // Do not use WP's Comment Blacklist with BP Activity component remove_action( 'bp_activity_before_save', 'bp_activity_check_blacklist_keys', 2, 1 );February 22, 2017 at 7:16 pm #264054In reply to: [Resolved] Pages not working
danbp
ParticipantHi Jody,
BP pages should be empty, so it is normal you see only a title in the page preview. These pages are dynamic and completed by BP, depending the context. As site owner, you have nothing to add to them.
To get the page system to work correctly, you have to enable the permalinks. You can choose any option, except “by default”. Don’t forget to save your setting.
For more details, please read the documentation.
I visited your site, but was unable to access the member directory page or site activity page. Seems you require user to be logged in to access them… ๐
February 22, 2017 at 6:11 pm #264052In reply to: whats-new-textarea – size
coolhunt
ParticipantBig thanks! its definitely got me to the right direction..
though… im a little nervous to make updates on Buddypress.js-im trying it out now on twenty seventeen
February 22, 2017 at 3:48 pm #264050In reply to: Can’t upload profile pictures
danbp
ParticipantWhen you are on frontend, your profile tab, you should see follwing menu items under the buddy nav bar:
View | Edit | Change Profile Photo | Change Cover Image
and the same items under your user menu (below Howdy), in the top right corner on the Toolbar, as submenu of the Profile item.
If it isn’t case, some common issues can be:
– you omitted to save your BP options
– you use a cache and see the site content from before BP installation
– there is a weird bug in a file
– your theme isn’t taylored for BuddyPress
– there is a conflict with another pluginWhat you could try:
– double check your settings
– clear the cache
– reload a fresh copy of BP via FTP
– test with a Twenty theme
– you have to debugNote also that you can only load ONE avatar or ONE cover image at a time and that you have definitely only one picture for each bundled with your account.
February 22, 2017 at 3:21 pm #264049In reply to: hide members from search results
johanna75
ParticipantI use the BP PROFILE SEARCH plugin (mandatory for members search form i think… because if Deactivate it search form deseapered)
and SuitePlugins – Advanced XProfile Fields for BuddyPressFebruary 22, 2017 at 1:47 pm #264047In reply to: hide members from search results
djsteveb
Participant@johanna75 – very interesting – I wonder if this happens with the other buddypress search plugins as well. I assume you are using the standard bp members search not one of the add on profile search plugins?
February 22, 2017 at 8:20 am #264035In reply to: Display activity of a specific group
aido141176
ParticipantHi danbp, thank you for your response. Unfortunately I’m not sure how I can get this to work.
Can you please show me a loop that will show all activity for say a group with ID 2. Or even with a slug, say ‘group_slug’.
Here is the loop I am using:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . "&primary_id=2" ) ) : ?> <?php while ( bp_activities() ) : bp_the_activity(); ?> <?php locate_template( array( 'buddypress/activity/entry.php' ), true, false ); ?> <?php endwhile; ?> <?php endif; ?>I tried both to incorporate your code into the activity loop but it didn’t work.
I want display this activty not on a buddypress page. I want it to go on homepage. I can already get the group ID I just want to be able to make a loop that displays the activity of a curtain groupusing the group ID.
If you could show me a whole complete loop that would work I would be really greatful.
Thanks
February 22, 2017 at 5:07 am #264033danbp
ParticipantYou have already asked for this in the past 2 weeks!
How to add a tab or content (like user’s post) on a profile is explained in many topics if you would take a little while to search the forum.You want to use a third party plugin, but we can’t help you for this as we are all volonteers here, who have enough to do with BuddyPress. It is to you to read the software documentation and built it in your site.
This topic is closed as duplicate. Conversation continues here.
February 22, 2017 at 4:54 am #264030In reply to: Display activity of a specific group
danbp
ParticipantHi,
you have to use a group_id and to ensure you’re in an appropriate loop (activity or group)
To get a group id, you can for ex. do:
// check for a group ID if( bp_has_groups() ) { // Grab current group ID bp_the_group(); $group_id = bp_get_group_ID(); } // apply our changes only to this group ID's // conditionnal action if ( $group_id == 22 OR $group_id == 8 ) {… and so on!
You may also use bp_parse_args, depending where you use your custom work. In other words, you can create a complete new activity loop on a distinct page template for only one group.
-
AuthorSearch Results