Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,251 through 12,275 (of 68,930 total)
  • Author
    Search Results
  • #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.

    #242711

    In reply to: Authentication

    Henry Wright
    Moderator

    The third-party CMS users would need to be registered with BuddyPress (WordPress). Registration will allocate each person with an ID, username and so on. Without these, authentication won’t be possible.

    You’ll probably need to import existing users, and then going forward, each time someone registers with the third-party CMS, you’d need to automatically sign them up with BuddyPress (WordPress).

    #242710

    In reply to: I want to add Spanish!

    danbp
    Participant

    For the third time,

    you can add manually the language files in the wp-content/languages/plugins/ folder to get: wp-content/languages/plugins/buddypress-es_ES.mo

    In other words, you have to create a folder (carpeta) called “plugins” first and add it to /languages/.

    #242708
    danbp
    Participant

    Custom code goes to child-theme functions.php

    Customizing BuddyPress needs a certain level of competence with PHP and the inner workings of BuddyPress & WordPress.

    Please read https://codex.buddypress.org/developer/

    and see also https://codex.wordpress.org/Functions_File_Explained

    #242702
    @mercime
    Participant

    @jld142 Based on title of this topic, you only want to change the styling aka CSS. If that’s the case, you do not need to add any BP folders/files in your child theme. Just override the style in your theme’s style.css file or whatever stylesheet is enqueued in your premium theme.

    If however, you want to change the markup or functionality in some form or the other, then you’d have to look at https://buddypress.trac.wordpress.org/browser/tags/2.3.2/src/bp-core/bp-core-widgets.php#L22 and make the fix in your child theme’s functions.php – no need to copy over any BP folder.

    #242698
    djsteveb
    Participant

    @atfpodcast – this has been brought up in the support forums a few times – you could search the forums for “chat”
    For basic no frills chat room and bp I would start with the free “quick chat” plugin in the wp-repo – I use it on a couple of sites and it’s fine for most.. if you chat or and server gets busy you may want to move on to something that does not rely so much on using mysql.. I posted some info at the bottom of one of these following threads about that

    I would suggest perhaps starting here:
    https://buddypress.org/support/topic/chat-plugins-with-one-to-many-messaging/#post-241066

    https://buddypress.org/support/topic/chat-plugin-recommendations-2/

    Search the forums and you will find more discussions about these – I can only post two links in this reply so can’t be more specific with a single post.

    Your mileage may vary – but I have not had any good real world use with ‘comet chat’ nor ‘wpmu’s chat plugin’ – chat systems that are free almost always use your sql database for message storage and require a bunch of back and forth ajax like server requests – fine if you have less than 20 people chatting on a dedicated server – not so good when it gets to be more than that in my previous experiences – some of the other chat systems rely on third party servers – which puts you in a position of giving away all of your users data to others, dealing with the fact their servers are out of your control and may not work all the time – stuff like that..

    read the other convos for more details I guess..

    #242697
    zplitstonez
    Participant

    Hi Danbp,

    Thank you for helping me. However i don’t know what file should i edit and where should i insert the codes that’s being mentioned here:
    https://buddypress.org/support/topic/resolved-how-to-limit-the-input-of-a-profile-field-type-multiline-text-box/

    Cheers!

    #242688
    danbp
    Participant
    #242686

    In reply to: I want to add Spanish!

    danbp
    Participant

    Before saying it’s not working, please follow the instruction.
    Read my previous answer slowly and check the path i indicated.

    wp-content/languages/plugins/buddypress-es_ES.mo

    According to the screenshot, your site use the mexican version of WordPress.

    Unfortunatly, there is no mexican spanish translation avaible for BuddyPress !

    This force you to use spanish (es_ES and NOT es_MX) as site language to get automatically the es_ES BP translation.

    In other words, you can’t use mexican language on main site if you want BP in spanish.

    Translation can be found here: https://translate.wordpress.org/projects/buddypress/2.2.x

    #242675
    danbp
    Participant

    Which fields are you talking about exactly ?

    As stated by the author, Events Manager allows BuddyPress users to manage their events from the front-end your website. Aside from this, your users also can create group events and manage these together.

    Buddypress Setup

    #242674

    In reply to: I want to add Spanish!

    danbp
    Participant

    @alex42152,

    The main site language should be set to spanish first.
    See in WP dashboard > Stettings > General

    Normally, this settings allows automatic translation file upload of BuddyPress and bbPress (if installed).
    If not, you can add manually the language files in the wp-content/languages/plugins/ folder to get:

    wp-content/languages/plugins/buddypress-es_ES.mo
    wp-content/languages/plugins/buddypress-es_ES.po

    Each version of BP comes also with its own translatable strings file, which is at the BP plugin root.
    wp-content/plugins/buddypress/buddypress.pot

Viewing 25 results - 12,251 through 12,275 (of 68,930 total)
Skip to toolbar