Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,076 through 7,100 (of 69,106 total)
  • Author
    Search Results
  • d d
    Participant

    I’m seeing the pattern now. Even in forums more than a decade old (and before @ mentions became a feature on many sites), people used @username even if it did nothing. This was simply shorthand for getting a specific person’s attention in a thread with many participants.

    Looks as though BuddyPress is trying to be smart and pull these @ mentions from old content and add them to the activity stream. Since it’s a new addition to the activity stream, BuddyPress also thinks it’s new and therefore sends out an email notification. This is why it only affects old members.

    Now… How do stop it?

    Stopping notifications across the board is not a good idea. Even if I do it now and turn it back on later, we’ll never know when an old member might join us again. So really the only solution is to have BuddyPress stop importing old forum posting with the ‘@’ character into a new activity.

    Still open to suggestions. Thanks.

    giulietta
    Participant

    Dear Forum,
    I’d like to disable the email confirmation from the old email address when a user change from setting menu its account email. I know it is dangerous but I really need it.
    If it is not possible for you to write for me the code, could you please at least give me some suggestions? What is the file I have to edit? I tried to do some edit to /plugins/buddypress/bp-settings/bp-settings-actions.php but I think it is not the right file. I tries also /plugins/buddypress/bp-settings/bp-settings-template.php but this control only the pending email confirmation alert (Check your email (%1$s) for the verification link, or cancel the pending change).
    Is there somenone who can help me?
    Thank you in advance!
    Giuly

    Paul Wong-Gibbs
    Keymaster

    Because the object cache caches query results from the database and if you modify the database – either directly or using WP’s DB APIs – you to clear it. Otherwise you’ll end up with inconsistent results.

    Using WP-CLI is probably easiest for this: https://developer.wordpress.org/cli/commands/cache/flush/

    If you don’t know enough to write these PHP commands yourself, using some shell scripting and the BuddyPress WP-CLI commands will probably be easier: https://github.com/buddypress/wp-cli-buddypress/

    #271765
    Venutius
    Moderator

    I’m pretty sure you can do this by creating your own translation of the BuddyPress pot file for the field (Required) which is on line 1455 of the pot file. for details of how to do this you could look at buddyuser dot com/changing-the-text-used-in-buddypress-and-other-plugins

    #271748
    trolinof
    Participant

    Hi all,
    I also have this problem. It is BuddyPress bug or?

    Thanks for help ๐Ÿ™‚

    Paul Wong-Gibbs
    Keymaster

    PHP error log files are another source of information.

    p.s. WordPress does not have a “birthday date” field by default. BuddyPress provides the “Extended Profile” screen. If some other plugin has added a field with that same name/heading, and BuddyPress causes it to disappear, then there’s probably some sort of code conflict you’d need to investigate.

    As I said above, PHP error logs are a good place to start figuring this. And venutius’ suggestion to use Query Monitor to see if the cause is a slow DB query.

    #271743
    Paul Wong-Gibbs
    Keymaster

    @johnnymarin Searching the BuddyPress code base for “Extended Profile” would have shown you the relevant WordPress action hooks to use are edit_user_profile and show_user_profile.

    Have a look at class BP_Members_Admin->profile_nav() for an implementation example. ๐Ÿ™‚

    Paul Wong-Gibbs
    Keymaster

    This was originally commented on an old post https://buddypress.org/support/topic/buddypress-ajaxpost-calls-very-slow-when-it-sends-emails/

    It’s tempting to draw conclusions about is_slow() from that other post but realistically that assumption needs testing.


    @kpkna
    I would like BP to send emails asynchronously in the future — I think the WordCamp website codebase has an approach we could adopt.

    I think you need to provide more information. There’s several links in the other post you wrote in, and some of those give clues as to what could be useful to know. I’m personally not planning to debug this now, because it might be SMTP-specific or server-specific, but collecting patterns and observations will help me or another contributor make this better in the future.

    It’d be interesting to know:

    * Where is your site hosted?
    * Is your server using SMTP?
    * Who are you sending emails *through*? Gmail?
    * Does your server support IPv6 for SMTP traffic?

    etc

    thanks

    #271733
    Venutius
    Moderator

    First thing to try is to recompile the BuddyPress emails in the Dashboard>>Tools>>BuddyPress page. If you’ve modified them though your changes will be lost.

    #271727
    Venutius
    Moderator

    I’ve got a vanilla install of BuddyPress and it allows the user to change the visibility, so in your case there must be something interfering with the operation of this.

    Options:
    1. unload all other plugins, see if you can change the profile visibility, if that fails change your theme to 2017 and try again.
    2. It’s possibly a javascript issue, check the js console in your browser for reported errors.

    #271721

    In reply to: Upload Failed

    Venutius
    Moderator

    Hi there,

    the directory that is attempting to be created should be uploads/buddypress/groups/5/cover-image/

    I usually get this error when I’ve hit a limit on my host and it won’t let me create a new one. Could you check your hosting limits have not bee breached?

    #271713
    Paul Wong-Gibbs
    Keymaster

    This is broken in Firefox. We have a fix and targeting it for the 3.0 release: https://buddypress.trac.wordpress.org/ticket/7676

    #271709
    Venutius
    Moderator

    I’m getting the same as you, or at least on mine it works better on Chrome than it does on Firefox. I think you should raise a trac ticket for it.

    #271706
    Harsh
    Participant

    I am using Boss theme. I think its a BuddyPress option, you can see this link

    #271703

    In reply to: Customize member loop

    Venutius
    Moderator

    I think you are really talking about new page, one that performs a search of the members profile fields and comes up with matches. If I were you, I’d look at using BP Match Me as a basis for this, or maybe BP Profile Search and then providing my own custom code to automate the search process.

    #271699
    David Cavins
    Keymaster

    You might also approach this with member types: https://codex.buddypress.org/developer/member-types/

    Venutius
    Moderator

    The following change will remove the What’s New area from the Activity page, it will still be visible in Groups and on the users profile activity page.

    You will need to set up a childtheme (there’s plenty of plugins that will do this for you).

    <?php
    /**
     * BuddyPress - Activity Post Form
     *
     * @package BuddyPress
     * @subpackage bp-legacy
     */
    
    ?>
    
    <form action="<?php bp_activity_post_form_action(); ?>" method="post" id="whats-new-form" name="whats-new-form">
    
    	<?php
    
    	/**
    	 * Fires before the activity post form.
    	 *
    	 * @since 1.2.0
    	 */
    	do_action( 'bp_before_activity_post_form' );
    	
    	if ( bp_is_my_profile() || bp_is_group() ) : ?>
    
    	<div id="whats-new-avatar">
    		<a href="<?php echo bp_loggedin_user_domain(); ?>">
    			<?php bp_loggedin_user_avatar( 'width=' . bp_core_avatar_thumb_width() . '&height=' . bp_core_avatar_thumb_height() ); ?>
    		</a>
    	</div>
    
    	<p class="activity-greeting"><?php if ( bp_is_group() )
    		printf( __( "What's new in %s, %s?", 'buddypress' ), bp_get_group_name(), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) );
    	else
    		printf( __( "What's new, %s?", 'buddypress' ), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) );
    	?></p>
    
    	<div id="whats-new-content">
    		<div id="whats-new-textarea">
    			<label for="whats-new" class="bp-screen-reader-text"><?php
    				/* translators: accessibility text */
    				_e( 'Post what\'s new', 'buddypress' );
    			?></label>
    			<textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10"
    				<?php if ( bp_is_group() ) : ?>data-suggestions-group-id="<?php echo esc_attr( (int) bp_get_current_group_id() ); ?>" <?php endif; ?>
    			><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif; ?></textarea>
    		</div>
    
    		<div id="whats-new-options">
    			<div id="whats-new-submit">
    				<input type="submit" name="aw-whats-new-submit" id="aw-whats-new-submit" value="<?php esc_attr_e( 'Post Update', 'buddypress' ); ?>" />
    			</div>
    
    			<?php if ( bp_is_active( 'groups' ) && !bp_is_my_profile() && !bp_is_group() ) : ?>
    
    				<div id="whats-new-post-in-box">
    
    					<?php _e( 'Post in', 'buddypress' ); ?>:
    
    					<label for="whats-new-post-in" class="bp-screen-reader-text"><?php
    						/* translators: accessibility text */
    						_e( 'Post in', 'buddypress' );
    					?></label>
    					<select id="whats-new-post-in" name="whats-new-post-in">
    						<option selected="selected" value="0"><?php _e( 'My Profile', 'buddypress' ); ?></option>
    
    						<?php if ( bp_has_groups( 'user_id=' . bp_loggedin_user_id() . '&type=alphabetical&max=100&per_page=100&populate_extras=0&update_meta_cache=0' ) ) :
    							while ( bp_groups() ) : bp_the_group(); ?>
    
    								<option value="<?php bp_group_id(); ?>"><?php bp_group_name(); ?></option>
    
    							<?php endwhile;
    						endif; ?>
    
    					</select>
    				</div>
    				<input type="hidden" id="whats-new-post-object" name="whats-new-post-object" value="groups" />
    
    			<?php elseif ( bp_is_group_activity() ) : ?>
    
    				<input type="hidden" id="whats-new-post-object" name="whats-new-post-object" value="groups" />
    				<input type="hidden" id="whats-new-post-in" name="whats-new-post-in" value="<?php bp_group_id(); ?>" />
    
    			<?php endif; ?>
    
    			<?php
    
    			/**
    			 * Fires at the end of the activity post form markup.
    			 *
    			 * @since 1.2.0
    			 */
    			do_action( 'bp_activity_post_form_options' ); ?>
    
    		</div><!-- #whats-new-options -->
    	</div><!-- #whats-new-content -->
    
    	<?php wp_nonce_field( 'post_update', '_wpnonce_post_update' ); ?>
    	<?php
    
    	/**
    	 * Fires after the activity post form.
    	 *
    	 * @since 1.2.0
    	 */
    	endif;
    	do_action( 'bp_after_activity_post_form' ); ?>
    
    </form><!-- #whats-new-form -->

    Just place this file content in your themes/child-theme/buddypress/activity/post-form.php file. Activity, replacing everything that’s in the current file.

    If you want an easier way to manage your template overloads you should look at BP Template Overloader, which will help you keep track. When you overload a theme page, you need to remember that you will have to take responsibility for keeping it up to date since any changes to the master file will no longer be loaded.

    #271692
    @mercime
    Participant

    @shakarum it would help us to help you if we knew more about your installation
    https://buddypress.org/support/topic/when-asking-for-support-2/

    #271674
    Venutius
    Moderator

    Yep this looks like it’s broken, I’ve raised a trac ticket for it here.

    Venutius
    Moderator
    #271668
    Venutius
    Moderator

    this might be of interest:

    Navigation API

    #271663

    In reply to: Forgotten Password

    Venutius
    Moderator

    Hi there,

    Regarding point 1) This could be to do with the source address that is being used for the emails WordPress is sending. it’s pretty old now but I use CB Change Mail Sender to set an appropriate mail sender address.

    Regarding point 2) I suggest this must be down to a plugin conflict or some other problem, as I can’t replicate your issue. have you tried it with just BuddyPress running?

    Venutius
    Moderator

    Have you looked at overloading your BuddyPress pages?

    This is the process of getting BuddyPress to load your costomised pages instead of the default pages. For example, the page that loads the “What’s new” section and post form is located in plugins/buddypress/bp-templates/bp-legacy/buddypress/activity.posts-form.php

    If you copy this file to themes/your-child-theme/buddypress/activity/posts-loop.php you can edit this file and remove the “What’s new” section. You would need to know php to do this.

    More information on overloading bp templates is located here: https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/

    A plugin that tries to make the management of your overloads easier is https://wordpress.org/plugins/bp-template-overloader/

    #271640
    Venutius
    Moderator

    What I’m doing at the moment is running a mobile specific theme, my main wordpress theme just does not scale down right. By running a theme switcher I’m able to have a mobile specific setup that works a lot better overall.

    Regarding mobile devices in particular the button styles used in the current BuddyPress template set is not ideal, I’m hoping this will improve with Nouveau. What I do on the mobile side is I tend to place all the main bp options in the main menu, which with my theme works pretty well.

    I think you have to be very careful with what features you offer on mobile, the bbPress forums for example don’t work that well, you can get the basic members pages to work, have chat, basic groups with activity feeds but trying to do much else gets very difficult with mobile.

    #271637

    In reply to: Using header cover

    Venutius
    Moderator

    I think what you are looking for is the ability to place a shortcode on a page, that displays the members header on a page of your choice for any given member id.

    There isn’t such a thing, however https://wordpress.org/plugins/buddypress-profile-shortcodes/ comes close in that it allows you to display most of the components of the members header on a page.

    BuddyPress Profile shortcodes is a pretty simple plugin, I think it should be possible to combine VapVarun’s contributed code with BP Profile Shortcodes in order to create a shortcode that does something similar to what you are looking for.

Viewing 25 results - 7,076 through 7,100 (of 69,106 total)
Skip to toolbar