Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

  • Jaremilus
    Participant

    @jaremilus

    	define( 'BPLANG', 'pl_PL' );
    	if ( file_exists( get_template_directory() . '/languages' . '/buddypress-' . BPLANG . '.mo' ) ) {
    		load_textdomain( 'buddypress', get_template_directory() . '/languages' . '/buddypress-' . BPLANG . '.mo' );
    	}

    Jaremilus
    Participant

    @jaremilus

    good idea Hugo, thanks!


    Jaremilus
    Participant

    @jaremilus

    no, because i can’t edit only few of that (B group) req. fields when i logged as admin…

    my registration looks like this: https://buddypress.org/support/topic/how-to-create-register-form-with-selectbox-and-hidden-fields/ (here C group)


    Jaremilus
    Participant

    @jaremilus

    i disable it in file members/js/buddypress.js

    
    /*jq('#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select, #signup_form input:not(:submit), #signup_form textarea, #signup_form select').change( function() {*/ //line changed
    
    		jq('#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select').change( function() {
    		var shouldconfirm = true;
    
    		jq('#profile-edit-form input:submit, #signup_form input:submit').on( 'click', function() {
    			shouldconfirm = false;
    		});
    
    		window.onbeforeunload = function(e) {
    			if ( shouldconfirm ) {
    				return BP_DTheme.unsaved_changes;
    			}
    		};
    	});
    
Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar