Search Results for 'buddypress'
-
Search Results
-
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!
LeighHello,
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?
Topic: Custom Group Order
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 6Thanks
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

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,
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 thisTopic: Too many redirects
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/wordpressNot sure how I can solve this problem 🙁
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 membercode?
plugin?is there any plugin for manage user levels ,user roles , and access to content by role and member type?
please help me
regardsTopic: Changing Buddy Press colors
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
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.