Forum Replies Created
-
have them check their spam folder (and proper host config for sending email – maybe the host has trouble with users sending out spam)
buddypress rules for usernames
`
if ( !validate_username( $user_name ) || in_array( $user_name, (array)$illegal_names ) || $user_name != $maybe[0] )
$errors->add( ‘user_name’, __( ‘Only lowercase letters and numbers allowed’, ‘buddypress’ ) );if( strlen( $user_name ) < 4 )
$errors->add( ‘user_name’, __( ‘Username must be at least 4 characters’, ‘buddypress’ ) );if ( strpos( ‘ ‘ . $user_name, ‘_’ ) != false )
$errors->add( ‘user_name’, __( ‘Sorry, usernames may not contain the character “_”!’, ‘buddypress’ ) );/* Is the user_name all numeric? */
$match = array();
preg_match( ‘/[0-9]*/’, $user_name, $match );if ( $match[0] == $user_name )
$errors->add( ‘user_name’, __( ‘Sorry, usernames must have letters too!’, ‘buddypress’ ) );
`In reply to: What’s this image ?In reply to: problems with the feeds of buddypress.orgi believe it is something they are trying to work on/fix https://buddypress.org/community/groups/buddypress-org-ninjas/
the secondary avatar will try and pull something in for ‘groups’ : ‘blogs’ : ‘friends’ (or defaults to user) then uses the item_id/object to find an avatar setup otherwise the generic one is used.
have a look at the function `bp_get_activity_secondary_avatar` in bp-activity-templatetags.php
you can remove it via the filter bp_get_activity_secondary_avatar
or even better just remove this filter that is used in the functions.php
`remove_filter( ‘bp_get_activity_action_pre_meta’, ‘bp_dtheme_activity_secondary_avatars’, 10, 2 );`@rogercoathup – no idea… seems if a trac report is submitted the request is made if possible. (maybe not enough discussion is made in the ticket comments to counter – generally speaking for any enhancement)
some changes added to the avatars in the activity stream
https://trac.buddypress.org/ticket/2578though i don’t know if related to this problem… what notification? screenshot?
there was some changes in 1.2.6 to avatar sizes
https://trac.buddypress.org/ticket/2662maybe a few instances left out?
In reply to: Duplicate Add Friends Members Directoryi think its out of date for awhile now
In reply to: How to post in my forum ?maybe a theme issue? try using the dp-default as a baseline
update the db against 1.2.6 – found a bunch of missing hooks – up to 1,261 (give or take a few for dups or dynamics)
In reply to: After Upgrading to 1.2.6 Having Footer Issuesyou could copy the old function and add it to the theme’s function.php file (and probably let the theme author know about it)
In reply to: After Upgrading to 1.2.6 Having Footer Issuesi believe that function was removed in 1.2.6
https://trac.buddypress.org/ticket/2024In reply to: Duplicate Add Friends Members Directoryi don’t see this on a fresh install (bp-default theme) – possible theme conflict due to new button logic?
In reply to: Limit Group Creation to Admin@bionicclick what is out of date about it – if it works fine on the latest WP/BP? can you report the bugs to me? -> https://buddypress.org/community/groups/buddypress-restrict-group-creation/
In reply to: Sticky Updatepossible but would require some coding. there is a hook `bp_before_activity_loop` in the template before `if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) ) )` loop. one could call bp_has_activities again with a specific activity_id
will block all future entries
https://buddypress.org/community/groups/buddypress-block-activity-stream-types/
but you’ll need to remove the previous entries manually
In reply to: Where to edit bp_activity_content_body()?you can filter on bp_get_activity_content_body and/or bp_insert_activity_meta
In reply to: Filtering Content from the Activity Streamcould filter on groups_activity_new_forum_post_content but use the `$post_text` param as `$activity_content = bp_create_excerpt( $post_text );`
In reply to: Activity Stream Commenting on Blog/Forum Poststhe setting uses the wordpress function get_site_option/update_site_option – do all the other options reset to default as well?
In reply to: How to manually approve a new registration?looks like something is up with the wordpress.org servers – takes a few refreshes to get the file to download
In reply to: Adding Notificationsmaybe something in the codex, if not then dig around in the file bp-core/bp-core-notifications.php (then each component has instances when adding/removing the notifications)
In reply to: Image quality or compression of user avatarswordpresss but this filter can override the jpeg default (which is 90) `apply_filters( ‘jpeg_quality’, $jpeg_quality, ‘image_resize’ )`
In reply to: Signup/Activation“To disable sending activation emails you can user the filter ‘bp_core_signup_send_activation_key’ and return false.”
In reply to: How to manually approve a new registration?just wrote a plugin but for single wordpress only
https://wordpress.org/extend/plugins/buddypress-pending-activations/i think its a hybrid issue – if you update the user via wp-admin – that uses wp_insert_user (maybe the name is being changed or something to trigger the suffix increased that is used in wp instead of the buddypress front-end way)