Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 3,901 through 3,925 (of 32,690 total)
  • Author
    Search Results
  • #271805
    Venutius
    Moderator

    I think you should add this as a new feature request into BuddyPress Trac, I think it should be a core feature since you will want to for example send a message to all friends in category X, or send an activity update to just those friends. I think that functionality would need to be enabled in core.

    #271801
    Venutius
    Moderator

    If you are going to implement the visual editor for messages, you will need to overload the members/single/messages/compose.php file. You might like to use BP Template Overloader to help you manage your overloads

    #271797
    Venutius
    Moderator

    Most themes support BuddyPress these days, thanks to template compatibility in that the BuddyPress pages are displayed and work. What most BuddyPress theme’s mean when they say they support BuddyPress is that they have modified the BP theme files and/or css in order to provide BP specific features.

    There’s over 100 template files that can be overloaded, most BP specific themes do not touch the majority of these, they tend to concentrate on just the main pages such as the members and group list and profile pages to give them a theme specific feel. Much of this modification is simply to add their own specific css to allow better control of how a page looks.

    To make overloading of the template files easier I created a plugin called BP Template Overloader. This displays all of the files available for overloading, allows overloads to be set up and allows you to compare your overloaded file with the BP master file.

    #271789
    Venutius
    Moderator

    This kinda sounds more like an authentication problem that one with BP per se, but you say it only happens on the BuddyPress login, not the WordPress login? When you say “run it on a responsive sit” what do you mean?

    Brendan
    Participant

    Hey gang,

    I’m looking to build a switchable “What’s New” input box.

    Basically, I need to be able select from three options:
    Blog Post (Custom post type)
    Question and Answer (Forum Post, to specific Q/A Forum)
    A Tip (Another Custom Post Type)

    I’m thinking three buttons above or below the “What’s New” field that switches where the “What’s New” Field posts to.

    Using WordPress 4.9.5 and Buddypress 2.9.4, building a custom theme.

    #271778
    andyjay83
    Participant

    Wordpress 4.9.5, BuddyPress 2.9.4, BuddyBoss Theme, http://www.torus.drumsbygenre.com

    I am trying to hide all admin accounts from all BuddyPress touch points using this code found on the BuddyDev website:

    add_filter( ‘bp_after_has_members_parse_args’, ‘buddydev_exclude_users_by_role’ );

    function buddydev_exclude_users_by_role( $args ) {
    //do not exclude in admin
    if( is_admin() && ! defined( ‘DOING_AJAX’ ) ) {
    return $args;
    }

    $excluded = isset( $args[‘exclude’] )? $args[‘exclude’] : array();

    if( !is_array( $excluded ) ) {
    $excluded = explode(‘,’, $excluded );
    }

    $role = ‘administrator’;//change to the role to be excluded
    $user_ids = get_users( array( ‘role’ => $role ,’fields’=>’ID’) );

    $excluded = array_merge( $excluded, $user_ids );

    $args[‘exclude’] = $excluded;

    return $args;
    }

    This code seemed to have worked for a lot of people but isn’t currently working for me. I tried putting it into my child theme’s functions.php and also tried making a bp-custom.php file in my wp-content/plugins directory and that didn’t work either. I even refreshed cache and cookies after each of these attempts. Still nothing.

    I’m not advanced when it comes to this stuff. I know that I must be doing something wrong. Any help or guidance would be greatly appreciated.

    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/

    Venutius
    Moderator

    One issue that people see is Hotmail rejecting the default email address that WordPress uses, you can change this using CB Change Mail Sender, see if that fixes it.

    Paul Wong-Gibbs
    Keymaster

    Also clear WordPress object cache after manipulating the DB directly.

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

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

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

    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.

    #271689
    andyjay83
    Participant

    I’m using WordPress version 4.9.4, BuddyPress version 2.9.3 and my website is http://www.torus.drumsbygenre.com

    My issue is with the Buddypress messages. Whenever a user has one message in their inbox, it doesn’t show up. As soon as a user gets 2 or more messages, all of the messages suddenly appear.

    Any reason as to why this could be happening?

    Thank you for your time!

    #271682

    In reply to: report

    Scott Hartley
    Participant

    Try this plugin.

    BuddyPress Moderation

    #271681

    Topic: report

    in group forum Installing BuddyPress
    emmanuel1234
    Participant

    WordPress Version 4.9.4,BuddyPress version 2.9.3

    hello how can a user report another user to admin?

    #271674
    Venutius
    Moderator

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

    #271664
    emmanuel1234
    Participant

    WordPress Version 4.9.4,BuddyPress version 2.9.3

    hello can a user turn off there online status when they are online and using the site?

    #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?

    #271658
    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.

    #271653
    sniper4400
    Participant

    Hello,

    I meet 2 worry with buddypress:

    1) When a person clicks on “forgot password” an email and sent and arrives in the spam message in the form of SPAM
    2) When she click on the link sent by email to reset are password it sends her to the wordpress login page and does not ask her to change password or whatever

    Sorry google translation

    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/

    #271646
    edukedaventura
    Participant

    I installed by mistake buddypress in the subdomain http://madrid.agendaholistica.es

    I have deleted it and installed it in the main domain https://agendaholistica.es, but in the new installation it gives me the error The requested URL was not found on this server.

    It seems that the route of the first installation has been saved in cache and now I do not know how to solve it.

    I’m using WordPress 4.9.4 with the theme KleoVersion: 4.3.4
    By SeventhQueen. Multipurpose Premium WordPress Theme

Viewing 25 results - 3,901 through 3,925 (of 32,690 total)
Skip to toolbar