Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,051 through 8,075 (of 94,541 total)
  • Author
    Search Results
  • #275662
    leighjeffery
    Participant

    Hi,

    I’m wondering if anyone knows how to add the BuddyPress settings tab forms to the Woocommerce account menu?

    I’ve already added the menu link, I just can’t figure out how to hook in the form. I’d even settle for having it on its own page.

    Thanks for any help!
    Leigh

    #275661
    CyrRei88
    Participant

    Hello,

    No matter what type of image or quality I upload the header and profile image always looks blurry. It looks like BuddyPress somehow compresses the image. How can I fix this?

    #275660
    CyrRei88
    Participant

    Hey there,

    I have my BuddyPress all setup and ready to go. The only thing I couldn’t figure out yet is how to set a custom order for my groups? Currently the groups get organized by “Last Active”. How can I set a custom order such as this:

    Group 1
    Group 2
    Group 3
    Group 4
    Group 5
    Group 6

    Thanks

    #275659
    erik1988
    Participant

    Hi,
    I am trying to create a new custom field on a registration page. The field asks for a code from another application and then it checks if the code is registered in a SQL table. The problem is that if that the error message for this field is not formatted the same as for the standard fields.
    See this:
    https://ibb.co/b2oqkp
    image

    I passed the same error message to the username box for comparison. But as you can see the last field (acctivation code) does not format correct, and is not showing red.


    This is the code:

    	add_action( 'bp_account_details_fields', 'mcreg_registration_form' );
    	function mcreg_registration_form() {
    
    		$acctivationcode = ! empty( $_POST['signup_acctivation'] ) ? intval( $_POST['signup_acctivation'] ) : '';
    
    		?>
    		<div class="editfield signup_acctivation required-field visibility-public field_type_text" id="acctivation-field">
    			<label for="signup_acctivation"><?php _e( 'Acctivation code ', 'mcregister' ); ?><?php _e( '(required)', 'buddypress' ); ?><br/>
    			</label>
    			<?php
    				/**https://github.com/buddypress/BuddyPress/blob/42837dd8e6e7fa37b1356f7fca6c3d5cded9c164/src/bp-templates/bp-legacy/buddypress/members/register.php
    				 * Fires and displays any member registration acctivation code errors.
    				 * value="<?php echo esc_attr( $acctivationcode ); ?>"
    				 */
    				do_action( 'bp_signup_acctivation_errors' ); ?>
    				<input type="text"
    					   id="signup_acctivation"
    					   name="signup_acctivation"
    					   value="<?php echo esc_attr( $acctivationcode ); ?>"
    					   required
    				/>
    				</div>
    		<?php
    
    	}
    				
    	function mcreg_bp_registration_acctivation_validate( $errors ){
    		global $bp;
    		//$error_message_incorrect = __( 'Please check the Acctivation code. It\'s not correct.', 'buddypress' );
    		
    		$uuid = null;
    		if(!empty($_POST['signup_acctivation'])){
    			try {
    				$uuid = accode_to_uuid($_POST['signup_acctivation']);
    			} catch (Exception $e) {
    				//TODO: add database error message.
    				
    				$bp->signup->errors['signup_acctivation'] = __( 'Something went wrong when checking acctivation code', 'mcregister' );
    			}
    		}
    		if ($uuid==null ) {
    			$bp->signup->errors['signup_acctivation'] = __( 'Please check the Acctivation code. It\'s not correct.', 'mcregister' );
    			$bp->signup->errors['signup_username'] = __( 'Please check the Acctivation code. It\'s not correct.', 'mcregister' );
    			//$bp->signup->errors['signup_acctivation'] = $error_message_incorrect;
    			return;
    		}
    		$mcname = uuid_to_username($uuid);
    		if(!$mcname==false){
    			$_POST['signup_username'] = $mcname;
    		}
    		//TODO: find a way to store UUID
    		//$bp->signup->uuid = $uuid;;
    		return;
    	}
    //bp_signup_validate
    	add_action( 'bp_signup_pre_validate', 'mcreg_bp_registration_acctivation_validate' );
    	

    I would also like to store the return code (called UUID) in the user profile if the registration is successful so its great if someone know how I can do this.

    Last I would also like to hide the username (brukernavn) field as I will fill that problematically when I am doing the test, I am currently just overwriting it.

    Thanks,

    jenny26
    Participant

    In case anyone’s curious, I ended up changing the following in bp-core-avatars.php:

    	// If the uploaded image is smaller than the "full" dimensions, throw a warning.
    	if ( $avatar_attachment->is_too_small( $bp->avatar_admin->image->file ) ) {
    		bp_core_add_message( sprintf( __( 'You have selected an image that is smaller than recommended. For best results, upload a picture larger than %d x %d pixels.', 'buddypress' ), bp_core_avatar_full_width(), bp_core_avatar_full_height() ), 'error' );
    	}

    Changed to:

    	// If the uploaded image is smaller than the "full" dimensions, throw a warning.
    	if ( $avatar_attachment->is_too_small( $bp->avatar_admin->image->file ) ) {
    return false;	
    	}

    I realize changing anything in core files is a terrible idea, but no clue how to make it work otherwise. This basically doesn’t allow uploading any file under minimum dimensions.

    I’ve been trying the same thing in bp-custom.php:

    function check_avatar_upload() {
    global $bp;
    if ( $avatar_attachment->is_too_small( $bp->avatar_admin->image->file ) ) {
    	return false;
    }
    }
    add_action( 'bp_core_pre_avatar_handle_upload', 'check_avatar_upload', 10, 3 );

    When in bp-custom.php the above results in “HTTP error.” for all uploads. Changing the action to bp_core_avatar_handle_upload just uploads everything.

    Hopefully it helps someone at least a little bit.

    #275652

    In reply to: Too many redirects

    aergeragerg
    Participant

    I have the same problem. I can’t access anything BuddyPress related except the settings panel in the admin dashboard.

    narasimha369
    Participant

    Hi,
    Am new to wordpress, don’t have coding knowledge.
    I have created a wordpress website and i created some users, when user try to upload profile cover page the photo upload button not working, when i click on that button not responding.
    Can any one help me on this

    #275650
    ultramania
    Participant

    Hi, when I try to view notifications or settings page from profile or try to log out I get this error message:

    Too many redirects occurred trying to open “my webiste” This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.

    I’ve tried these things so far but had no luck.
    – remove/disable htaccess file
    – disable other plugins
    – delete and reinstall buddypress
    – clear cache and cookies
    – update plugins/wordpress

    Not sure how I can solve this problem 🙁

    shanebp
    Moderator

    Try using this hook bp_core_pre_avatar_handle_upload
    Found in buddypress\bp-core\bp-core-avatars.php

    hadi khodayari
    Participant

    hi
    how can i restrict access ( view ) of users to groups , forums , members and other buddypress and bbpress components and pages so that each user must only have access to the groups , forums , members and pages ,… in which he or she is a member

    code?
    plugin?

    is there any plugin for manage user levels ,user roles , and access to content by role and member type?

    please help me
    regards

    #275644
    Brian Cruikshank
    Participant

    Cool. Your fix doesn’t work for me because it’s a default install on a non modified theme with no other plugins active besides BuddyPress.

    r-a-y
    Keymaster

    Duplicate of https://buddypress.org/support/topic/private-message-button-not-working-right/

    Closing to avoid forking the discussion.

    #275632
    mustangsv83
    Participant

    Please if anybody can help me, i’ve managed to style most of my buddy press layout. but im stuck with two problems.

    1. in the sub nav area of ‘personal’ for ‘activities’ you have the ‘show’ activity drop down box.
    what css code can i use to style it. When i select it the drop down items are highlighted in blue and i need to change that color. i also have this problem for the members page, for the ‘last active’ drop down box.

    2. i’ve styled my buddy press buttons but the members page button was left out. i used this css:

    #buddypress .standard-form button,
    #buddypress a.button,
    #buddypress a.button,
    #buddypress input[type=”submit”],
    #buddypress input[type=”button”],
    #buddypress input[type=”reset”],
    #buddypress ul.button-nav li a,
    #buddypress ul.button-nav li.current a,
    #buddypress div.generic-button a,
    #buddypress .comment-reply-link {
    background: #000 !important;
    font-family: Oswald, sans-serif, Times, serif;
    border: 0;
    color: #000;
    outline: none;
    text-decoration: none;
    color: #fff;
    }
    #buddypress .standard-form button:hover,
    #buddypress a.button:hover,
    #buddypress a.button:focus,
    #buddypress input[type=”submit”]:hover,
    #buddypress input[type=”button”]:hover,
    #buddypress input[type=”reset”]:hover,
    #buddypress ul.button-nav li a:hover,
    #buddypress ul.button-nav li.current a,
    #buddypress div.generic-button a:hover,
    #buddypress .comment-reply-link:hover {
    font-family: Oswald, sans-serif, Times, serif;
    background: #000 !important;
    border: 0;
    color: #000;
    outline: none;
    text-decoration: none;
    color: #ffa200;
    }
    button:hover,
    input[type=”button”]:hover,
    input[type=”reset”]:hover,
    input[type=”submit”]:hover {
    opacity: 1.0;
    }

    What can i use to style the members button? if anyone can help me out. thanks in advance

    #275631

    In reply to: Message Replies Hook

    shanebp
    Moderator

    Perhaps it’s a hook priority issue – try using a number less than 10.

    Or… Did you try using messages_message_after_save ?
    Found in buddypress\bp-messages\classes\class-bp-messages-message.php

    #275626
    archaicguru
    Participant

    Thanks for posting, somehow I missed @frangdelsolar response so this reply is for both of your questions:

    Short & Simple.. ok yea – it worked, but was very limited and buggy

    We then hired 5 different programmers off upwork that swore they could make a custom calendar plugin better

    Then we looked into custom buddypress development costs. Wow – you could have built anything from scratch for those prices.

    The particular project I was the project manager but the funding ran out, but I sank a year of my life into it so I do still remember parts of that dilemma and the solutions that were in the works – if you wish to more – send me a msg

    I do have 20 years experience in the business and have a good idea of which plugins work well together and which ones waste your time. If you let me know what your site is about and how you need a calendar to be integrated, I’ll see if I can point you in the right direction

    #275623
    Miko Belludo
    Participant

    Hi,

    I have the same issue with BuddyPress version 3.0.0 and we’re using ActiveMember360 + BuddyPress for the members and I’ve tried debugging and found out the front end settings are working if ACmember360 Buddypress extension is turned off so I tried turning it off and the front end General Settings works.

    Is this supposed to be?

    Here are the steps I did:

    1. Copied membership site to a dev server for debugging and started checking the settings
    2. Tried deactivating plugins and the conflict is within BuddyPress and ACmember360
    3. Tried degrading the Buddypress plugin but still doesn’t work
    4. Found out the ACMember360 BuddyPress extension should be turned off for the front end user
    5. General Settings to work

    I don’t know tho what is the effect if we turn this off.

    #275620
    shanebp
    Moderator
    yusareba
    Participant

    I recently added buddypress to my wordpress site, and it’s fantastic!

    However, members that were previously registered to the site do not have links in the menu such as
    “Profile, Forums, Friends, Groups, Settings”

    Only newly registered users have those links.

    I should also note that the /members/ page doesn’t have the users, so I assume that their bp profile hasn’t been activated yet? How can I automatically activate all previous user accounts other than sending them an email (if that is what the problem is).

    Please let me know. Thank you.

    #275617
    shanebp
    Moderator

    As of BuddyPress 2.0, last_activity is no longer stored in usermeta.
    However, it is mirrored there for backward compatibility.
    Instead, refer to the _bp_activity table.

    My first reply included a link to code for insuring that all members have a ‘last_activity’ timestamp.
    Did you follow the directions and run the code?

    #275615
    r-a-y
    Keymaster

    This has already been reported as a bug here:
    https://buddypress.trac.wordpress.org/ticket/7894

    #275614
    seppolaatle112
    Participant

    I’m trying to find out how to get in contact with a moderator in the forums, as there is part of an old thread I really need edited here. I was the author of the post, but since the post is many years old there’s really not an option for that.

    The thread in q: https://buddypress.org/support/topic/2-questions-about-the-recent-blog-posts-widget/.

    The final part in the first post contains my full name, and I would really appreciate it if a modertor could remove the regards and my name part of that post.

    #275612

    In reply to: Description Groups

    Theunis Coetzee
    Participant

    @damon18 to be honest, I’m actually overriding the nouveau theme from inside my child theme, like you’d like to do. I just sort of simplified the solution initially shared on this post for everyone since not everyone edits their themes or creates custom child themes for their projects.

    So yes you’ve got the right idea but the correct file location would be

    /wp-content/themes/my-theme/buddypress/groups/single/cover-image-header.php

    so it’s without the /buddypress/bp-templates/bp-nouveau/ section.

    Hope that helps 🙂

    #275607
    r-a-y
    Keymaster

    See the following with a temporary fix:

    Removing Settings General tab redirect to Other Tab

    Closing this thread to avoid forking the discussion

    #275606
    shanebp
    Moderator

    Make sure all your members have a ‘last_activity’ timestamp.

    New users not showing on member page until they sign in

    If the issues persist, you need to do some basic debugging.
    Start by using a WP theme like 2017 and use the BP > Options > Template Pack > BuddyPress Legacy templates. If that clears up the issues, then you need to get a solution from BuddyBoss.

    If the issues persist, deactivate any other plugins.
    If the issues persist, there is a serious and unknown problem.
    Otherwise, activate the other plugins one at a time until you see an issue.

    #275605

    In reply to: Description Groups

    DL
    Participant

    @ipokkel I made the change directly in the Buddypress file

    /wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/groups/single/cover-image-header.php

    I wasn’t sure if the override system worked on this kind of thing, could I move that file (and any others that need modification) under my child theme like

    /wp-content/themes/my-theme/buddypress/bp-templates/bp-nouveau/buddypress/groups/single/cover-image-header.php

    I know that sort of over-ride works for theme files like page.php and single.php but does it work for everything?

Viewing 25 results - 8,051 through 8,075 (of 94,541 total)
Skip to toolbar