Search Results for 'wordpress'
-
Search Results
-
I am trying to add extra fields into my registration form using the following code into the functions.php file in my child theme (One Social). The code should capture the data for woo commerce to use at the checkout.
//Adding Registration fields to the form
add_action( ‘register_form’, ‘adding_custom_registration_fields’ );
function adding_custom_registration_fields( ) {//lets make the field required so that i can show you how to validate it later;
$firstname = empty( $_POST[‘firstname’] ) ? ” : $_POST[‘firstname’];
$lastname = empty( $_POST[‘lastname’] ) ? ” : $_POST[‘lastname’];
?>
<div class=”form-row form-row-wide”>
<label for=”reg_firstname”><?php _e( ‘First Name’, ‘woocommerce’ ) ?><span class=”required”>*</span></label>
<input type=”text” class=”input-text” name=”firstname” id=”reg_firstname” size=”30″ value=”<?php echo esc_attr( $firstname ) ?>” />
</div>
<div class=”form-row form-row-wide”>
<label for=”reg_lastname”><?php _e( ‘Last Name’, ‘woocommerce’ ) ?><span class=”required”>*</span></label>
<input type=”text” class=”input-text” name=”lastname” id=”reg_lastname” size=”30″ value=”<?php echo esc_attr( $lastname ) ?>” />
</div><?php
}//Validation registration form after submission using the filter registration_errors
add_filter( ‘woocommerce_registration_errors’, ‘registration_errors_validation’ );/**
* @param WP_Error $reg_errors
*
* @return WP_Error
*/
function registration_errors_validation( $reg_errors ) {if ( empty( $_POST[‘firstname’] ) || empty( $_POST[‘lastname’] ) ) {
$reg_errors->add( ’empty required fields’, __( ‘Please fill in the required fields.’, ‘woocommerce’ ) );
}return $reg_errors;
}//Updating use meta after registration successful registration
add_action(‘woocommerce_created_customer’,’adding_extra_reg_fields’);function adding_extra_reg_fields($user_id) {
extract($_POST);
update_user_meta($user_id, ‘first_name’, $firstname);
update_user_meta($user_id, ‘last_name’, $lastname);
update_user_meta($user_id, ‘billing_first_name’, $firstname);
update_user_meta($user_id, ‘shipping_first_name’, $firstname);
update_user_meta($user_id, ‘billing_last_name’, $lastname);
update_user_meta($user_id, ‘shipping_last_name’, $lastname);
}The code works fine until Buddypress is activated. The it just reverts to the usual wordpress log in with only the profile fields that are shown in the “Profile Fields” tab on the wordpress dashboard.
I feel like I must be missing something obvious but it is driving me crazy! Any help would be enormously appreciated. Thanks!
I’ve ran into a small dilemma and please keep in mind, I am a novice to PHP and the such.
I am running WordPress 4.5.3 with BuddyPress 2.6.2 with a theme called Kleo 4.0.8. Site is located here: http://www.wecurecruiting.com/beta/
I have multiple member directories: Players, Coaches, Schools. And what I’m looking to do is figure out if there’s a way to setup multiple member pages?
When you go to Settings > BuddyPress > Pages you’re able to select which page is your Members pages that’s to be displayed (for example in your header). Currently, all pages are assigned, however, I would like to be able to have multiple pages be displayed with their corresponding directories. Is there a way to do this?
Hi,
Can know how you deal with incorrect password keyed as it drawn to the wordpress page.
And there is no lost password link to be selected for user.
Hi
can anyone please offer me some help? I just installed Buddypress for Learndash and now my WordPress isn’t working. The left menu bar is still there and is now showing ‘Activity’ and ’emails’ which weren’t there previously but nothing is working. No matter what I click on on the menus, Dashboard, Pages, anything, the screen is just blank. Anyone else had this problem? Or have any idea how I fix this? I can’t even see my plugins to try and uninstall it.Thanks in advance.
Hi,
I am running WordPress 4.5.3 and just upgraded from Buddypress 2.6.1.1 to 2.6.2 and that is when my problem started to show up. I was able to update my Extended profile fields with no problems but when i try to do that now i get this error “There was a problem updating some of your profile information. Please try again.” The change take effect but i get the message above. Also i created about 11 profile groups but when i checked extended profile for my users from the admin panel i found all the created profile groups plus one more group with no content to it called “Social” which i didn’t create and i can’t even find it under Profile fields tab.
Any ideas?!
Thanks in advance.
Topic: Change colors of fields

