Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1,726 through 1,750 (of 2,427 total)
  • @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.

    @venutius

    Moderator

    Yes seems so, looks like I have an issue myself, seems to be either the browser or pc settings.

    @venutius

    Moderator

    Hi there,

    Looking around a standard BP install the option to take a photo does not exist, you can only upload a photo. Could that be a theme option?

    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.

    @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.

    @venutius

    Moderator

    Presumably you added this, since it’s not part of BP by default. Go to Dashboard>>Users>>Profile Fields and you should be able to delete it there. But make sure you don’t have any plugins relying on it being there. Same place for adding new fields.

    @venutius

    Moderator

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

    @venutius

    Moderator

    @venutius

    Moderator
    In reply to: turn off online status

    @venutius

    Moderator

    This plugin provides what you are looking for:

    BuddyPress Profile Visibility Manager

    In reply to: turn off online status

    @venutius

    Moderator

    What you could do is add this to your css:

    `span.activity {
    visibility: hidden;
    }

    @venutius

    Moderator

    this might be of interest:

    Navigation API

    @venutius

    Moderator

    I think that could be a question for your theme provider, bp does not come with icons, so I’m assuming your theme is already overloading the bp files

    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

    and if you put in text=”no” is will return a link with the username as the title

    @venutius

    Moderator

    Actually I was wrong, if you add text=”Profile Link” into the shortcode it will return as a link.

    @venutius

    Moderator

    I’ve been looking at that, it seems it’s not possible to use that shortcode and create a link with it from a wordpress post, I tried several ways and none delivered the required result.

    I’m trying to contact the plugin developer at the moment as I’ve written some extensions to this, I think creating a short code that returns a link to the user name would be quite simple, I could look at this later and let you know how I get on.

    @venutius

    Moderator

    Is that a shortcode from the BP Profile Shortcodes plugin?

    @venutius

    Moderator

    I think it’s doable, but with quite a bit of customisation. For example in the members loop you would need to overload this file and change it to include a field match check before displaying the members list in order to only display the right members to the user.

    @venutius

    Moderator

    I’m not sure this is easily possible in that the BP activity feed does not store the post categories, so it can’t by default filter on them. I think you’d have to write some custom code to gather post categories and execute a custom activity loop to search for posts in those categories that have activity.

    @venutius

    Moderator

    I’d suggest that there is another plugin that is causing this behaviour, have you tried disabling all other plugins to see if that works?

    @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/

    @venutius

    Moderator

    It’s not definite that this is the cause of the error, but that looks like sourcexpress.js needs to change on line 26. presumably sourcexpress is a third paty add in?

    @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.

    In reply to: Using header cover

    @venutius

    Moderator

    OK I’ve added the ability to display cover images to the shortcode. I’ve emailed the plugin author to see if they will accept my contribution.

    However, that does not give you exactly what you need: A fully formatted copy of that individuals profile header – integrating user name, cover image, avatar etc.

    For that I think a much bigger fork in the plugin would be required. However this gives you the components, you could create the layout that you need using css I reckon.

Viewing 25 replies - 1,726 through 1,750 (of 2,427 total)
Skip to toolbar