Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 24,501 through 24,525 (of 94,569 total)
  • Author
    Search Results
  • OsamaNuman
    Participant

    Hello,

    I have been looking around the web to disable BuddyPress registration and enable WordPress registration and I have tried to add:

    remove_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’);
    add_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’ );

    in my (functions.php) and nothing happened and still the BP registration page opens. do i have to modify anything else ?

    Simon Bame
    Participant

    Hello,
    Wordpress Version – 3.9.1
    Buddypress Version – 2.0.1
    Website – http://www.britishparanormal.org.uk

    I run a website which lists event companies who some do public events and the other privates ones so I wish to split them into 2 groups – one group called “Public Events” & The other group called “Private Investigations”. I have created the groups correctly.

    However I wish to disable the activity stream for the groups and when you click on one of the groups above you get directed to the “members” list page for that group instead of home which shows the activity stream.

    Also I notice on the groups page the search is to search for the name of the groups however I wish to change this to search for the members name instead.

    Can this be done? I am not very good with php coding however am confident in inserting code into my child theme. I have a functions.php in my child theme and can create a bp-custom.php in the plugins directory but don’t know the coding.

    Hope someone can help me with the above, I will really appreciate it.

    Thank you,
    Simon Bampfylde

    danbp
    Participant

    Hi @marximusmg,
    BuddyPress Codex is your friend !

    Customizing Labels, Messages, and URLs

    MarximusMG
    Participant

    I know this seems to be a straightforward issue, but I can’t seem to change the text that reads “(required)” in the label for “Name” under “Profile Details” on the registration form.

    I have been editing /plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php, but I can’t find any instance of this label.

    Additionally, (since this is on the same note), I’m unable to change the header text “Create an Account” at the top of the form using this file.

    Any help is appreciated!

    ubiq00
    Participant

    (I’m posting again because the last post is too behind not solved.)

    All pages relates to BuddyPress (Activity, Members, Register, Activate…) don’t show anything.
    Only Activity Page(personal activity and settings) shows correctly.
    Sitewide activity stream shows only when it’s set as the Static Front Page.
    So, technically, BuddyPress does nothing…

    I’ve followed all the steps that’s shown in this site or others to install and test the plug-in.
    I’ve searched all over to possible issues on this.
    I’ve reinstalled WordPress more than 10 times.
    I’ve spent more than a week without any step ahead because of this.
    I’m thinking I have to give up if this post turns out a failure.
    Please help!

    WordPress 3.9.1 BuddyPress 2.0.1
    Default TwentyThirteen Theme without any plug-ins, WP clean installed.

    kypto
    Participant

    Hi,

    i have inclueded contact form (contact form 7 plugin) to every users profile page. now i need to get their profile information into the mail from the contact form. (displayed user from which profile the form was send)

    I was trying defined special tags for contact form 7, but it seems that it doesnt cooperate with buddypress. for exemple, when i define tag for currect login user it works

    add_filter( 'wpcf7_special_mail_tags', 'wpcf7_special_mail_tag_userdata', 10, 2 );
    
    function wpcf7_special_mail_tag_userdata( $output, $name ) {
    
    // For backwards compat.
    
    $name = preg_replace( '/^wpcf7\./', '_', $name );
    
    global $current_user;
    
    if ( 'user_login' == $name )
    $output = $current_user->user_login;
    
    return $output;
    }

    but when i want want to get the displayed user information like his name/email, it doesnt work …

    $output = $current_user->bp_displayed_user_fullname;

    or

    global $bp;
    return apply_filters( 'bp_displayed_user_fullname', isset( $bp->displayed_user->fullname ) ? $bp->displayed_user->fullname : '' );

    doesnt work either

    what am i doing wrong? or could you help with it somehow?

    #185728
    @mercime
    Participant
    NANOPASS
    Participant

    Hi danbp
    It Seems to me the answer to my question
    But, the problem is not resolved.
    I am very troubled!

    plugins/buddypress/bp-xprofile/bp-xprofiles-class.php(bp-xprofile-classes.php):1459

    
    	/**
    	 * Constructor for the datebox field type
    	 *
    	 * @since BuddyPress (2.0.0)
     	 */
    	public function __construct() {
    		parent::__construct();
    
    		$this->category = _x( 'Single Fields', 'xprofile field type category', 'buddypress' );
    		$this->name     = _x( 'Date Selector', 'xprofile field type', 'buddypress' );
    
    		$this->set_format( '/^\d{4}-\d{1,2}-\d{1,2} 00:00:00$/', 'replace' );  // "Y-m-d 00:00:00"
    		do_action( 'bp_xprofile_field_type_datebox', $this );
    	}
    
    	/**
    	 * Output the edit field HTML for this field type.
    	 *
    	 * Must be used inside the {@link bp_profile_fields()} template loop.
    	 *
    	 * @param array $raw_properties Optional key/value array of {@link http://dev.w3.org/html5/markup/input.html permitted attributes} that you want to add.
    	 * @since BuddyPress (2.0.0)
    	 */
    	public function edit_field_html( array $raw_properties = array() ) {
    		$user_id = bp_displayed_user_id();
    
    		// user_id is a special optional parameter that we pass to {@link bp_the_profile_field_options()}.
    		if ( isset( $raw_properties['user_id'] ) ) {
    			$user_id = (int) $raw_properties['user_id'];
    			unset( $raw_properties['user_id'] );
    		}
    
    		$year_html = $this->get_edit_field_html_elements( array_merge(
    			array(
    				'id'   => bp_get_the_profile_field_input_name() . '_year',
    				'name' => bp_get_the_profile_field_input_name() . '_year',
    			),
    			$raw_properties
    		) );
    
    		$month_html = $this->get_edit_field_html_elements( array_merge(
    			array(
    				'id'   => bp_get_the_profile_field_input_name() . '_month',
    				'name' => bp_get_the_profile_field_input_name() . '_month',
    			),
    			$raw_properties
    		) );
    

    Please tell me Where Do I change specifically.

    #185724
    JesperG
    Participant

    Hey sorry @mercime But thats not what im after! What i done is a map that will do a member search for a custom field So basically when someone press a state of my country they will do a search to only show members from that state. But i need a way to add my map into the buddypress member directory.

    I tried several documents but cant find the one changing things in the member directory. I thought it would be members/index file but that one doesn’t work changing

    #185720
    alex80ks
    Participant

    Read More problem solved
    here is pastebin
    on line 367 added .trigger('post-load') in file wp-content/plugins/buddypress/bp-themes/bp-default/_inc/global.js

    Im sorry i have made mistake. this last post linked to Load more problem is working when i add same trigger .trigger('post-load') to line 342 in wp-content/plugins/buddypress/bp-themes/bp-default/_inc/global.js

    Pastebin of Load more

    so you can test it by yourself and add if you want.
    Thank you

    #185717
    danbp
    Participant
    #185715

    In reply to: count & no-count !?!

    danbp
    Participant

    Hi @noyzen,

    if you only updated BuddyPress, it’s possible that the translation file contains an error.

    Check your .po file for any strings looking like this one

    https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-languages/buddypress.pot#L3464

    Example: Groups <span class=\"%s\">%s</span> or Members <span class=\"%s\">%s</span>
    If correctly translated, perhaps is something wrong in your theme or child theme or even a plugin.
    in this case, you should check the file indicated above the string to translate.
    %s is very important to stay in the translation and in the original file to get the count

    #185712
    aces
    Participant

    @jofri016

    You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.
    is in the current pot file ( see https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-languages/buddypress.pot#L6122 ) …..

    #185711
    Pamela
    Participant

    I have now added my own to functions.php which shows the correct counts but the links still don’t work and I have no idea why. When you click on them it always come up with page 1

    
    function members_pagination_count() {
    		echo get_members_pagination_count();
    	}
    	
    	function get_members_pagination_count() {
    		global $members_template;
    		global $count_of_excluded_members;
    		if ( empty( $members_template->type ) )
    			$members_template->type = '';
    		$page_arg = "upage";
    		$page_number = 1;
    		$per_page = 20;
    		$pag_page = !empty( $_REQUEST[$page_arg] ) ? intval( $_REQUEST[$page_arg] ) : (int) $page_number;
    		$pag_num  = !empty( $_REQUEST['num'] )   ? intval( $_REQUEST['num'] )   : (int) $per_page;
    		$start_num = intval( ( $pag_page - 1 ) * $pag_num ) + 1;
    		$from_num  = bp_core_number_format( $start_num );
    		$to_num    = bp_core_number_format( ( $start_num + ( $pag_num - 1 ) > ($members_template->total_member_count - $count_of_excluded_members) ) ? ($members_template->total_member_count - $count_of_excluded_members) : $start_num + ( $pag_num - 1 ) );		
    		$total     = bp_core_number_format( $members_template->total_member_count - $count_of_excluded_members );
    
    		if ( 'active' == $members_template->type )
    			$pag = sprintf( _n( 'Viewing member %1$s to %2$s (of %3$s active member)', 'Viewing member %1$s to %2$s (of %3$s active members)', $total, 'buddypress' ), $from_num, $to_num, $total );
    		else if ( 'popular' == $members_template->type )
    			$pag = sprintf( _n( 'Viewing member %1$s to %2$s (of %3$s member with friends)', 'Viewing member %1$s to %2$s (of %3$s members with friends)', $total, 'buddypress' ), $from_num, $to_num, $total );
    		else if ( 'online' == $members_template->type )
    			$pag = sprintf( _n( 'Viewing member %1$s to %2$s (of %3$s member online)', 'Viewing member %1$s to %2$s (of %3$s members online)', $total, 'buddypress' ), $from_num, $to_num, $total );
    		else
    			$pag = sprintf( _n( 'Viewing member %1$s to %2$s (of %3$s member)', 'Viewing member %1$s to %2$s (of %3$s members)', $total, 'buddypress' ), $from_num, $to_num, $total );
    
    		return apply_filters( 'members_pagination_count', $pag );
    	}
    	
    	function members_pagination_links() {
    		echo get_members_pagination_links();
    	}
    	
    	function get_members_pagination_links() {
    		global $members_template;
    		$page_arg = "upage";
    		$page_number = 1;
    		$per_page = 20;
    		$pag_page = !empty( $_REQUEST[$page_arg] ) ? intval( $_REQUEST[$page_arg] ) : (int) $page_number;
    		
    		$pag_num  = !empty( $_REQUEST['num'] )   ? intval( $_REQUEST['num'] )   : (int) $per_page;
    		$pag_links = paginate_links( array(
    				'base'      => add_query_arg( $page_arg, '%#%' ),
    				'format'    => '',
    				'total'     => ceil( ((int) $members_template->total_member_count - (int)$count_of_excluded_members) / (int) $pag_num ),
    				'current'   => (int) $pag_page,
    				'prev_text' => _x( '&larr;', 'Member pagination previous text', 'buddypress' ),
    				'next_text' => _x( '&rarr;', 'Member pagination next text', 'buddypress' ),
    				'mid_size'   => 1
    			) );
    
    		return apply_filters( 'get_members_pagination_links', $pag_links );
    	}
    

    This is the page

    http://www.ibsregister.com/members/

    They look OK and I haven’t seen any JavaScript errors

    jofri016
    Participant

    I’ve been sitting for 3 hours googeling how to do this without messing with the core files. Does anyone know a plugin, a code or anything that changes the text:

    CHECK YOUR EMAIL TO ACTIVATE YOUR ACCOUNT!
    You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.

    And no, this text is not in the PoEdit file. (As far as I could see).
    And yes, if you have a way to redirect after the registration button, I’m listening.

    Thanks in advance, this is driving me mad!

    PS I have the latest version of Buddypress and WordPress.

    #185709
    shanebp
    Moderator

    Try using the bp_pre_user_query_construct hook
    codex example

    #185702

    Topic: Fields

    in group forum Requests & Feedback
    rodonmanes
    Participant

    Hi,
    I´m using a dating theme where i´m using user fields to allow users to fill out their informations, i´m told that this is a Buddypress feature… any way, the multi select boxes are to small and the use CTRL to choose more than one option in the multi select box, can be somewhat confusing for users that aren´t good with computers. Can someone please make the multi select boxes as wide as the text is and if the user wants to check more than one option in the box, the user only needs to click more than one, not use CTRL.

    Hope this makes any sense to someone :-p

    #185691
    @mercime
    Participant

    @alex80ks feel free to post at pastebin.com and then post the generated URL here. Or create a ticket in BP’s https://buddypress.trac.wordpress.org/newticket using the same login info as you used here

    #185689
    grayson_marik
    Participant

    Unfortunately downgrading to PHP 5.4 is not an option, as I use some of the fancy PHP 5.5 syntax enhancements on other areas of the page.

    Seems like I’ll have to wait for either a major PHP update that solves this miracle or a BuddyPress update that does.

    Strange though, that the error is reproducible but untraceable … Ah well, maybe I am simply too bad as server admin 😉

    #185687
    lukewarmmizer
    Participant

    Curious if you had any more luck with this? I am having the same problem, but with CentOS 5.10, Nginx 1.6, and spawn-fcgi. The site will sometimes work, and sometimes not. Removing the buddypress folder from the plugins directory will cause the site to start loading again, but putting it back breaks it. The only errors are:

    /var/log/messages
    Jul 29 01:13:13 web1 kernel: php-cgi[4904]: segfault at 000000000000002c rip 00000000005bc7f8 rsp 00007fff8d7752f0 error 4

    /var/log/nginx/error.log
    2014/07/29 01:17:59 [error] 2474#0: *783 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.10.133.128, server: *.rovair.com, request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:53217", host: "www.example.com", referrer: "https://www.example.com/wp-admin/"

    SuyashGulati
    Participant

    registration for buddypress use to work well before i got to restore backup for some reason. now it does not work, page just reloads back. registration works without buddypress. now after searching i have found that renaming wordpress subdirectory to no capital letter solve problem. can any one guide me how to do that or even check that and can it cause any other problem?

    danbp
    Participant

    If you’re talking about the extended xprofile datebox field, the builder class BP_XProfile_Field_Type_Datebox of the xprofile datebox field is in bp-xprofiles-class.php:1459(bp 2.0.1)

    You can overwite this class with your own for reflecting your needs. The technique (add your own class to…) to use is explained on the Codex

    If you’re meaning another date, you have to be more precise !

    You’ll find also a global date setting in your wordpress admin.

    NANOPASS
    Participant

    How are we going to change the order of the date of the profile of the buddypress?

    danbp
    Participant

    Load more use the Heartbeat API who refresh the activities each 5 minutes.
    In BP 2.0.1, if you search for heartbeat, the result is:

    Search “heartbeat” (57 hits in 6 files)
    bp-activity/bp-activity-filters.php (25 hits)
    bp-activity/bp-activity-functions.php (5 hits)
    bp-core/admin/bp-core-settings.php (6 hits)
    bp-core/bp-core-admin.php (4 hits)
    bp-core/bp-core-options.php (9 hits)
    bp-templates/bp-legacy/js/buddypress.js (8 hits)

    Read the code if you understand it and see what you can do.
    If not or if you estimate that it is a bug or needs an enhancement, open a ticket.

    ljp007
    Participant

    I need help with the following BuddyPress install items for my WordPress site:

    1) Ensure that the BuddyPress installation is configured properly.

    2) Configure user registration to work like this: First, user fills out registration form. Two, upon form submission, an email is sent to the site admin notifying him of the user registration. Three, site admins access a page in WP-Admin (users in the Editors role need to be able to access this page) and approves the user registration. Four, upon approval, the user is auto emailed his login information (no activation confirmation is required) including username, password and a link to the login url and user can login.

    3) I would like all the BuddyPress pages to have the location of the /members/ directory (e.g. mysite.com/members/activity/)

    4) I need all the BuddyPress pages visible to registered members only (/members/ folder is to be accessed by approved users (step #2) only

    5) I purchased the BuddyBoss theme as I wanted to use this look and feel for the BuddyPress pages, however, I later was told that BuddyBoss does not integrate with an existing theme, which my site has and which I need to use. I do not want to use multi site. So, I need the BuddyPress pages styled like this BuddyBoss theme (but not using multi site and integrated into the existing site theme).

    If you could please let me know the estimate for the number of hours of work, your rate, and your track record of performing customizations like this in the past, I can make a selection for the job and would like to start asap.

    Thanks

Viewing 25 results - 24,501 through 24,525 (of 94,569 total)
Skip to toolbar