Search Results for 'registration'
-
Search Results
-
Topic: Getting Registration Errors
Hi there. Is there anyway to get all of the registration errors that occurred so that I can echo them?
I am familiar with calling errors like this $bp->signup->errors[‘field_’ . $field_id], but is there any way that I can echo all the registration errors at once?
Hi,
We need to disable user account registration on the site, so only if a user purchases an event through Tickera plugin, they will be automatically granted user account.
Note (if of any importance): We have BuddyPress to WordPress profile syncing activated.
That would you suggest so we can implement this?
Big thanks!
Topic: Hide Registration Button
I’m using the Login widget to login to Buddypress site. Is there a way to hide the Register button? They only need to login. TYIA
Topic: Custom Registration Page
Hello everyone!
I am trying to make a checkbox before ‘Account Details’ on registration page.
Step 1.
Is there any way so that when user click continue, Rest of registration page loads through AJAX or something?:
Step 2.
More like step registration?
Here’s my code for step 1:
function tos_register() { ?> <input type="checkbox" name="tos" value="termsandconditions"> By clicking continue you are agreeing to the <a href="">Terms and Conditions.</a><br> <div class="submit"> <input type="submit" name="signup_continue" id="signup_continue" value="<?php esc_attr_e( 'Continue', 'buddypress' ); ?>" /> </div> <?php } add_action( 'register_form', 'tos_register' ); function tos_intial() {?> <div class="register-section" id="profile-details-section"> <?php do_action('register_form'); ?> </div> <?php } add_action('bp_before_account_details_fields', 'tos_intial',20);
I was able to code everything but I am not able to use break and continue in php with registration page. Maybe through Nonce? I shall be very grateful for your suggestions.
Looking forward for replies.
Thanks a lot!
Hello everyone!
I am trying to make a checkbox before ‘Account Details’ on registration page.
Step 1.
Is there any way so that when user click continue, Rest of registration page loads through AJAX or something?:
Step 2.
More like step registration?
Here’s my code for step 1:
function tos_register() { ?> <p><input type="checkbox" name="tos" value="termsandconditions"> By clicking continue you are agreeing to the <a href="">Terms and Conditions.</a><br></p> <div class="submit"> <input type="submit" name="signup_continue" id="signup_continue" value="<?php esc_attr_e( 'Continue', 'buddypress' ); ?>" /> </div> <?php } add_action( 'register_form', 'tos_register' ); function tos_intial() {?> <div class="register-section" id="profile-details-section"> <?php do_action('register_form'); ?> </div> <?php } add_action('bp_before_account_details_fields', 'tos_intial',20);
I was able to code everything but I am not able to use
break and continue
in php with registration page. Maybe through Nonce? I shall be very grateful for your suggestions.Looking forward for replies.
Thanks a lot!
Hello kindly tell me step by step how i use this plugin how i add registration form into my site through this plugin i install this bp registration option plugin and save general setting now tell me next what can i do after saving setti how registration page show on my site tell means
Hello, I was trying to find out if I can change the edit.php page template hierarchy. I basically want to completely start over on this page so it won’t have the sidebar or anything like that. I’ve looked all through the hierarchy documentation. I’ve already done it with the registration page, but I can’t find anything on this one.
Thank you.
Hi to all, we created a website and everything is fine till before open website test with closer people.. all the same. after filled all and click to submit button and 30*40 second waiting…
There is anybody knows why this is happen?
And note: we dont use buddypress messages and groups. thats why we deleted messages and groups database tables also. it can make any issue? or something else?
Just everything is work fine all website between 1-4 second running. but in registration form open page mininmum 4-5 second. submit form 30-40second. thats really strange and we have only 2 days. hope somebody can help quick!
Waiting your feedbacks. Thanks…
Topic: Connect 3 networks
Hello,
is it somehow possible to connect 3 different networks?
For example:
I have a network for region A, region B and region C.
They all register on an individual registration form and have there own community.Sometimes user of region A wants to chat to people from region B. Is this possible?
Thank you.
Hello, recently I have removed the activation link from activation e-mail template. I wanted to have website on which all users accounts are manually activated after registration. I have two question:
1. Is there any way to add custom e-mail situation and send the e-mail to user when its account has been activated?
2. Is there a way to enable e-mail notification to administrator, when new person registers? Now administrator receives an e-mail only when user account has been activated (so he need to remember to check “Manage sign-ups” tab from time to time).
BR
namruf15
Whenever I click update on a group – it gives me an error saying “you can’t remove all admins”
It has also added every member of the site to every group automatically. As admins, moderators and members. Users who were not actual members before this error still can’t access the group and are not shown as active in the group.
I believe learndash triggered the issue. I had the course set to open and it adds every member to the course that is in the community. I accidentally removed myself from a group that I was the only admin on it seemed to trigger some kind of role change with regards to groups.
Can anyone please help me as to how I would attempt to figure this out. Also – as new members join groups, the old members are no longer shown in the members list. Only the new ones. And on groups with no new members, it shows a list of every member in the site. The member counter shows the correct number in the front and back end.
If you have any ideas, or know someone that I can hire please get in touch with me ASAP! New registration opened today and I need to sort this out. Thanks!
Hi,
Does anyone have any ideas or thoughts on how hard it would be to add the functions of WP Security Question to the Settings section of a members page? This would allow a member to select a security question and answer when logged in. Then as admin I would set could add the question to the login, registration, and password reset forms.
This seems way beyond my capabilities but I’d like to know if could be accomplished by the average developer.
Thanks
Cathy
Topic: Clear WP Errors at Signup
Hi all,
I have customized the way Buddypress registers members by checking to see if the Display Name already exists. If a Display Name is found, I create a new WP error. The problem is, once the user changes their Display Name to something that isn’t found, the error persists when you get the success signup screen. I’ve tried manually clearing it, but not getting any results.
A few details:
Wordpress Version: 4.7.1
Buddypress Version: 2.7.4I’d like to keep my site anonymous if that’s ok.
Here is what I’ve done in the php files to achieve this:
buddypress\bp-members\classes\class-bp-signup.php
public static function add_backcompat( $user_login = '', $user_password = '', $user_email = '', $usermeta = array() ) { global $wpdb; $display_capture = sanitize_title($usermeta["field_1"]); //CUSTOM CODE $display_capture = ucfirst(strtolower($display_capture)); //CUSTOM CODE $user_id = wp_insert_user( array( 'user_login' => $user_login, 'user_pass' => $user_password, 'display_name' => $display_capture, //CUSTOM CODE 'user_email' => $user_email ) );
wordpress\wp-includes\user.php
function wp_insert_user( $userdata ) { global $wpdb; /* Lots of code before here... */ if ( empty( $userdata['display_name'] ) ) { if ( $update ) { $display_name = $user_login; } elseif ( $meta['first_name'] && $meta['last_name'] ) { /* translators: 1: first name, 2: last name */ $display_name = sprintf( _x( '%1$s %2$s', 'Display name based on first name and last name' ), $meta['first_name'], $meta['last_name'] ); } elseif ( $meta['first_name'] ) { $display_name = $meta['first_name']; } elseif ( $meta['last_name'] ) { $display_name = $meta['last_name']; } else { $display_name = $user_login; } } else { $display_name = $userdata['display_name']; } //CUSTOM CODE $display_name = ucfirst(strtolower($display_name)); $display_name_check = $wpdb->get_var( $wpdb->prepare("SELECT ID FROM $wpdb->users WHERE display_name = %s AND user_login != %s LIMIT 1" , $display_name, $user_login)); if($display_name_check) { return new WP_Error( 'existing_display_name', __( 'Sorry, that display name already exists!' ) ); } /* Lots of code after here... */ }
This successfully checks for the existence of a display name already in the database. It displays an error like it should and doesn’t allow the user to register. Now the only issue, how to clear the error when the user changes the display name to something not in the database?
As stated earlier, once the error occurs, it will persist through to the success message. I’ve confirmed that the error does not occur if the user selects a display name not currently being used on the first registration attempt.
I appreciate your time and help, thank you.
In my default registration page there are two forms: one of wordpress, and 1 of BuddyPress. I want to hide what BuddyPress, and I did, but as there is a “name mandatory field after have pressed the send button does not work because in fact lacks the coverage of this” name “field that I hid.
I will then delete the mandatory field “name” from the registration page, or at least make sure that it is not mandatory add. How can I do this? thanks