Search Results for 'buddypress'
-
AuthorSearch Results
-
May 16, 2015 at 5:56 am #239139
In reply to: Error When Adding Custom Post Type to Activity Feed
Mathieu Viet
ModeratorHi there,
There’s a chance your theme hasn’t updated its templates. In order to have the activity dropdowns populated, please check your templates are up to date see https://codex.buddypress.org/themes/activity-dropdown-filters-in-templates/#use-bp_activity_show_filters-within-your-bp-default-child-theme
May 15, 2015 at 5:49 pm #239127In reply to: Group with multiple forums?
r-a-y
KeymasterGroups are a BuddyPress thing are they not?
I am requesting that the Group Forum selector in the Group Forum Settings in BuddyPress be able to support more than one forum NOT forums supporting multiple groups.
Yes, but BuddyPress doesn’t do anything with the bbPress plugin. bbPress integrates itself into BuddyPress. bbPress handles all the BuddyPress group integration.
What you’re requesting should be a bbPress feature.
May 15, 2015 at 4:03 pm #239126In reply to: Error When Adding Custom Post Type to Activity Feed
producist
ParticipantI just tried adding the snippets and again and that problem isn’t happening anymore. However, the filter functionality isn’t working…
See Screenshot —
http://postimg.org/image/5ulodg0wz/
Here’s the code I used….
<?php // hacks and mods will go here ok // Don't forget to add the 'buddypress-activity' support! add_post_type_support( 'page', '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( 'page', array( 'component_id' => buddypress()->blogs->id, 'action_id' => 'new_blog_page', 'bp_activity_admin_filter' => __( 'Published a new page', 'custom-domain' ), 'bp_activity_front_filter' => __( 'Pages', 'custom-domain' ), 'contexts' => array( 'activity', 'member' ), 'activity_comment' => true, 'bp_activity_new_post' => __( '%1$s posted a new <a href="%2$s">page</a>', 'custom-textdomain' ), 'bp_activity_new_post_ms' => __( '%1$s posted a new <a href="%2$s">page</a>, on the site %3$s', 'custom-textdomain' ), 'position' => 100, ) ); } add_action( 'bp_init', 'customize_page_tracking_args' ); ?>Is there anything I need to add or change in the above code in order to make PAGES show in the filter area?
May 15, 2015 at 10:54 am #239111In reply to: Default User Role Blocked from ALL BuddyPress
Henry Wright
ModeratorHi @fuzzllc
A way of doing this would be to override the user’s role when they sign up. BuddyPress provides a hook we can use for this
bp_core_signup_user. So, you could do something like this:function fuzzllc_set_default_role( $user_id ) { $user = new WP_User( $user_id ); $user->set_role( 'keymaster' ); // keymaster can be whatever you like } add_action( 'bp_core_signup_user', 'fuzzllc_set_default_role' );May 15, 2015 at 7:17 am #239104danbp
Participantthank you for your help, but please, don’t give a 4 years old solution without testing it.
At first, the snippet contains cote errors, and second, it doesn’t work with BP 2.x, as things has changed.You can easily modify your template loop by using bp_parse_args function.
Here a working example (activity-update is commented – uncomment to see the difference)
You simply have to list what to show. Anything not listed will be ignored, on all activity feeds.
Add this to bp-custom.php or child theme functions.php
function my_bp_activities_include_activity_types( $retval ) { // only allow the following activity types to be shown $retval['action'] = array( // 'activity_update', 'activity_comment', 'new_blog_post', 'new_blog_comment', 'friendship_created', 'created_group', ); return $retval; } add_filter( 'bp_after_has_activities_parse_args', 'my_bp_activities_include_activity_types' );May 15, 2015 at 2:53 am #239101browserco
ParticipantHi Steve, the code above disallows commenting on specific activity types which is not what I wanted. To get rid of those pesky notifications on the activity stream you should use this code in your theme’s functions.php file:
function filtering_activity_default( $qs ) { if ( empty( $qs ) && empty( $_POST ) ) { $qs = ‘action=activity_update'; } return $qs; } add_filter( ‘bp_ajax_querystring’, ‘filtering_activity_default’, 999 );I got the code from this thread.
I hope it works out for you!
May 15, 2015 at 1:00 am #239094In reply to: Wrong Member Count
IHaveToDoThis
ParticipantHey,
Thanks a lot for the info, but the members aren’t under pending. They actually are under subscribers in the back end dashboard, they just don’t show up in the BP members directory. I did find a similar topic here but the plugin that fixed their problem doesn’t exist anymore.
Is deleting the users and re-creating them the only way to fix this? Or do you think once the users log on and do something they will populate in the members directory?
Thanks again Dan!
May 14, 2015 at 10:43 pm #239089In reply to: Adding Filters to the Member Directory
shanebp
Moderatoronly a certain level of members, or see members listed by country, that sort of thing
Those two things require different approaches to gathering member ids.
Adding the order option is easy.
But filtering the members will require specific solutions.Read this:
https://buddypress.org/support/topic/adding-new-order-by-on-members-loop/You can remove default choices by creating a template overload of this file and adjusting the select element:
buddypress\bp-templates\bp-legacy\buddypress\members\index.phpNote that it will default to ‘active’ regardless.
May 14, 2015 at 10:33 pm #239088shanebp
ModeratorThe issue is in the BuddyPress Live Notifications plugin.
You should report the issue and your fix to the plugin authors:
https://wordpress.org/support/plugin/bp-live-notificationMay 14, 2015 at 9:41 pm #239085In reply to: Group with multiple forums?
schulz
ParticipantGroups are a BuddyPress thing are they not? I am requesting that the Group Forum selector in the Group Forum Settings in BuddyPress be able to support more than one forum NOT forums supporting multiple groups.
bbpress ticket 2191 is not really talking about what I am talking about here. They are talking about creating subgroups to go with the forums (which is not what I want to do).
Also the bbPress forums is the first place I looked into and it seems that posts talking about group involvement are being directed to post at the BuddyPress support.
May 14, 2015 at 9:00 pm #239083In reply to: Group with multiple forums?
r-a-y
KeymasterThe bbPress plugin integrates into BuddyPress, not the other way around.
So your question is best suited on the bbPress forums:
https://bbpress.org/forumsI can tell you that multiple group forums are not officially supported in bbPress at the moment though.
You’ll want to keep your eye on this ticket:
https://bbpress.trac.wordpress.org/ticket/2191r-a-y
KeymasterYou’ll probably want to follow this guide:
The guide is for the twentythirteen theme, but it works as a general guideline with any theme. Replace the references to the twentythirteen theme with your theme and you should be good to go!
Hugo Ashmore
ParticipantCheck the Codex documentation, which will guide you on creating a custom buddypress.php page to mirror your themes page.php and in which you could then remove the sidebar from markup.
May 14, 2015 at 12:27 pm #239065In reply to: Filter specific members only.
danbp
ParticipantRead here: https://buddypress.org/support/topic/customising-members-loop-pagination-problem/
Where to put the code: bp-custom.php or child-theme’s functions.php
May 14, 2015 at 10:47 am #239062In reply to: How to avoid spam registration in buddypress
Vignesh M
ParticipantThank You ! i have an another doubt how can i show bbpress forum counts,topic counts,replies for individual user without login in buddypress members page below username.
May 14, 2015 at 8:53 am #239056In reply to: Edit Group and Profile Templates
danbp
ParticipantYou should ask for this on your premium theme support.
Read first here:May 14, 2015 at 1:18 am #239051In reply to: Edit Group and Profile Templates
agalassi0917
ParticipantThe sidebar automatically is pushed to the bottom of the profile and group templates, I’d like to be able to move it to the right where the default position is. I think it could be pushed to the bottom due to the Divi theme, but i’m not sure.
I’d like to know if there were a way to add widgets such as side bars or menus to the template pages in order to facilitate easier navigation through the buddypress pages.
Thanks for your help!
May 13, 2015 at 11:55 pm #239049In reply to: Edit Group and Profile Templates
agalassi0917
ParticipantThank you, I’ve created a child theme based off of the Divi theme. Is the only way to edit the buddy press template files though adding the code to the php files, or is there another way to edit these pages (plug-in, buddypress specific theme, etc.)?
May 13, 2015 at 4:28 pm #239042In reply to: Remove friend notifications for all activity page
shanebp
ModeratorYou can place this in your theme/functions.php or in bp-custom.php.
It will stop recording entries for 3 types after you include the function.
You can add othertypesas desired to the$excludearray.function steve_dont_save_activity( $activity_object ) { $exclude = array( 'new_avatar', 'updated_profile', 'friendship_created' ); if( in_array( $activity_object->type, $exclude ) ) $activity_object->type = false; } add_action('bp_activity_before_save', 'steve_dont_save_activity', 1, 1 );To delete existing entries, use the interface here
[yoursite]/wp-admin/admin.php?page=bp-activityMay 13, 2015 at 1:10 pm #239035In reply to: Avatar preview has been stretched on BuddyPress site
shanebp
ModeratorIf you switch to a WP theme like 2013, does the problem persist?
If not, it’s something in your theme.What are your media settings re images? Are they square?
Here: …/wp-admin/options-media.phpHave you have set any avatar size constants in code?
See: https://codex.buddypress.org/themes/guides/customizing-buddypress-avatars/#how-to-change-buddypress-avatar-sizesMay 13, 2015 at 8:50 am #239027In reply to: Edit Group and Profile Templates
danbp
ParticipantBuddyPress templates are stored in bp-templates/bp-legacy/buddypress/
To customize your theme, create first a child-theme.
In this folder, add a folder called buddypress and copy any file you want to modify into it from /bp-legacy/, by respecting the original path child-theme/buddypress/members/xxx.php or /child/buddypress/activity/xxx.phpMore details are avaible on codex.
May 13, 2015 at 8:40 am #239026In reply to: Wrong Member Count
danbp
ParticipantThis phenomenom is normal.
Once a user has registered, he is considered as pending untill he connect and login to the site.
Many user register, receive an activation key and come back a few hours or day later to connect for the first time as site mebers.
That’s why you have 28 entries in the table and 22 on members directory. 6 entries have never connected.
You can follow such members via members admin, under pending list.
May 13, 2015 at 8:24 am #239024In reply to: Does BuddyPress works?
danbp
ParticipantYou need to install WP at first and make it work correctly before installing BuddyPress.
Refer to WP codex and follow install instruction. At this time, you have no BP installed, so come back once it is done and only if you have an issue.
Getting started is avaible on both codex, and the start begins with WP.
Have a nice day.
May 13, 2015 at 1:21 am #239018jkin
ParticipantHi Shanebp,
Thank you very much for your prompt reply.
The programer that helped me to setup the theme with buddypress/bbpress and userpro, from the Theme Dutch, told me that they use userpro’s register, hence, the ‘register’ and the ‘activate’ pages are not associated with the buddypress.
When I land http://www.enihongo.net/register/, it would jump to http://www.enihongo.net/profile/register (for userpro) now.
There is no ‘activate’ page now.May 12, 2015 at 11:39 pm #239014In reply to: Does BuddyPress works?
luketapis
ParticipantThanks,
I checked my cPanel and I can clearly see that WP is in the public_html.Click into the wordpress folder, rename wp-config-sample.com to wp-config.com
What is the purpose of this action??/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);So I suppose I don’t need to change my database information…?
Is that mean that I can use BuddyPress now?
-
AuthorSearch Results