Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,751 through 5,775 (of 32,678 total)
  • Author
    Search Results
  • #258817

    In reply to: Activate Page

    Venutius
    Moderator

    What is the error you are getting?

    The user should get an email with and activation link

    By the way, this activation email sometimes ends up in the Spam bin on the users email, one fix to this is to set the outgoing email address used for this email using a plugin such as https://wordpress.org/plugins/cb-change-mail-sender/

    #258810
    danbp
    Participant

    Hi,

    the warnings cames probably because the logout function is called twice.
    Check your theme’s functions.php or see for a specific setting.

    Can you test the standard behave with a Twenty theme and BP, and all other plugins deactivated.
    Remove also the custom code while testing.

    If still an issue, consider this plugin. All is in the title, but it redirects to homepage on logout.

    #258803

    In reply to: How are Users managed?

    Venutius
    Moderator

    #1. You create a blank register page and then you go into the BP page settings and select that page to be used as the registration page, you also need to set wordpress settings to allow user registrations in settings>>General

    #2. They are adding details to your own DB

    #258801
    Venutius
    Moderator

    @danbp

    I inserted your code from here:

    https://buddypress.org/support/topic/error-404-page-not-found-3/

    However I am getting the following error:

    ct WordPress Logout to Home Page add_action( ‘wp_logout’, create_function( ”, ‘wp_redirect( home_url() ); exit();’ ) );
    Warning: Cannot modify header information – headers already sent by (output started at functions.php:87) in /homepages/14/d69811276/htdocs/clickandbuilds/BrigantesNation2147/wp-login.php on line 402

    Warning: Cannot modify header information – headers already sent by (output started at /functions.php:87) in /homepages/14/d69811276/htdocs/clickandbuilds/BrigantesNation2147/wp-login.php on line 415

    Would you have any idea why I am getting this error?

    #258797
    findlay70
    Participant

    Hi – just installed BP.Now I need to understand how users are managed. Help, please…
    1. I see a LOGIN button, but no “register” button – how do I add this? Assume I need to add a register page..?
    2. When users sign up are they a). adding their credentials to my WP database, or b). adding their credentials to the WordPress.org database..? The reason for asking is that for login I get a WP looking screen and not a theme login..

    Thanks for clearing this up…

    #258788
    jeremybivaud
    Participant

    Hi,

    I created first an extra filed called CV, let user upload his CV.
    And when I try to upload different files (PDF, images) from the front-end (logged in as a user),
    I got the message “Changes saved” but my file is not stored on the server and the path of the new file is not correct :
    /wordpress/wp-content/uploads/boardingPass-2016072807431691628792.pdf

    Should be something like :
    /wordpress/wp-content/uploads/profiles/$user_id/boardingPass-2016072807431691628792.pdf

    When I am doing the same using the WP Dashboard, it works fine.

    Does this issue could come from a plugin conflict ?
    How could I check that users are allowed to upload files from the front end ?
    Which php file in the core handle this upload functionality ?

    Thanks for your help.

    danbp
    Participant

    i checked the hebrew translation available on GlotPress. It seems to me it is correctly translated.

    Copy/pasting RTL strings doesn’t work here… anyway here what i get (href is LTR here – but is ok in poEdit)
    החשבון שלך הופעל בהצלחה! אתה עכשיו יכול <a href="%s">להתחבר</a> עם שם המשתמש והסיסמא שהכנסת כשנרשמת לאתר.

    #258772
    themichaelglenn
    Participant

    @r-a-y

    I found out what was causing the problem for me. I don’t know if the cause is the same for the OP.

    In forum settings, I had unchecked the “Forum Prefix” box (the one that prefixes all forum pages with the root slug “Forums.”) I also had the Search slug set to the default “search.”

    This left the forum search results “script” if you can call it that, pointing to domain.com/search – which I gather is the default search URL for WordPress and BuddyPress?

    Without BuddyPress installed, the forum search still worked, but with BuddyPress installed – nothing. And yet, it was NOT BuddyPress, it was my own lack of understanding. 🙁

    I hadn’t realized that the root search slug, without forums in front of it, would cause a problem. But I did some digging around in all this and discovered that both the twentysixteen theme, and BuddyPress, have pages called “search.php” – so naturally, domain.com/search would point to one of those scripts, and not to bbPress search results. (bbPress does not have a search.php page)

    Anwyay, when I check the Forums Prefix box, and search the forums, the results page loads at domain.com/<strong>forums</strong>/search and everything works perfectly.

    Unforunately I’m using a plugin for bbPress that changes the URL structure and requires me to leave the Forum Prefix box unchecked. But, I found a way around that too – in Forum Settings, I simply changed the search slug to search-results and again, everything works perfectly (and the URL for search-results is now domain.com/search-results which in no way conflicts with domain.com/search)

    I have to say, had you not mentioned the search slug in your response, it never would have occurred to me that it would be the cause of all my frustration. I’m glad to have this resolved, and hope that my explanation is enough that it will be able to help anyone else who might run into the same issue.

    EDIT

    I’ve also discovered that I can set the search slug to forums/search which effectively accomplished the same thing as leaving it on search whilst checking the Forum Prefix box. i.e. they both return the URL as domain.com/forums/search which may not be a huge deal, but it does seem to look prettier than any other URL…

    #258771
    r-a-y
    Keymaster
    #258768
    themichaelglenn
    Participant

    When I try and search the forums I get no results and returned to the home page

    I’m having this same problem and it is definitely an issue that is caused by BuddyPress. I’m using WordPress 4.6.1 with the TwentySixteen Theme, bbPress 2.5.10, and BuddyPress 2.6.2.

    When I deactivate all bbPress related plugins, the search still sends me back to the home page. When I deactivate BuddyPress – the search works exactly the way it’s supposed to.

    Is there a file in the BuddyPress theme that I can modify/remove/replace, that will correct this issue?

    #258755
    Venutius
    Moderator

    For #2 have you considered using one of the plugins that allow you to brand the WordPress login page?
    I use https://wordpress.org/plugins/erident-custom-login-and-dashboard/

    #258752
    ico33
    Participant

    Hi,

    i can’t understand how to solve this 3 questions. I am not expert, i’m not a programmer and I can’t use code.

    1) Logout: when a user logs out from a private page (message, for example) using the Buddypress-Access-Widget, it says “404 error page not found”. It’s obvious. How can i redirect the logout to the Home Page, solving the problem? Is there a solution without using code?

    2) Lost password: in Buddypress Access Widget you can Log-In and Register. No more. If you put a wrong password, the user is redirect to wp-login and this “loses” my site’s look, because it goes to a WordPress branded page. Is there a solution?

    #258742
    tizianopitisci
    Participant

    Thank you Henry, I’ve just made the following test:
    -no plugin exept Buddypress
    -defauolt wordpress theme “twenty fifteen”

    but we still have the issue. The point is that the message private as well as the notification area return a “not found page” message instead a “log-in required” message. I’m running the last buddypress version (italian located website).

    Is that a bug?

    #258735
    dsnic
    Participant

    I want all profile fields to be visible on my site, so I’ve set visibility for every field to Everyone on Users > Profile Fields. Now the subnav Settings > Profile Visibility is pretty much useless because there are no settings there that users can change.a

    So my question is: how can I hide or remove the subnav Settings > Profile Visibility?

    I’ve been trawling these forums and other sites on Google for hours, and I’ve tried out a couple of codes, but I couldn’t make this happen. I’d really appreciate it if someone could help me with a solution. Thank you so much in advance!

    WordPress: 4.6.1
    Buddypress: 2.6.2

    Maniou
    Participant

    Hello,

    I would like to disable new Blog Comments recording/tracking from buddypress to wordpress but i want to keep blog post tracking. That’s why i’m not using the option in Dashboard->BuddyPress->Component setup. This option enable/disable both new Blog Comments and Blog post tracking.

    In a previous version of wordpress this code was ok :

    remove_action( ‘comment_post’, ‘bp_blogs_record_comment’, 10, 2 );
    remove_action( ‘wp_set_comment_status’, ‘bp_blogs_manage_comment’, 10, 2 );

    But thoses action are now deprecated.

    Can you explain me how to do that with the last version of buddypress ?

    Thank you !

    #258716

    In reply to: Sitewide Messaging

    tizianopitisci
    Participant

    Personally I use “Mass Messaging in BuddyPress” ( https://wordpress.org/plugins/mass-messaging-in-buddypress/other_notes/ ), It works quite fine, and It has some more featured than “Mass Messaging for BuddyPress – by Alkaweb”

    #258715

    In reply to: Sitewide Messaging

    Antonio
    Participant

    I know this is an old post, but I hope this reply can help someone.

    There is a free plugin that allow to send Mass Messaging to all members of the site, and also to filter them, you can find it here: https://wordpress.org/plugins/mass-messaging-for-buddypress-by-alkaweb/

    Stacy (non coder)
    Participant

    Want to copy the style for Group Admins on the group page from wordpress Twenty Fifteen theme to my current theme since this area is fine on mobile with Twenty Fifteen.

    #258699
    SrGato29
    Participant

    Buddypress Versión 2.6.1.1
    Wordpress Version 4.5.4

    Is there a way to eliminate or block the followings pages ???

    domain/members/username/settings/notifications/
    domain/members/username/settings/capabilities/
    domain/members/username/settings

    Because it is very important that users cant enter to those pages

    SrGato29
    Participant

    Buddypress Versión 2.6.1.1
    Wordpress Version 4.5.4

    My problem is that when 2 users begin a conversation using the buddypress messages component, the email goes to theirs emails, but if they press reply instead of going to the website, they send the message to the administrator, so How I can stop the reply to the admin? or maybe a way to stop the emails outside the website, so that way the only way that they can communicate is with buddypress.

    Antonio
    Participant

    I created many custom notifications on my theme, such as notification on post comments, but after a post is commented and the notification is sent, the listing of posts and of other custom post types display a 404 page.

    This happens only on the listing page of posts, not on the single post pages.

    I really hope in an help.

    This is my code:

    add_action( 'bp_setup_globals', 'my_app_register_blog_notification' );
    
    /**
    * Register component
    */
    function my_app_register_blog_notification() {
    	// Register component manually into buddypress() singleton
    	buddypress()->my_app_blog = new stdClass;
    	// Add notification callback function
    	buddypress()->my_app_blog->notification_callback = 'my_app_blog_format_notifications';
    
    	// Now register components into active components array
    	buddypress()->active_components['my_app_blog'] = 1;
    }
    
    	
    
    /**
    * Format the notification content
    */
    function my_app_blog_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    
    	if ( ! ('my_app_blog_like' === $action || 'my_app_blog_comment' === $action)) {
    		return $action;
    	}
    
    	$post_title = get_the_title( $item_id );
    
    	if ('my_app_blog_comment' === $action) {
    		$custom_title = sprintf( esc_html__( 'New comment received', 'my_app' ), $post_title );
    		$custom_link  = get_permalink( $item_id );
    		if ( (int) $total_items > 1 ) {
    			$custom_text  = sprintf( esc_html__( 'You received "%1$s" new comments', 'my_app' ), $total_items );
    			$custom_link = bp_get_notifications_permalink();
    		} else {
    			$custom_text  = sprintf( esc_html__( 'Your post "%1$s" received a new comment', 'my_app' ), $post_title );
    		}
    
    	}
    
    	// WordPress Toolbar
    	if ( 'string' === $format ) {
    		$message = (!empty($custom_link)) ? '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>' : $custom_text;
    		$return = apply_filters( 'my_app_wiki_like_format', $message, $custom_text, $custom_link );
    
    		// Deprecated BuddyBar
    	} else {
    		$return = apply_filters( 'my_app_wiki_like_format', array(
    			'text' => $custom_text,
    			'link' => $custom_link
    		), $custom_link, (int) $total_items, $custom_text, $custom_title );
    	}
    
    	return $return;
    
    }	
    
    add_action('comment_post','my_app_comment_notification',10,2);
    
    /*
    * Send the notification after comment inserting
    */
    function my_app_comment_notification($comment_id, $comment_approved) {
    
    	if( 1 === $comment_approved ){
    		$comment_object = get_comment($comment_id);
    		$post_type = get_post_type($comment_object->comment_post_ID);
    		$current_user_id = get_current_user_id();
    
    		if($post_type == 'post') {
    			$post_object = get_post($comment_object->comment_post_ID);
    
    			if(my_app_is_notification_enabled_blog_comment()) {
    
    				bp_notifications_add_notification( array(
    					'user_id'           => $post_object->post_author,
    					'item_id'           => $comment_object->comment_post_ID,
    					'secondary_item_id' => $current_user_id,
    					'component_name'    => 'my_app_blog',
    					'component_action'  => 'my_app_blog_comment',
    					'date_notified'     => bp_core_current_time(),
    					'is_new'            => 1,
    				) );
    			}
    
    		}
    
    	}
    }
    #258675
    JetZ
    Participant

    I found this question in this forum, which is my question also. But the answer (this code) doesn’t work for me. The question is really old, and so is the code. The current register.php has changed quite a bit.

    I did get some guidance from the pastebin code and tried different variations. Here’s a shortened version:

    <?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' => true ) ) ) : 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; ?>
    
                    <!-- <?php $fields_ids[]= bp_get_the_profile_group_field_ids();?> -->
    
                    <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 /***** Extended Profile Fields: About Me (group 9) ******/ ?>
            <?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( 'About Me', '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' => 9, 'fetch_field_data' => true ) ) ) : 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; ?>
    
                    <!-- <?php $fields_ids[]= bp_get_the_profile_group_field_ids();?> -->
    
                    <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; ?>

    Basically I reused the original profile field loop and made it specific to the group field I want. I have 5 other groups I need in the register form. And repeating the initial loop for each one makes them display beautifully in the register form, but when I fill them out and click submit only the last group is displayed in the profile. It’s like only the last bit of code is being executed, so each loop is overwriting the previous one. In the forums I read that placement of <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" /> is very important but after playing around with it I still have nothing.

    I also found this but have no idea of where or how to use it.

    Any guidance will be greatly appreciated.

    kmligue
    Participant

    I installed https://wordpress.org/plugins/postman-smtp/ on my WP (v 4.6) + BuddyPress (v 2.6.2) site, then configured it to use my Gmail account’s SMTP server settings.

    The emails sent by the site uses the SMTP settings when:

    – A member registers and PMPRo (https://tl.wordpress.org/plugins/paid-memberships-pro/) sends out an email confirmation
    – Emails sent using the plugin (https://wordpress.org/plugins/email-users/)

    (I can see these sent emails in the “Sent” folder of my Gmail account.)

    However, when BuddyPress sends out an email (e.g. email notification for friend request, etc.), it seems to ignore the SMTP server settings I have configured. Instead, it uses the server’s default.

    How do I make BuddyPress email notifications send using my Gmail SMTP server settings?

    #258669

    In reply to: NING MIGRATION

    surfershot
    Participant

    @venutius have you tried the Mediapress plugin for Buddypress? From what I’ve read, Mediiapress much like the photo/video portion of Ning.
    https://wordpress.org/plugins/mediapress/

    #258663
    hanifascraps
    Participant

    Thank you for your answer.
    Yes that was I was looking and getting worry.
    So I go now updating my WordPress.
    Kind Regards,

Viewing 25 results - 5,751 through 5,775 (of 32,678 total)
Skip to toolbar