Search Results for 'buddypress'
-
AuthorSearch Results
-
October 25, 2016 at 8:06 pm #260336
In reply to: MySQL version required for BuddyPress?
Paul Wong-Gibbs
KeymasterYep, like @hnla said. BuddyPress’ DB requirements are the same as WordPress’.
October 25, 2016 at 8:04 pm #260335In reply to: BuddyPress Privacy for Messages
livingflame
Participanthttps://la.wordpress.org/plugins/buddypress-private-message-for-friends-only/
Okey, very very partial solution.
Really solution: BuddyDev Message Privacy BUT native!
October 25, 2016 at 7:55 pm #260331In reply to: BuddyPress Privacy for Messages
danbp
ParticipantAnd what is the problem ? It seems to do what it is intended for.
But it is a premium plugin. If you need assistance you have to ask on the plugin support.October 25, 2016 at 7:30 pm #260326danbp
ParticipantNot sure it’s a fix to apply directly in a core file. You’ve probably need to review some of your templates or custom functions.
http://hookr.io/plugins/buddypress/2.6.2/functions/bp_blogs_get_subdomain_base/
http://hookr.io/plugins/buddypress/2.6.2/functions/bp_signup_get_subdomain_base/
October 25, 2016 at 7:14 pm #260324In reply to: BuddyPress Style Modules – Members Display
Hugo Ashmore
Participant@venutius Thanks for the write up, hopefully in time the idea may gain traction, as for a handler for loading those snippets I did have one in use locally but code was rough and ready, so may consider re-doing and making available on github, originally the idea was to add a loader for the snippets to the core buddypress-functions.php file where the main stylesheets are loaded from.
For now all I can suggest I’m afraid is to play around with the min-height properties where they occur as it really is something that can never be a true one size fits all to create boxes unless we start adding JavaScript into the equation to test for the tallest box and set others to that.
October 25, 2016 at 7:13 pm #260323tse11
ParticipantI’ve resolved this and will leave a fix here in case anyone else runs into this issue:
bp_blogs_get_subdomain_base() is a deprecated function, so I changed it in buddypress/bp-blogs/bp-blogs-template.php from:
bp_blogs_get_subdomain_base()
to:
bp_signup_get_subdomain_base
October 25, 2016 at 6:18 pm #260319In reply to: Hide xProfile fields from EDIT
danbp
Participantwe’ve discussing about this “tab” issue on this ticket:
https://buddypress.trac.wordpress.org/ticket/7304I invite you to jump in if you have any comments. You might also find a solution for your use case.
October 25, 2016 at 5:45 pm #260318In reply to: MySQL version required for BuddyPress?
rcx
ParticipantPS: other config info:
WordPress v. 4.6.1.
BuddyPress v 2.7.0October 25, 2016 at 5:05 pm #260313In reply to: Change Default Members Profile Landing Tab
realmai
ParticipantCan anyone help me?
Many Thanks1. Which version of WordPress are you running?
ANS : WordPress : 4.6.12. Did you install WordPress as a directory or subdomain install?
ANS: as a directory3. If a directory install, is it in root or in a subdirectory?
ANS: in root6. Which version of BP are you running?
2.7.012. Do you have any custom functions in bp-custom.php?
Yes.
define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
2.5.1016. Is your server running Windows, or if Linux; Apache, nginx or something else?
Linux
October 25, 2016 at 5:03 pm #260312In reply to: Activities
danbp
ParticipantHi @mei-ling,
it’s not an issue but how it works ! 😉
You can filter the activity stream and remove the activities you don’t want to be showed.
Add this snippet to bp-custom.php or your child-theme functions.php
function bpex_bp_activity_types( $retval ) { if ( bp_is_active( 'activity' ) ) { // list of all BP activity types - remove or comment those you won't show. $retval['action'] = ' activity_comment, activity_update, // bbp_topic_create, // bbp_reply_create, friendship_created, created_group, joined_group, last_activity, new_avatar, new_blog_post, new_blog_comment, new_member, updated_profile '; return $retval; } } add_filter( 'bp_after_has_activities_parse_args', 'bpex_bp_activity_types' );You might also remove bbpress activities from the activity filter. You can use this (goes to same file as previous)
function bpex_remove_bbp_activities_dropdown_labels() { if ( bp_is_active( 'activity' ) ) { // Remove forum filters in site wide activity streams remove_action( 'bp_activity_filter_options', array( bbpress()->extend->buddypress->activity , 'activity_filter_options' ), 10 ); // Remove forum filters in single member activity streams remove_action( 'bp_member_activity_filter_options', array( bbpress()->extend->buddypress->activity , 'activity_filter_options' ), 10 ); // Remove forum filters in single group activity streams remove_action( 'bp_group_activity_filter_options', array( bbpress()->extend->buddypress->activity , 'activity_filter_options' ), 10 ); } } add_action( 'bp_init', 'bpex_remove_bbp_activities_dropdown_labels', 9 );Codex references:
October 25, 2016 at 4:58 pm #260311In reply to: Integrate Listify theme
jen000
ParticipantThanks to the member who got in touch recently offering to help. Unfortunately we had to give up on Buddypress and went ahead with WP Symposium. Not impressed with their support and we won’t use them again. If we have to use Listify and social networking again I will be back to Buddypress!
By the way if anyone is thinking of using WP Symposium I would say don’t bother. The software itself is ok but looks basic and there are no demo sites (only their own which is on a basic free theme with no other major plugins and probably on a dedicated server). We’ve had to move to a dedicated server as it was so slow and we had big problems getting it to work with other aspects of our site. The support forum is closed so you cant actually see other people’s responses which would save time. Instead you just have to deal with one stroppy support guy who blames your other plugins rather than helping to resolve issues. We had to spend a fortune getting glitches in the coding repaired. Never again!
October 25, 2016 at 3:53 pm #260309Topic: Activities
in forum How-to & TroubleshootingMei Ling
ParticipantHi there,
We run a site with Buddypress and BBpress. When a press topic or reply is edited, it appears on the activities page. How can we prevent this? Or is this a BBpress issue?
Thank you for your answer
regards
MeiLing
October 25, 2016 at 3:05 pm #260305In reply to: Showing Events Manager events in BuddyPress profile?
danbp
ParticipantHi,
seems it exist natively ?
If it is not what you want, ask on the WP-Events plugin support.October 25, 2016 at 3:04 pm #260304In reply to: Create group directory for different group types
Hugo Ashmore
ParticipantThis is the guide you need to read up on:
has_directory means that if you click on a BP generated link /groups/type/foo/ or type that as a url/create a link to, then you will see that as the url and the loop will now show only groups of type ‘foo’
Template hierarchy will allow you to create a file named in this manner:
index-directory-type-foo.php (file must be a complete one though including WP headers/footers and all parts in-between.)This will only be used if looking at those group types in the loop/url but you can now edit that and change as you require and only affect that group type loop directory display.
October 25, 2016 at 2:55 pm #260302In reply to: Create group directory for different group types
danbp
ParticipantHi,
read here, there is still a working example described.
Just forget about the filter option, the rest is ok.October 25, 2016 at 1:39 pm #260288In reply to: How to Count Custom Post Types in Nav Tabs?
Patrick
ParticipantMy code is the following and i got an error500 with your code. Did i forgot something to do i’m confused. No feedback from anyone if this solution worked or not?
function 3tmj_count_profile( $user_id = 0 ) { global $wpdb; if ( empty( $user_id ) ) $user_id = bp_displayed_user_id(); return $wpdb->get_var( "SELECT COUNT(ID) FROM $wpdb->posts WHERE post_author = $user_id AND post_type IN { 'wpcm_vehicle' } AND post_status = 'publish'" ); } function profile_tab_advertenties() { global $bp; $count = 3tmj_count_profile(); $class = ( 0 === $count ) ? 'no-count' : 'count'; $name = sprintf( __( 'My Posts <span class="%s">%s</span>', 'buddypress-meets-wp-car-manager' ), esc_attr( $class ), number_format_i18n( $count ) ); //$name = sprintf( __( 'Advertenties <span class="%s">%s</span>', 'buddypress-meets-wp-car-manager' ), esc_attr( $class ), number_format_i18n( $count ) ); //$name = 'Advertenties <span>' . count_user_posts( bp_displayed_user_id(), array( 'wpcm_vehicle', 'post' ) ) . '</span>'; bp_core_new_nav_item( array( 'name' => $name, 'slug' => __( 'advertenties', 'buddypress-meets-wp-car-manager' ), 'screen_function' => 'advertenties_screen', 'position' => 30, 'parent_url' => bp_displayed_user_domain() . __( '/advertenties/', 'buddypress-meets-wp-car-manager' ) , 'parent_slug' => $bp->profile->slug, 'default_subnav_slug' => __( 'advertenties', 'buddypress-meets-wp-car-manager' ), ) ); } add_action( 'bp_setup_nav', 'profile_tab_advertenties', 10);October 25, 2016 at 11:28 am #260284In reply to: BuddyPress Style Modules – Members Display
Venutius
ModeratorYep the issue is that if I change the padding then it changes it for all the blocks and so the issue remains unchanged.
I wrote a review of the BuddyPress Style Modules for my blog, lets hope others support this initiative.
http://buddyuser.com/installing-buddypress-style-modulesOctober 25, 2016 at 11:04 am #260281In reply to: How to remove spam registers?
Venutius
ModeratorThis page has my own suggestions to try to avoid spammers, this combo dramatically cut down on the number of spam registrations and those that get through I hold them in a queue with BP Registration options a ban then based on discrepencies in their registration information.
http://buddyuser.com/setting-up-wordpress-ready-for-buddypress
October 25, 2016 at 9:57 am #260279danbp
ParticipantHi,
1) there is a premium plugin by shanebp
2) you need to code it yourself. See
https://buddypress.org/support/topic/including-post-categories-in-the-activity-stream/
https://buddypress.org/support/topic/categories-and-tags-from-blog-post-in-the-activity-stream/October 25, 2016 at 9:38 am #260277In reply to: Hide xProfile fields from EDIT
danbp
ParticipantIt relate to this filter bp_get_profile_field_data
This example will hide tabs and fields to all except admin
function bpfr_hide_profile_field_group( $retval ) { if ( bp_is_active( 'xprofile' ) ) : // hide profile group/field to all except admin if ( !is_super_admin() ) { //exlude fields, separated by comma $retval['exclude_fields'] = '1'; //exlude groups, separated by comma $retval['exclude_groups'] = '3'; } return $retval; endif; } add_filter( 'bp_after_has_profile_parse_args', 'bpfr_hide_profile_field_group' );These tricks hide the tab content, not the tab itself. (it seems that it doesn’t work for groups at the moment…i asked devs for information) Use CSS display:none to hide the tab or consider this plugin.
October 25, 2016 at 8:48 am #260276In reply to: How to remove spam registers?
danbp
ParticipantOnce registered you have no other choice as to remove them manually.
To retain spammers, there many plugins and methods. Afaik none is the perfect solution and in many situation, you’ll need to use a mixed protection.There many topics on the forum about spam… Search them and make your opinion.
That said, you might follow some basics to harden WordPress, which is a good debut (table renaming, ban “admin” as username, etc). After that, a bunch of anti-spam plugins will calm down their activity on the site. (ban-hammer, buddypress honeypot, etc) Also keep in mind that you won’t probably never avoid spammers. But there is a big difference between 2 spam/day and 1000/per day. 😉October 25, 2016 at 8:34 am #260274In reply to: Plugin Language Translation
danbp
ParticipantHi,
try to add your po/mo files into wp-content/laguages/plugins/buddypress-user-blog/…mo, where /buddypress-user-blog should be the exact plugin name and …mo should be the right file name (something like abcd-en_UK.mo)
Check the plugin doc for the correct directory name and the correct file name to use. As it is a premium plugin, it is not possible to give you more information for this as we have no access to the code.
You might also ask for this on the plugin support.
October 25, 2016 at 8:27 am #260273In reply to: Creating users database with email ids and password
danbp
ParticipantAs site admin you can create new users and give same a low strength password. This is basic WP management. You already have a link for this part of the work.
If you have “hundreds” of friends to add it is of course a bit different – meaning it will not be done in 5mn. But it is not to me to tell you how to do this and where to find any knowledge document to achieve it. Codex are made for this – but sorry, i can’t sytematically lead any question asked on this forum to the appropriate page. My brain is not a codex summary ! Hope you understand. 😉You have to search on WP Codex and eventually on BP Codex. Essentially because of the phone number field, which is a custom field. You can do that with or without BP – and that’s why i said it’s not a BP question.
If you want to take the BP route, you might check the code from BP Default Data, to understand how this plugin insert fake content to BuddyPress.
October 25, 2016 at 7:51 am #260271In reply to: Creating users database with email ids and password
Krishnakumar K A
ParticipantHi, Thank you for the reply. Why do you think it’s not related to buddypress? I have few hundreds of friends. Can I create password like 1234 also using the above method? It would be much helpful if you can give me links to those knowledge base.
October 24, 2016 at 7:53 pm #260252In reply to: tickboxes in the registration box
Venutius
Moderator -
AuthorSearch Results