I tried many css codes mentioned in this support forum, but I don’t have what I need. I want to change the colors of the white fieds. Also add a border for the different fields. And finally modify the color of the text.
I also tried modifications in the CSS custom in APPEARANCE, but nothing works well. I hope you can help me with this problem. Thanks
Norman
Wordpress: Version 4.5.3
BuddyPress: Version 2.6.2
Theme: Ombre Version: 1.3Hi, I’m getting these errors for BP Remove Profile Links plugin and would like to know how to address, thanks
[Sat Aug 06 11:09:33.881878 2016] [:error] [pid 8371] [client 103.232.127.8:36983] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method bphelp_remove_profile_links::remove_xprofile_links() should not be called statically in /nas/content/live/sitename/wp-includes/plugin.php on line 525
[Sat Aug 06 11:09:36.259489 2016] [:error] [pid 19510] [client 103.232.127.8:36999] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method bphelp_remove_profile_links::remove_xprofile_links() should not be called statically in /nas/content/live/sitename/wp-includes/plugin.php on line 525, referer: http://sitename.wpengine.com/members/sitename/achievements/1. Which version of WordPress are you running?
4.5.32. Did you install WordPress as a directory or subdomain install?
directory
3. If a directory install, is it in root or in a subdirectory?
root
4. Did you upgrade from a previous version of WordPress? If so, from which version?
4.5.2
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
Y
6. Which version of BP are you running?
2.6.2
7. Did you upgraded from a previous version of BP? If so, from which version?
No
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
BadgeOS
Version 1.4.8.2 | By LearningTimes | View detailsBadgeOS Community Add-On
Version 1.2.3 | By Credly | View detailsbbPress
Version 2.5.10 | By The bbPress Community | View detailsBoss for Sensei
Version 1.0.9 | By BuddyBoss | Visit plugin siteBP Remove Profile Links
Version 1.2 | By @bphelp | Visit plugin siteBuddyBoss One Click Installer
Version 1.0.3 | By BuddyBoss | Visit plugin siteBuddyPress
Version 2.6.2 | By The BuddyPress Community | View detailsBuddyPress for Sensei
Version 1.1.1 | By BuddyBoss | View detailsBuddyPress Global Search
Version 1.1.4 | By BuddyBoss | View detailsPHP Compatibility Checker
Version 1.1.2 | By WP Engine | View detailsSensei
Version 1.9.6 | By WooThemes | View detailsSensei Course Participants
Version 1.1.3 | By WooThemes | View detailsSensei Media Attachments
Version 1.0.0 | By WooThemes | View detailsTemplatera
Version 1.1.11 | By WPBakery | Visit plugin siteWooCommerce
Version 2.6.4 | By WooThemes | View details | Docs | API Docs | Premium SupportWooCommerce Helper
Version 1.7.0 | By WooCommerce | Visit plugin siteWPBakery Visual Composer
Version 4.12 | By Michael M – WPBakery.com | Visit plugin site9. Are you using the standard WordPress theme or customized theme?
Boss.Version: 2.2.2
By BuddyBoss.com10. Have you modified the core files in any way?
no11. Do you have any custom functions in bp-custom.php?
no12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
Version 2.5.1013. Please provide a list of any errors in your server’s log files.
[Sat Aug 06 11:09:33.881878 2016] [:error] [pid 8371] [client 103.232.127.8:36983] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method bphelp_remove_profile_links::remove_xprofile_links() should not be called statically in /nas/content/live/sitename/wp-includes/plugin.php on line 525
[Sat Aug 06 11:09:36.259489 2016] [:error] [pid 19510] [client 103.232.127.8:36999] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method bphelp_remove_profile_links::remove_xprofile_links() should not be called statically in /nas/content/live/sitename/wp-includes/plugin.php on line 525, referer: http://sitename.wpengine.com/members/sitename/achievements/14. Which company provides your hosting?
WPEngineInitial details:
WordPress 4.5.3 running.
BP Press: Version 2.5.10.
WordPress as a directory, it in root.
I have custom functions in a child bp-custom.php.
I’m running bbPress (standalone), ersion 2.5.10.
NOTE: Everything all works great – just this doesn’t seem to…
______________________________________________Now, I’ve seen many of the ‘[Resolved] How to create a dynamic link to “my profile”‘ forums but I need it as an image-link (in page, so not a widget), to the user’s “my friends”.
My best guess was: having the url of the image being:-
http://taipeiexpats.org/members/MEMBER_NAME/friends/
and, having this code in my bp-custom.php (I’ve also tried my child theme functions):-
add_filter( ‘bp_core_enable_root_profiles’, ‘__return_true’ );
}
This would allow the MEMBER_NAME (I tried adding the %username% and etc…)
None of this works.
Any ideas upon what I got to do?
Hi, I’ve installed BuddyPress cover. When I look at my member profile , there is a problem with the design:

How can I solve this problem? I tried to find a setting in the plugins, but I don’t have any results. Thanks for your help
Norman
Wordpress version: 4.5.3
BuddyPress version: Version 2.6.2
BuddyPress cover: Version 2.1.4.2I am committed for an NGO project to implement (in an already existing website) the following functionalities:
New members:
1.would have a registration form for entering their complete profile;
2.will have a front-end dashboard; with the ability to edit their profile;
3.registration details would be fed into their profile and included in a general membership directory viewable to website visitors.
I am new to buddypress and I wonder if and how it is capable to do them; any tip is the welcome 🙂Running WordPress 4.5.3 (multisite), Kleo 4.0.8 theme.
Had been using Buddypress 2.5.3 (network activated). Upgrading to 2.6.2 resulted in white screen for main page; individual site’s admin page, etc. Same when using TwentySixteen theme.
I reviewed this Buddypress support thread re: a 2.6.0/Kleo problem (https://buddypress.org/support/topic/fatal-error-on-a-buddypress-2-6-0-upgrade/ ) and thought that it suggested that the referenced patch and subsequent releases would solve the problem, but alas.
Can you offer any guidance?