Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wp user activate'

Viewing 25 results - 276 through 300 (of 902 total)
  • Author
    Search Results
  • #228798

    In reply to: Display memberlist

    Henry Wright
    Moderator

    Hi @htown

    1. Will buddy press allow me to print out a list of members and customize it the way I’d like?

    BuddyPress may do. By default, BuddyPress provides a members directory which displays all active members (users that have activated their account). If you need more control over exactly which users are displayed then you’ll need to use the WP_User_Query class provided by WordPress.

    Ref: https://codex.wordpress.org/Class_Reference/WP_User_Query

    2. Will buddy press allow me to export users in a CSV file?

    I’m not sure this is do-able out-of-the-box. However, there may be plugins available in the WordPress Plugin Directory that can help.

    Hugo Ashmore
    Participant

    Beauty of forums are their archives, the question has arisen a few times:
    https://buddypress.org/support/topic/how-to-activate-existing-wp-users-as-bp-members-effectively/

    I needed a solution myself a few years back to activate imported users so ran a function up and uploaded to gist:
    https://github.com/hnla/force-show-bp-users

    Just updated it to reflect BP 2.0 changes to last activity to use ‘bp_update_user_last_activity()’ – it takes a slightly different approach in running only as admin and requiring that user runs the script by passing a get variable on the url ?action=force-active just to ensure script wasn’t run by accident or repeatedly also it checks and runs on a user id only if that user has no existing entry as I had existing users, I also didn’t want them all to have same time stamp so added in a delay on each iteration of the loop so each had a unique timestamp and just to allow breathing space between updates if loop particularly long.

    Updates to script are untested at this time.

    #225229
    danbp
    Participant

    hi @kristinrutten,

    have you imported users from an older wp site ?
    Are you hosted on wpengine ? (toc toc @hnla ? )

    Try to use the repair tool: dashboard > tools

    What about avatar settings ? dashboard > general > discussion

    About plugins
    buddypress toolbar was intended for 1.5/1.6/1.7 – outdated now.
    BuddyPress Members Import did you use it more as 1 time ?
    On a default install, WP and BP users are in the same table: wp_users
    In BP settings you can sync WP and BP users. Extended profile fields are stored in 4 other tables: _xprofile_somename
    And WP has is own import tools…
    IMO you can deactivate them.

    Deactivate all plugins, but BP and activate 2013 theme. At this stage the avatars should appear.

    #222362

    In reply to: wp-admin blank page

    giggio
    Participant

    Which setups? … WordPress is 4.0, BuddyPress is 2.1.1. The site is pokerspirit.net … When I try to enter in my wp-admin when BuddyPress plugin is active there is a message: “Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /users/user/public_html/wp-includes/widgets.php on line 720”. When BuddyPress plugin is deactivated wp-admin works.

    #220262
    danbp
    Participant

    Members are the heart of BuddyPress. When a user register on a BP activated site, this user is automatically a “member”.

    So i guess “they are not registering for the site, just the members area” is just impossible. Don’t know what you already did to get a “private” member area, but if you have an issue, it’s mostly because you did something wrong. 😉

    To confirm to readers what you already get to work:

    To modify the registration page, on which appears the login fields belonging to WP (user, username, email & password), BP adds his own additionnal fields, under condition you activated the xProfile component.

    By default, BP add only one field in the mandatory field group “Base”: NAME.

    When the admin add a new field, he can choose between different field status, and depending this status, you will see phrase such as “This field can be seen by: “.

    These settings are avaible in Dashboard > Users > Profile Fields

    #218865
    danbp
    Participant

    It’s probably because you’re using WP New User Approve which may not work with BuddyPress. See author comment and check the recent update changelog. BP problem seems not be solved yet.
    Deactivate the plugin and give a try.

    Or consider perhaps this plugin.

    #203197
    danbp
    Participant

    @msgliniewicz, @nexus66

    is not a feature to ask for and is already existing.


    @msgliniewicz
    , if you want to remove your theme login part, see your theme support or documentation first. Generally, this is made by creating a child theme, from where you can remove in a safe way the whole html concerning the login part.


    Reminder

    1. WordPress is the heart of your install. In any case.
    2. BuddyPress is only a plugin
    3. You can use any theme you want to get WP and BP showing

    Site login

    1. WordPress is the only one who manage logins and comes with a login widget.
    2. BuddyPress add xprofile (if enabled) to the WP login form. In other words, BP extend the WP login form and give you the ability to use it’s own login widget.
    3. Your theme can also come with a login widget.

    But there is only one login logic: username | password | login/logout | and sometimes additionnal tools like Remeber me and/or Forgot your password ?

    This means that you can use the WP login widget, or the BP login widget or your theme login widget. The only thing you have to do is to activate ONLY(preferably) one of these widget and to stay clear and logic with yourself.

    • If you use BP, choose preferably BuddyPress tools to show the plugin.
    • If you want to promote a mega super genius awesome responsive coffe delivering theme over anything else installed on your site, use the theme tools.

    In this case, remind to checkout any conflict possibility between such a theme and any of your plugins, even BP.

    #201151
    1a-spielwiese
    Participant

    Follow-up:

    7th:

    Capability Manager Enhanced to define custom user roles, if you’re not satisfied with the default wordpress roles (subscriber, contributor,…).
    The first step is to create your user roles

    https://buddypress.org/support/topic/resolved-different-profile-types-and-different-user-roles/

    As ready implied there: I did this – and it works so far.

    8th:

    Create a xprofile field (selectbox) with the title “User Role” and name the options “Band Role” and “Fan Role” – in my case. You can call them whatever you want. Place this field in the “base” profile group, otherwise it won’t be shown during registration. Also make the field “required”. In my case the user can’t decide, if the visibility of the field can be changed.

    I did it already, when I installed and activated ‘BP Profile Search’-plugin – and it works.

    However, to choosed a dropdown menu and the categories ‘team’ and ‘fan’.

    9th:

    I modified:

    ?php
    function custom_bp_core_signup_user($user_id) {
        $user_role = strtolower(xprofile_get_field_data('User Role', $user_id));
        switch($user_role) {
            case "Band Role":
                $new_role = 'band';
                break;
            case "Fan Role":
                $new_role = 'fan';
                break;
        }
        wp_update_user(array(
            'ID' => $user_id,
            'role' => $new_role
        ));
    }
    add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);

    into:

    function custom_bp_core_signup_user($user_id) {
        $user_role = strtolower(xprofile_get_field_data('Mitglieder-Kategorie (Team oder Fan?)', $user_id));
        switch($user_role) {
            case "Team":
                $new_role = team';
                break;
            case "Fan":
                $new_role = 'fan';
                break;
        }
        wp_update_user(array(
            'ID' => $user_id,
            'role' => $new_role
        ));
    }
    add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);

    (I omitted <?php, because I created not a new bp-costum.php, rather inserted the code into my yet existing bp-costum.php. I inserted the modified code above the line ?>.)

    I did not understand, which effect this insertion should have – but, however, – as far as I see – it causes no harm.

    Did anyone understood, for which purpose the above mentioned code is?

    10th:

    I inserted as well:

    //hide the user role select field in edit-screen to prevent changes after registration
    add_filter("xprofile_group_fields","bpdev_filter_profile_fields_by_usertype",10,2);
    function bpdev_filter_profile_fields_by_usertype($fields,$group_id){
    
    //only disable these fields on edit page
    if(!bp_is_profile_edit())
    return $fields;
    //please change it with the name of fields you don't want to allow editing
    $field_to_remove=array("User Role");
    $count=count($fields);
    $flds=array();
    for($i=0;$i<$count;$i++){
    if(in_array($fields[$i]->name,$field_to_remove))
    unset($fields[$i]);
    else
    $flds[]=$fields[$i];//doh, I did not remember a way to reset the index, so creating a new array
    }
    return $flds;
    }

    into my bp-costum.php – again above the line ?>.

    It does not work:

    — threre the user role is still changeable:

    http://kampfsportlerinnenneuwied.1a-spielwiese.de/wp-content/uploads/sites/2/2014/09/user_role_still_changeble.jpg

    http://1a-spielwiese.de/members/kampfsportlerinnenneuwied/profile/edit/group/1 causes an redirection error. – The redirection error disappears, when I’m not logged in as kampfsportlerinnenneuwied, rather as superadmin.

    #199351

    In reply to: Members List

    danbp
    Participant

    @tmc5005,

    wp+bp+bbp = 3 register possibilities, but only one register scenario. So it has no effect on from where the users registered. All are in the same table: wp_users.

    Now, what you can try, is:

    – activate (if not already done) profile syncing in BP settings
    – check permalinks settings and resave the page (even if you mane no change to it) – this will recalculate all site urls
    – using the repair tools. Dashboar > Tools and follow the instructions

    Henry Wright
    Moderator

    You can check that with bp_is_register_page(). Thinking about it, you’ll need logged out users to also have access to the activation page so that they can activate their account. You can use bp_is_activation_page() for that. So, the function becomes:

    function my_redirecter() {
        if ( ! is_user_logged_in() && ! bp_is_register_page() && ! bp_is_activation_page() ) {
            wp_redirect( home_url() . '/login/' );
            exit();
        }
    }
    add_action( 'init', 'my_redirecter' );
    #189030
    danbp
    Participant

    @sam01389
    Q. 4:
    BuddyPress wordings can easily be changed by using a language file, even if your site is in english.

    Customizing Labels, Messages, and URLs

    Q.2:
    When buddypress is activated with the xprofile component, the wordpress register form is not used, except for username, password and email part.
    xprofile let you extend this wp form. And if you need a bio field, you create multiline text field and call it Biography. So simple as that.

    Q.3
    https://wordpress.org/plugins/buddypress-followers/

    Q.1
    no comprendo ! What do you mean exactly ?

    Latest WP and BP maybe enough for a daily forum usage. But imagine people reading your topic in 6 mounth or in 2 years… Give the version number please. And give also the used theme type/name.

    #188841

    In reply to: Buddypress not Working

    Bucobill
    Participant

    OK. I have the same issue as quite a few users. I went to the themes area and activated Twenty Fourteen. It still doesn’t work. I changed to Anyone Can Register, still doesn’t work. Added an htaccess.txt file with the WP code found on the wordpress site. Overall I spent the better part of the day with issues. I cannot access the register page, it is using blurbble/register even though I set the Permalink to Postname like http://blurbble.com/index.php/sample-post/ . I uninstalled and reinstalled buddypress and still nothing. If any help could be given it would be appreciated.

    Jencina
    Participant

    Sorry, not all is well.

    I edit in my custom “register.php” , but I can’t see anything. This is the code of my register custom page:

    <?php 
    global $bp;
    if(empty($bp->signup->step))
    $bp->signup->step=’request-details’;
    ?>
    
    		<form action="” name=”signup_form” id=”signup_form” class=”standard-form” method=”post” enctype=”multipart/form-data”>
    
    		<?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?>
    			<?php do_action( 'template_notices' ); ?>
    			<?php do_action( 'bp_before_registration_disabled' ); ?>
    
    				<p><?php _e( 'User registration is currently not allowed.', 'buddypress' ); ?></p>
    
    			<?php do_action( 'bp_after_registration_disabled' ); ?>
    		<?php endif; // registration-disabled signup setp ?>
    
    		<?php if ( 'request-details' == bp_get_current_signup_step() ) : ?>
    
    			<?php do_action( 'template_notices' ); ?>
    
    			<p><?php _e( 'Registering for this site is easy. Just fill in the fields below, and we\'ll get a new account set up for you in no time.', 'buddypress' ); ?></p>
    
    			<?php do_action( 'bp_before_account_details_fields' ); ?>
    
    			<div class="register-section" id="basic-details-section">
    
    				<?php /***** Basic Account Details ******/ ?>
    
    				<h4><?php _e( 'PRUEBA', 'buddypress' ); ?></h4>
    
    				<label for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    				<?php do_action( 'bp_signup_username_errors' ); ?>
    				<input type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" />
    
    				<label for="signup_email"><?php _e( 'Email Address', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    				<?php do_action( 'bp_signup_email_errors' ); ?>
    				<input type="text" name="signup_email" id="signup_email" value="<?php bp_signup_email_value(); ?>" />
    
    				<label for="signup_password"><?php _e( 'Choose a Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    				<?php do_action( 'bp_signup_password_errors' ); ?>
    				<input type="password" name="signup_password" id="signup_password" value="" />
    
    				<label for="signup_password_confirm"><?php _e( 'Confirm Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    				<?php do_action( 'bp_signup_password_confirm_errors' ); ?>
    				<input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" />
    
    				<?php do_action( 'bp_account_details_fields' ); ?>
    
    			</div><!-- #basic-details-section -->
    
    			<?php do_action( 'bp_after_account_details_fields' ); ?>
    
    			<?php /***** Extra Profile Details ******/ ?>
    
    			<?php if ( bp_is_active( 'xprofile' ) ) : ?>
    
    				<?php do_action( 'bp_before_signup_profile_fields' ); ?>
    
    				<div class="register-section" id="profile-details-section">
    
    					<h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4>
    
    					<?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
    					<?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    
    					<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
    						<div class="editfield">
    
    							<?php
    							$field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
    							$field_type->edit_field_html();
    
    							do_action( 'bp_custom_profile_edit_fields_pre_visibility' );
    
    							if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
    								<p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
    									<?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a>
    								</p>
    
    								<div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
    									<fieldset>
    										<legend><?php _e( 'Who can see this field?', 'buddypress' ) ?></legend>
    
    										<?php bp_profile_visibility_radio_buttons() ?>
    
    									</fieldset>
    									<a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a>
    
    								</div>
    							<?php else : ?>
    								<p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
    									<?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?>
    								</p>
    							<?php endif ?>
    
    							<?php do_action( 'bp_custom_profile_edit_fields' ); ?>
    
    							<p class="description"><?php bp_the_profile_field_description(); ?></p>
    
    						</div>
    
    					<?php endwhile; ?>
    
    					<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" />
    
    					<?php endwhile; endif; endif; ?>
    
    					<?php do_action( 'bp_signup_profile_fields' ); ?>
    
    				</div><!-- #profile-details-section -->
    
    				<?php do_action( 'bp_after_signup_profile_fields' ); ?>
    
    			<?php endif; ?>
    
    			<?php if ( bp_get_blog_signup_allowed() ) : ?>
    
    				<?php do_action( 'bp_before_blog_details_fields' ); ?>
    
    				<?php /***** Blog Creation Details ******/ ?>
    
    				<div class="register-section" id="blog-details-section">
    
    					<h4><?php _e( 'Blog Details', 'buddypress' ); ?></h4>
    
    					<p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes, I\'d like to create a new site', 'buddypress' ); ?></p>
    
    					<div id="blog-details"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class="show"<?php endif; ?>>
    
    						<label for="signup_blog_url"><?php _e( 'Blog URL', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    						<?php do_action( 'bp_signup_blog_url_errors' ); ?>
    
    						<?php if ( is_subdomain_install() ) : ?>
    							http:// <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value(); ?>" /> .<?php bp_blogs_subdomain_base(); ?>
    						<?php else : ?>
    							<?php echo home_url( '/' ); ?> <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value(); ?>" />
    						<?php endif; ?>
    
    						<label for="signup_blog_title"><?php _e( 'Site Title', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    						<?php do_action( 'bp_signup_blog_title_errors' ); ?>
    						<input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" />
    
    						<span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?>:</span>
    						<?php do_action( 'bp_signup_blog_privacy_errors' ); ?>
    
    						<label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ); ?></label>
    						<label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label>
    
    						<?php do_action( 'bp_blog_details_fields' ); ?>
    
    					</div>
    
    				</div><!-- #blog-details-section -->
    
    				<?php do_action( 'bp_after_blog_details_fields' ); ?>
    
    			<?php endif; ?>
    
    			<?php do_action( 'bp_before_registration_submit_buttons' ); ?>
    
    			<div class="submit">
    				<input type="submit" name="signup_submit" id="signup_submit" value="<?php esc_attr_e( 'Complete Sign Up', 'buddypress' ); ?>" />
    			</div>
    
    			<?php do_action( 'bp_after_registration_submit_buttons' ); ?>
    
    			<?php wp_nonce_field( 'bp_new_signup' ); ?>
    
    		<?php endif; // request-details signup step ?>
    
    		<?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?>
    
    			<?php do_action( 'template_notices' ); ?>
    			<?php do_action( 'bp_before_registration_confirmed' ); ?>
    
    			<?php if ( bp_registration_needs_activation() ) : ?>
    				<p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ); ?></p>
    			<?php else : ?>
    				<p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p>
    			<?php endif; ?>
    
    			<?php do_action( 'bp_after_registration_confirmed' ); ?>
    
    		<?php endif; // completed-confirmation signup step ?>
    
    		<?php do_action( 'bp_custom_signup_steps' ); ?>
    
    		</form>
    
    	</div>
    
    	<?php do_action( 'bp_after_register_page' ); ?>
    
    </div><!-- #buddypress -->
    
    jf_trumpet
    Participant

    When all the plugins are disabled, the dashboard is 100% visible. It is only when we reactivate BP that this happens (with all the other plugins disabled).

    This leads us to believe it is not a WP issue but a BP one.

    This is also affecting coding on the front end of the site that users need for interaction.

    Thank you for your help….

    #187051
    1a-spielwiese
    Participant

    Your last answer I have seen right now. – I can’t answer in detail before tomorrow; I have to logout and to leave.

    Only short:

    “What is the /usage/ folder for?”

    Maybe for for statistics.

    “Most hoster have a root folder like htdocs or wwww.
    You install WP at the root. Eg. server root/wp-content, server root/wp-admin, etc”

    The highest level is not named. The wp-config.php and the .htaccess are on the highest level. The different WordPress-Folders constitute – together with the usage-folder – the second level.

    —–

    Before I did:

    — Again I started everything up form the beginning. Now it is impossible to delete the file
    .nfs00000000038a694400007603
    from the wp-admin/includes folder.

    — I delete and re-create the wordpress-database etc.

    — This time I removed NOT the www. from the general setting.

    — I inserted the indicated further lines to the wp-config.php and uploaded the .htaccess.

    — I can log in; and I have two dashboards now. I activate ‘Es können neue Seiten und Benutzer registriert werden.’ (New pages and users can be registered.)

    — I log out; check the registration page. It’s everything okay: The ‘weiter’ (next)-Button is there.

    — I log in. I installed and activated BuddyPress.

    — I de-activated ‘Extended Profiles’. I de-activated ‘Show the Toolbar for logged out users’.

    — I log out and check the register page. The submit-Button is missing again.

    However, on Friday I received the message from my provider: ‘Ich habe dir DNS Wildcard gesetzt und www entfernt.’ (I have set the Wildcard and www removed.’) –

    But of course this referred on the WordPress/Buddy-installation from Friday not from today.

    #186483
    onogbebor
    Participant

    Thanks bp-help

    I have installed WP and have installed/activated BP. I didn’t realize that WP and BP stored user information in MySQL that I can use too.

    I have went Settings -> General and checked anyone can register. I want to now create 2 unique register pages (one for users and one for vendors), how would I do that and would this info all be saved in the users table for WP?

    Sorry I’m new to MySQL and using the data.

    Thanks.

    #186358
    wp_maybe
    Participant

    I read another solution here

    1. Install and activate this plugin https://wordpress.org/plugins/wp-exec-php/

    2. Create a new page called “Friends” or whatever name you want and add it to your menu.

    3. In content of this page, add this code

    <meta http-equiv=”refresh” content=”0;URL=http://blabla.com/members/<?php global $current_user;
    get_currentuserinfo();

    echo sanitize_file_name($current_user->user_login). “”;

    ?>/activity/friends/”>

    4. You may still need a way to hide this menu from logged out users. Plugin https://wordpress.org/plugins/if-menu/

    #186017

    In reply to: Create new entrance

    danbp
    Participant

    New post or a page publication is made by WordPress, not by BuddyPress.
    The only pages BP needs are those created for each activated component. The content of these page is generated dynamically, depending of the context, and in fact, these pages are only intended for internal purpose, to fit with WordPress’s fonctionnalities.
    In a few words, BP is using the wp page system, but doesn’t use a page like WP.
    https://codex.wordpress.org/Pages

    So the question is how to allow your users to publish a blog post directly from the frontend.
    https://wordpress.org/plugins/front-end-publishing/

    For pages, it’s a bit more delicate.
    WordPress pages are generally used for displaying static content. That’s why publishing pages is under the responsability of the site owner and/or an editor, but not allowed (by default) for authors or contributors. Also, accessing to pages will need some menu adjustment.

    I wouldn’t recommend to let your authors handle pages.

    sillery4ever
    Participant

    WordPress 3.5.1
    Buddypress 2.0.1

    All my users are displayed in …wordpress/wp-admin/users.php before i activated BP.

    during BP is activated, …wordpress/wp-admin/users.php don’t display any user, the list is empty. I see only the title of the column (User/name/email/role/…) and the number of user by role. 0 line is display 🙁

    after i deactivated BP, all the data are correctly displayed as before i activate of BP !

    I don’t understand. I can’t continue to use BP if i can’t manage my user list.

    Somebody to help me ?

    TY

    Nano

    @mercime
    Participant

    all my users are in database, but i cant edit them by this page ….wordpress/wp-admin/users.php


    @sillery4ever
    Surprised. WP/BP versions? BuddyPress adds BP-specific admin panels and some filters, etc. only and doesn’t remove anything in wp-admin. So what happens when you deactivate BP, do the users show up again in wp-admin/users.php?

    #184278
    r-a-y
    Keymaster

    BuddyPress 2.0 runs two migration scripts:
    https://buddypress.trac.wordpress.org/browser/tags/2.0/bp-core/bp-core-update.php#L349

    One that moves the last activity entries from user meta to the BP activity table. This migration might be what is causing your site to stall. Do you have a large userbase?

    Second, a script is made to create a wp_signups table and move old unactivated signups to this new table. Do you have a lot of unactivated users?

    Your memory doesn’t appear to be hitting its limit, so it’s not a memory problem.

    You might want to do some Googling. Here’s a quick result that I came across:
    http://www.omh.cc/blog/2008/mar/6/fixing-apache-segmentation-faults-caused-php/

    Hope that helps. Would be great to figure out what is wrong.

    #182873
    mika89
    Participant

    Hi ! Thanks for your answer.

    Well, I’m a begginer in BP dev so I must have forgot something.
    BP is activated, but what do you mean by “Friends component enabled” ? If it means that users can have friends, yes it’s enabled.

    When you develop a plugin isn’t there issues of dependencies ? Like, shouldn’t I include some files ? I tried :

    require_once(ABSPATH . '/wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php');
    require_once(ABSPATH . '/wp-content/plugins/buddypress/bp-friends/bp-friends-classes.php');

    But everytime it tells me that an other function is undefined, so I don’t think it’s the right way to do it…

    #182554
    Diego de Oliveira
    Participant

    Ok, maybe I got the source of the problem. I use this code below to change the text from the e-mail with the activation code:

    
    <?php
     
    function bp_change_activation_mail_text( $message ) {
     
    //  Get some globals
    	global $bp, $wpdb;
     
      //  Get username from the signup form just posted
      $username = $bp->signup->username;
     
      //  SQL query to get activation key for that username
      $sql = 'select meta_value from wp_usermeta where meta_key="activation_key" and user_id in ( select ID from wp_users where user_login="' . $username . '" and user_status=2 )';
     
      //  Getting the activation key from the database
      $activation_key = $wpdb->get_var($sql);
     
      $activate_url = bp_get_activation_page() ."?key=$activation_key";
      $activate_url = esc_url( $activate_url );
     
      //  Custom message with activation key
      $message = "Obrigado por registrar-se no Espaço Tesla!\n\n Para completar a ativação de sua conta, por favor, clique no link abaixo:\n\n$activate_url\n\n";
     
      return $message;
     
    }
     
    add_filter( 'bp_core_signup_send_validation_email_message', 'bp_change_activation_mail_text' );
    

    Maybe there is something wrong with the query that could sometimes return an empty result? When I remove this filter, the default text is sent with the correct activation link.

    #182513
    Diego de Oliveira
    Participant

    Hi, folks,

    I’ve seen that this thing of activation e-mail is quite a headache for some people using BP. I’m currently having some trouble too. Most of the time, when a user creates an account on the site I’m working on, the e-mail with the activation link is sent ok. But for some users, the link on the e-mail comes without the key (something like http://www.site.com/activate/?key=), what results in the page asking a activation key. The problem is that I can’t reproduce the issue, but I received even a print screen from an user showing that the problem indeed exist.

    I’ve installed Unconfirmed plugin to check if there is users that are not confirmed, and there are a couple of users. I can see the activation key for every unconfirmed user. What can be causing this issue?

    I’m currently using Buddypress 1.8.1, bbPress 2.4.1, and for the themed login, I’m using Theme My Login 6.3.9. I’m using too WordPress Social Login 2.1.3 for give users a social login option. To style the e-mails, I’m using WP Better Emails 0.2.6.5.

    Thanks for any help!

    #181950
    OrlandoDS
    Participant

    Hey,

    I’m had the same problem and resolved the issue;

    Cause of the problem

    Wordpress database error Unknown column ‘signup_id’
    column: signup_id missing from database table wp_signups

    Solution

    create primary key column titled ‘signup_id’ by entering the following sql statement at the mysql prompt:

    ALTER TABLE 'database_name'.'wp_signups' ADD COLUMN 'signup_id' INT NOT NULL AUTO_INCREMENT;

    Problem History

    Error: Invalid Activation key
    Also, manage signups view is empty, but I have attempted to register multiple users

    system

    • LAMPP
    • WordPress Version 3.6.1

    Unsuccessful Resolutions:

    • activate 2012 theme
    • deactivated all plugins
    • deleted + reinstalled buddypress

    Known Database Issues:

    • the field user_activation_key is empty in table wp_users
    • the field activation_key is NOT empty in table wp_signups
    • column signup_id is missing from table wp_signups
    • there is no PK or FK column for table wp_signups

    apache error log

    Found some useful output from apache log file, which is what led my solution:

    [Wed Apr 23 20:58:19 2014] [error] [client xx.xx.xxx.xxx] WordPress database error Unknown column 'signup_id' in 'order clause' for query SELECT * FROM wp_signups WHERE active = 0 AND activation_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx' ORDER BY signup_id DESC LIMIT 0, 1 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), call_user_func_array, bp_template_redirect, do_action('bp_template_redirect'), call_user_func_array, bp_screens, do_action('bp_screens'), call_user_func_array, bp_core_screen_activation, bp_core_activate_signup, BP_Signup::get

    To the BP devs, I hope that’s enough to solve the problem at the application code level, instead of the database hack I used. I have a feeling the error might be due to using an old WP version, as the error appears to stem from the core WP files and not the BuddyPress files…

Viewing 25 results - 276 through 300 (of 902 total)
Skip to toolbar