Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,326 through 12,350 (of 69,016 total)
  • Author
    Search Results
  • #242827
    @mercime
    Participant

    @naumanahmed19 Do provide us with more information so we can help you troubleshoot. What theme are you using? Have you checked if it is just a styling issue? What plugins are activated in your site? Have you checked whether deactivating plugins except BuddyPress resolves the issue?

    #242826
    djsteveb
    Participant

    I am a total noob with this stuff – a quick look with my limited tools and understanding of all things that make this stuff work…

    I THINK your rule here:

    .buddypress ul li {
        background: transparent none repeat scroll 0% 0%;
        padding: 0px;
    }

    Is over-writing the rule here:

    .main-nav li {
        white-space: nowrap;
        float: left;
        font: 12px "OpenSansBold";
        text-transform: uppercase;
        padding: 7px 20px 11px 0px;
        letter-spacing: -1px;
        text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3);
    }

    Which is what is being used on your home page.

    I think if you find the padding 0px on the .buddypress ul li line and change it to padding: 7px 20px 11px 0px; — that will fix your top nav current issue – now will that adversely affect some other ul li / menu or list somewhere (like a widget or something) – I don’t know.

    I am guessing that someone smarter then me can craft a rule that would work better and more specific.. something like
    .buddypress main-nav ul li

    padding: 7px 20px 11px 0px;
    }

    I have no idea if that would work – my understanding of css is like level 1 and bp is like level 1/2 – lol

    I also THINK that you have a weird triple css / child theme thing going on – again I don’t know, but looking at your css code rules in the firefox inspector, it looks like your pages are loading the exact same css file three times?

    I made a similar mistake with my first child theme – copying the whole shebang into a new child theme folder.. actually what you want is a relatively blank new folder and a relatively blank style.css that only includes rules you are going to overwrite / change from the parent theme.

    I don’t have access to your files or know the exact setup and may even be wrong in my understanding of what the firefox property inspector is showing – but you may want to look into why every rule appears to load the exact same three times and overwrites itself twice..

    hope this helps – not sure any of this is right..

    @mercime
    Participant

    @jrunfitpro What djsteveb said. Best place to ask is at the theme author’s forums. Saw their page with list of incompatible themes and plugins. BuddyPress has not been included in that list though no one has answered the question of one who asked if anyone has made it work with BP.

    #242819
    djsteveb
    Participant

    there are several wp plugins that can redirect a user upon login to specific pages.
    I can’t put more than two links in a reply without getting moderation held / akistmet spammed.

    not sure if / how this works – seen it – never played with it:
    https://wordpress.org/plugins/bp-my-home/

    might also take a peek if these can updated / adapted..
    https://wordpress.org/plugins/bp-profile-widgets/

    BuddyPress Cover
    Content Aware Sidebars

    several others – now do any of these work with the current version of wp / bp ? I don’t know.
    Do they work with the default theme and then cause issues if a different theme was used? don’t know.

    Do they cause conflicts with other plugins? have not tested.

    #242814
    jrunfitpro
    Participant

    Okay, so after some more testing, I’ve realized that Disqus does not work here (although it overwrites WP comments when on) and my theme is Optimize Press. Traditional blog posts and pages show in the activity stream when WP comments are used. However, for the better looking page templates, the comments do not show (these are built with their live editor).

    Any thoughts on how to make this type of page work with BuddyPress and the Activity Stream?

    froster2
    Participant

    Hi @danbp, I was able to filter the sitewide activity page to filter and show only “activity_update”. I am trying to achieve this in the personal member profile page. How can I display “activity_update” only for the personal member profile activity page e.g. buddypress.com/members/admin ?

    #242806
    crblanchard
    Participant

    I’ve been using Buddypress for months now with no issues, but just today I began having the same issue. I’ve been trying different ways to get around the problem for almost an hour now and haven’t found a thing.

    Shaktimaan
    Participant
    #242780
    Garrett Hyder
    Participant

    Posted Enhancement Request – https://buddypress.trac.wordpress.org/ticket/6575#ticket
    If you have any suggestions or changes @shanebp your input is appreciated.
    Thanks

    #242779
    Garrett Hyder
    Participant

    Thanks @shanebp,

    Sadly neither of these filters will allow me to modify the ‘(required)’ text itself which is what I’m looking for, I guess I’m a little off in my request encompassing the entire label text as you pointed out the field name is filterable it’s the required portion that is outside of it as you can see in the code snippet;

    <label for="<?php bp_the_profile_field_input_name(); ?>">
    	<?php bp_the_profile_field_name(); ?>
    	<?php if ( bp_get_the_profile_field_is_required() ) : ?>
    		<?php esc_html_e( '(required)', 'buddypress' ); ?>
    	<?php endif; ?>
    </label>

    And yes I realize I can replace it through the text-domain and a .po file, but I’d like to keep the (required) in the Buddypress Xprofile and target the inclusion of these fields specifically on the Woocommerce Checkout page where they’re included through the Buddypress for Woocommerce integration.

    I’ll open an enhancement request, thanks for pointing that out, and specify the targetting of the (required) portion of the label specifically.

    Appreciated,
    Cheers

    #242778
    shanebp
    Moderator

    Did you try using:
    apply_filters( 'bp_get_the_profile_field_name', $field->name );
    and / or
    apply_filters( 'bp_get_the_profile_field_is_required', (bool) $retval );
    from bp-xprofile\bp-xprofile-template.php ?

    You can open an enhancement ticket here.

    #242774
    vuko
    Participant

    maybe can help us this post:

    Making WordPress SEO plugin compatible with BuddyPress

    i stil have to read it, but i hope this is the right track.

    Thanks again

    #242772
    Henry Wright
    Moderator

    It’s unusual that BuddyPress isn’t working with a theme due to the Theme Compatibility that was introduced in 1.7. I suggest you open a support request with the theme author asking them to investigate why the theme isn’t working properly with BP. Most theme authors are happy to make their themes BP-compatible so hopefully you’ll get a response.

    #242748
    shanebp
    Moderator

    a little incontinence

    It might be a little inconvenient, but nothing that will require a diaper.

    It’s easy to add modified versions of these 2 files to a buddypress folder in your theme – then change or add a css class to the description.
    bp-templates\bp-legacy\buddypress\groups\groups-loop.php
    bp-templates\bp-legacy\buddypress\groups\single\group-header.php

    Info re template overloading:

    Theme Compatibility & Template Files

    #242744
    Pete Hudson
    Participant

    I opened a ticket at https://buddypress.trac.wordpress.org/ticket/6573

    Per @hnla “It’s due to recent changes to how media is handled in BP activity streams, the problem is the removal of image attr such as class tokens and the image name references the WP image size.”

    For some reason, I’m not able to comment on the ticket.

    Does anyone have any idea how to fix this? Is it going to be fixed on an upgrade?

    mycru.io
    Participant

    @djsteveb

    – I disabled buddypress-social-icons & mycred
    But it is still not working. Debug Log still shows this:
    (happening on a desktop computer). I checked: the media that was attached ends up in the media library, but why is it not showing in the activity feed ?

    [03-Aug-2015 21:40:49 UTC] PHP Notice: bp_core_get_notifications_for_user is deprecated since version 1.9! Use bp_notifications_get_notifications_for_user() instead. in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-includes/functions.php on line 3391
    [03-Aug-2015 21:40:50 UTC] PHP Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-includes/functions.php on line 3560
    [03-Aug-2015 21:40:51 UTC] PHP Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-includes/functions.php on line 3560

    #242741
    Henry Wright
    Moderator

    You can filter the title with the wp_title hook.

    You will need to set some conditions to be sure you’re filtering the title of the right page. See the Template Tags Reference for more info.

    djsteveb
    Participant

    @kawaiikawaii – does it work if you disable
    buddypress-social-icons
    mycred

    and any other plugins, along with switching to 2014 theme?

    Is this happening when using a desktop computer or a mobile device?

    My users have been telling me that rtmedia image uploads no longer make it to the activity stream or profiles when they try using an android device (tablet or cell) – this has been reported my several others at the rtcamp’s no-support-community-forums ( http://community.rtcamp.com/t/cant-upload-photos-using-android-devices/4892/8 )

    At this point I don’t know what the problem is – is it wp’s new security update thing that broke a lot of things?

    I’m still searching for answers – but this is a major problem and a reason I have been suggesting for years that BP has media uploads as part of core (most recently here – https://buddypress.org/support/topic/rtmedia-export-script-attachments-api/ )- and hopefully hooks into the new bp-attachments thing.

    Now if someone can code an export / import conversion to pull all the info from rtmedia into basic structured info that any theme or other plugin can call / style, etc – I’d love to axe the ridiculously bloated rtmedia BS.

    CraigM1970
    Participant

    So when I view the Activity in the backend I see an error:

    Warning: usort() expects parameter 1 to be array, string given in **********/wp-content/plugins/buddypress/bp-activity/bp-activity-akismet.php on line 652

    Should I disable Akismet?

    The links are enclosed in single quotes e.g. <a href=’http

    If I change it to <a href=”http

    then the problem is sorted. But new activity still has the links in single quotes.

    #242738
    djsteveb
    Participant

    @vuko – I don’t know where the code is, but there was a thread about 4months old – https://buddypress.org/support/topic/bussdypress-title-and-seo-yoast-problem/ – with SOME details – unfortunately I don’t think anything has changed much since then – although my fingers are crossed there will be more options with this in the future.

    Maybe something along the lines of this suggest – https://buddypress.org/support/topic/page-titles-meta-desc-option-like-wp-permalinks/

    perhaps others can chime in how to make that better, more flexible, and perhaps a plugin or something.

    mycru.io
    Participant

    I am using the latest wordpress and buddypress- with kleo from seventhqueen

    #242729
    Jld142
    Participant

    This is my current code:

    <?php
    
    /* Link parent CSS file */
    add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
    function enqueue_parent_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
    }
    
    /* Count number of user notifications */
    function cg_current_user_notification_count() {
        $notifications = bp_core_get_notifications_for_user(bp_loggedin_user_id(), 'object');
        $count = !empty($notifications) ? count($notifications) : 0;
     
        echo $count;
    }
    
    /* Remove register BuddyPress Widget creator */
    function remove_bp_core_register_widgets() {
        remove_action(bp_core_register_widgets());
    }
    add_action('init','remove_bp_core_register_widgets()');
    
    function new_bp_core_register_widgets() {
    	add_action('widgets_init', create_function('', 'return register_widget("new_BP_Core_Login_Widget");') );
    }
    add_action( 'bp_register_widgets', 'bp_core_register_widgets' );
    
    /* New BuddyPress Login Widget */
    class new_BP_Core_Login_Widget extends WP_Widget {
    
    	/**
    	 * Constructor method.
    	 */
    	public function __construct() {
    		parent::__construct(
    			false,
    			_x( '(BuddyPress) Log In', 'Title of the login widget', 'buddypress' ),
    			array(
    				'description' => __( 'Show a Log In form to logged-out visitors, and a Log Out link to those who are logged in.', 'buddypress' ),
    				'classname' => 'widget_bp_core_login_widget buddypress widget',
    			)
    		);
    	}
    
    	/**
    	 * Display the login widget.
    	 *
    	 * @see WP_Widget::widget() for description of parameters.
    	 *
    	 * @param array $args Widget arguments.
    	 * @param array $instance Widget settings, as saved by the user.
    	 */
    	public function widget( $args, $instance ) {
    		$title = isset( $instance['title'] ) ? $instance['title'] : '';
    
    		/**
    		 * Filters the title of the Login widget.
    		 *
    		 * @since BuddyPress (1.9.0)
    		 * @since BuddyPress (2.3.0) Added 'instance' and 'id_base' to arguments passed to filter.
    		 *
    		 * @param string $title    The widget title.
    		 * @param array  $instance The settings for the particular instance of the widget.
    		 * @param string $id_base  Root ID for all widgets of this type.
    		 */
    		$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
    
    		echo $args['before_widget'];
    
    		echo $args['before_title'] . esc_html( $title ) . $args['after_title']; ?>
    
    		<?php if ( is_user_logged_in() ) : ?>
    
    			<?php
    
     		 	/**
    		 	 * Fires before the display of widget content if logged in.
    		 	 *
    		 	 * @since BuddyPress (1.9.0)
    		 	 */
    			do_action( 'bp_before_login_widget_loggedin' ); ?>
    
    			<div class="bp-login-widget-user-avatar">
    				<a href="<?php echo bp_loggedin_user_domain(); ?>">
    					<?php bp_loggedin_user_avatar( 'type=thumb&width=50&height=50' ); ?>
    				</a>
    			</div>
    
    			<div class="bp-login-widget-user-links">
    				<div class="bp-login-widget-user-link"><?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?></div>
    				<p>TEST</p>
    				<div class="bp-login-widget-user-logout"><a class="logout" href="<?php echo wp_logout_url( bp_get_requested_url() ); ?>"><?php _e( 'Log Out', 'buddypress' ); ?></a></div>
    			</div>
    
    			<?php
    
    			/**
    		 	 * Fires after the display of widget content if logged in.
    		 	 *
    		 	 * @since BuddyPress (1.9.0)
    		 	 */
    			do_action( 'bp_after_login_widget_loggedin' ); ?>
    
    		<?php else : ?>
    
    			<?php
    
    			/**
    		 	 * Fires before the display of widget content if logged out.
    		 	 *
    		 	 * @since BuddyPress (1.9.0)
    		 	 */
    			do_action( 'bp_before_login_widget_loggedout' ); ?>
    
    			<form name="bp-login-form" id="bp-login-widget-form" class="standard-form" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post">
    				<label for="bp-login-widget-user-login"><?php _e( 'Username', 'buddypress' ); ?></label>
    				<input type="text" name="log" id="bp-login-widget-user-login" class="input" value="" />
    
    				<label for="bp-login-widget-user-pass"><?php _e( 'Password', 'buddypress' ); ?></label>
    				<input type="password" name="pwd" id="bp-login-widget-user-pass" class="input" value="" <?php bp_form_field_attributes( 'password' ) ?> />
    
    				<div class="forgetmenot"><label><input name="rememberme" type="checkbox" id="bp-login-widget-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ); ?></label></div>
    
    				<input type="submit" name="wp-submit" id="bp-login-widget-submit" value="<?php esc_attr_e( 'Log In', 'buddypress' ); ?>" />
    
    				<?php if ( bp_get_signup_allowed() ) : ?>
    
    					<span class="bp-login-widget-register-link"><?php printf( __( '<a href="%s" title="Register for a new account">Register</a>', 'buddypress' ), bp_get_signup_page() ); ?></span>
    
    				<?php endif; ?>
    
    			</form>
    
    			<?php
    
    			/**
    		 	 * Fires after the display of widget content if logged out.
    		 	 *
    		 	 * @since BuddyPress (1.9.0)
    		 	 */
    			do_action( 'bp_after_login_widget_loggedout' ); ?>
    
    		<?php endif;
    
    		echo $args['after_widget'];
    	}
    
    	/**
    	 * Update the login widget options.
    	 *
    	 * @param array $new_instance The new instance options.
    	 * @param array $old_instance The old instance options.
    	 * @return array $instance The parsed options to be saved.
    	 */
    	public function update( $new_instance, $old_instance ) {
    		$instance             = $old_instance;
    		$instance['title']    = isset( $new_instance['title'] ) ? strip_tags( $new_instance['title'] ) : '';
    
    		return $instance;
    	}
    
    	/**
    	 * Output the login widget options form.
    	 *
    	 * @param $instance Settings for this widget.
    	 */
    	public function form( $instance = array() ) {
    
    		$settings = wp_parse_args( $instance, array(
    			'title' => '',
    		) ); ?>
    
    		<p>
    			<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'buddypress' ); ?>
    			<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $settings['title'] ); ?>" /></label>
    		</p>
    
    		<?php
    	}
    }
    
    ?>

    I was trying to following the below guide to remove the function that initializes the login widget and then redirect it to my own new one:

    http://venutip.com/content/right-way-override-theme-functions

    Obviously hasn’t worked. Any ideas ?

    #242717

    In reply to: Authentication

    Henry Wright
    Moderator

    although I thought that I had seen somewhere in the forums that using an API to sign new members up was “a bad thing”. But I can’t remember why!

    The reason was likely related to user privacy. Perhaps incorporate something in the third-party CMS’s terms of use so that at least users will be made aware of what will happen. But, that’s a business decision you’ll need to make.

    Take a look here. You should be able to see how BuddyPress registers users by looking at the bp_core_screen_signup() function.

    Hope this helps 🙂

    #242716
    danbp
    Participant

    Nothing is impossible so far, but you’ve better to ask on Events Manager support first.

    The question is: can a user edit these fields on front when BP is not installed ?

    It depends also which kind of field. So far i know, EM allows users to make events submission. And the plugin comes with some specific BuddyPress templates. Perhaps you can add what you need to them. Ask the author how you can achieve that.

    #242713

    In reply to: Authentication

    computergenius
    Participant

    The other CMS is bespoke, so I know that it won’t be just plug and go.

    Automatically signing up makes sense… although I thought that I had seen somewhere in the forums that using an API to sign new members up was “a bad thing”. But I can’t remember why!

    Can you point me to where I should be adding a the member (in the code) – I am assuming that I need to create the member / user in WordPress, and allow BuddyPress to use that authentication. Or should I be adding the user in BuddyPress? As you can tell, I haven’t downloaded it yet, until I check if I can use it.

Viewing 25 results - 12,326 through 12,350 (of 69,016 total)
Skip to toolbar