Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 18,626 through 18,650 (of 94,540 total)
  • Author
    Search Results
  • CraigM1970
    Participant

    I have just upgraded to the latest versions of WordPress, Buddypress and bbPress and this has just started happening.

    Wordpress 4.2.3
    Buddypress 2.3.2.1
    bbPress 2.5.8

    This happens with the Twenty Twelve theme too. I’m not sure if it’s a bug or if I’ve done something wrong.

    In my Activity stream, but only sometimes, when someone @ mentions another on the forum, in the activity stream, following the @ mention a “/a” appears and the rest of the text is a link to that user. It’s the same on user pages when you view their activity.

    You can see here:

    http://www.thedoctorwhoforum.com/activity/

    It seems to happen on posts with a [Read more] link. The strange things is if you click [Read more] the problem disappears when the whole text loads.

    All activity renders fine in the CMS, and the actual posts in the forum are fine, it’s just the shortened versions in the Activity stream.

    I hope you have some advice. Or let me know if I should create a trac ticket.

    Craig

    froster2
    Participant

    Hi, I would like to have a notification when someone likes my activity. I’m currently using buddypress-wall by buddyboss. Please let me know how to achieve this. Thanks!

    froster2
    Participant

    Hi, I was able to filter the sitewide activity page to filter and how activity_update only. How can I do the same and display activity_update only for the personal member profile activity page e.g. buddypress.com/members/admin ? Please let me know what file and above what code to paste the solution to. Thanks in advance!

    Halo Diehard
    Participant

    I am getting a long string in my website’s tab, instead of the page name, that is present on several/all my BuddyPress profile pages, including messages. The string of text is:

    <br /> <b>Warning</b>: strstr(): Empty needle in <b>*****/wp-content/plugins/buddypress/bp-core/bp-core-filters.php</b> on line <b>781</b><br />[Page Name Here]

    I did a search using “buddypress” and this part of the code:

    <br /> <b>Warning</b>: strstr(): Empty needle in

    And a ton of WordPress with BuddyPress websites come up with page names that have the same code as the name of a page on their site.

    Any clues as to how I stop this would be appreciated – – thanks!

    WordPress version: 4.2.3
    BuddyPress version: 2.5.8
    Link to my site: http://www.halodiehards.net/
    Issue still occurs with WordPress theme Twenty Fourteen

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

    #242727
    jordan912003
    Participant

    How would I go about incorporating Ajax filters in the members loop based on XProfile Fields? For example, I know that some XProfile fields are just textboxes, but I’m more looking to make a filter out of dropdown boxes. If I have one of my filters to be Sport: and I have Football, Baseball, etc. each of those being an option in a XProfile dropdown box. The filter search must also take multiple criteria, i.e. multiple dropdown boxes.

    Thanks in advance.

    #242719
    vparkin77
    Participant

    Hi – I want to run competitions for my members. Maybe I’m being thick and not seeing some really obvious way of doing this but how can I run competitions for my members / run promotion competitions to encourage new sign-ups etc. There doesn’t seem to be any plugins to do this????

    Any ideas???

    fullmoonfriday
    Participant

    Hello,

    I am using the latest buddypress and wordpress. I have a number of Profile Group fields and would like to change from a Tab navigation to a Dropdown Select in the edit field.

    I am new to code but have found

    <?php if ( bp_profile_has_multiple_groups() ) : ?>
    <ul class=”button-nav”>

    I am guessing that changing the class will change the button (tab) type to a dropdown. I have no idea on what is required on this though. I want to do this in a few areas, but first of all in the edit profile area.

    Any help gratefully received.

    Thanks

    #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

    #242707
    computergenius
    Participant

    I can’t see this anywhere, so I assume that it is not possible – but I have a client who wants to use BuddyPress, and have members of his own CMS automatically logged in.

    He doesn’t want his members to have to log in a second time, after logging into to his own (non-WordPress) system.

    Is there a plug-in that will allow this?

    mycru.io
    Participant

    Hi since 2 days people can’t upload activity updates with attached media anymore.

    I found something in the debug.log. Someone an idea ? What does it mean ? Anyone else having this problem ? ( as admin I can upload btw)

    [03-Aug-2015 10:25:11 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 10:25:11 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 10:25:12 UTC] PHP Notice: Undefined variable: fbcj_members_extension_check in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-content/plugins/buddypress-social-icons/buddypress-social-icons.php on line 11
    [03-Aug-2015 10:25:12 UTC] PHP Notice: Undefined variable: fbcj_group_extension_check in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-content/plugins/buddypress-social-icons/buddypress-social-icons.php on line 28
    [03-Aug-2015 10:25:12 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 10:25:12 UTC] PHP Strict Standards: Declaration of myCRED_Notifications::after_general_settings() should be compatible with myCRED_Module::after_general_settings($mycred) in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-content/plugins/mycred-notice-plus/mycred-notice-plus.php on line 203
    [03-Aug-2015 10:25:13 UTC] PHP Notice: Undefined variable: fbcj_members_extension_check in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-content/plugins/buddypress-social-icons/buddypress-social-icons.php on line 11
    [03-Aug-2015 10:25:13 UTC] PHP Notice: Undefined variable: fbcj_group_extension_check in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-content/plugins/buddypress-social-icons/buddypress-social-icons.php on line 28
    [03-Aug-2015 10:25:13 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 10:25:13 UTC] PHP Strict Standards: Declaration of myCRED_Notifications::after_general_settings() should be compatible with myCRED_Module::after_general_settings($mycred) in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-content/plugins/mycred-notice-plus/mycred-notice-plus.php on line 203
    [03-Aug-2015 10:25:14 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

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

    nientepopcorn
    Participant

    Hallo,
    after upgrade to buddypress 2.3.2.1 member non-administrator are unable to change/upload profile avatar (http://www.mydomain.com/members/membername/profile/change-avatar/).

    Anyone can help me?

    Andrea

    #242689
    Jld142
    Participant

    Hello guys,

    I have been using WordPress for about 8 months now and have just started using child themes to allow updating my code a lot easier – previously i used to ‘hack’ the code and edit core files.

    I use the Avada theme and have successfully created a child theme. I am now looking to edit the BuddyPress Login Widget via the child themes functions.php file.

    I have been doing some reading on these forums and have seen people talking about adding BuddyPress folders within a child theme.. Can someone clear this up for me please ?

    #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

    amanavohra
    Participant

    Hi,

    I am trying to add to group activity stream and send a notification but its not working – Help pls
    Adding to group activity like this

    
    add_post_type_support( 'product', 'buddypress-activity' );
    
    function customize_page_tracking_args() {
    	// Check if the Activity component is active before using it.
    	if ( ! bp_is_active( 'activity' ) ) {
    		return;
    	}
    	
    	global $bp;
    	$gid = $bp->groups->current_group->id;
    	$group = new BP_Groups_Group($gid, true);
    	$user_id = get_current_user_id();
    	
    	
    	groups_record_activity( array(
    			'action'  => apply_filters( 'groups_activity_new_update_action', sprintf( __( '%1$s publicó una actualización en %2$s', 'buddypress'), bp_core_get_userlink( $user_id ), '<a href="' . bp_get_group_permalink( $group ) . '">' . esc_attr( bp_get_group_name( $group ) ) . '</a>' ) ),
    			'content'   => $content,
    			'type'    => $type,
    			'item_id' => $gid,
    			'user_id' => $user_id
    	)
    	);
    
    }
    add_action( 'save_post', 'customize_page_tracking_args', 1000 );
    

    Adding to notification like this

    
    bp_notifications_add_notification( array(
    		'user_id'           => $cid,
    		'item_id'           => $post_id,
    		
    ) );
    
    #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

Viewing 25 results - 18,626 through 18,650 (of 94,540 total)
Skip to toolbar