Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,776 through 5,800 (of 32,690 total)
  • Author
    Search Results
  • #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,

    #258660
    hanifascraps
    Participant

    Hi there,
    I have the wordpress 4.5.4 that I now is compatibel with Buddypress 2.6.2 (the last version, I think).
    Now the WordPress is asking to update to 4.6.1, should I do it? Or if I do it the buddypress will not work correctly?

    Thank you very much for your attention,

    #258649
    danbp
    Participant

    Hi,

    appart it is a wordpress related question, you can use CSS.

    Try this rule; goes to child-theme style.css

    div.wp-editor-container div.quicktags-toolbar {
    	background-color: red!important;
    }

    You can find good tuts on the web for more details.

    #258638
    danbp
    Participant

    I’m unable to reproduce your issue on a single install with over 20 plugins active and plenty of custom functions active in bp-custom.php
    I can upload medias without problem with different 3th party themes or Twenty’s

    Try to upload a fresh copy of WordPress and BP and see if it makes a difference.

    Now about the snippet.
    It works more or less, no code error. You commented the action, so it is deactivated if someone copy/paste it without correcting this.

    That said, what is the reason behind using a redirection to login if the site, or at least the buddyPress parts, should be private ?

    Wouldn’t it be more logic to redirect visitors to an anonymous page with some important information, from which the first one could be Sorry, but this site is private ? Followed by some informations how to register or pay a fee or whatever the reason.

    A private site has two type of visitors: those invited to join and the others. Don’t give the opportunity to those who are there by chance to enter the site so easily.

    I let you think about this and eventually create an appropriate page and template.
    Here a code example redirecting to a page called Intranet and the correct calls to slugs for all components (including bbPress).

    function bpfr_guest_redirect() {
    global $bp;
    // enter the slug or component conditional here
    	if ( bp_is_activity_component() || bp_is_groups_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) || is_bbpress() ) {
    	
    // not logged in user are redirected to - comment/uncomment or add/remove to your need
    		if( !is_user_logged_in() ) { 
    			//wp_redirect( get_option('siteurl') ); //back to homepage
    			//wp_redirect( get_option('siteurl') . '/register' ); // back to register page	
    			wp_redirect( get_option('siteurl') . '/intranet' ); // back to whatever page
    		} 
    	}
    }
    add_filter( 'get_header', 'bpfr_guest_redirect', 1 );

    Add it to child-theme’s functions.php

    #258637
    buddycore
    Participant

    I’ve designed and developed a theme for BuddyPress. It’s in a stable condition and has had some user feedback so far which has helped it become more functional and solid for mobile, tablet and desktop sites running WordPress + BuddyPress.

    You can view it at http://buddycore.com and grab a download on GitHub https://github.com/buddycore/surface-theme

    I’m building features the users ask for but mainly tidying up on the core functionality at this stage.

    This is currently a hobby of mine but i’m willing to take on small freelance jobs at the moment for WordPress + BuddyPress work.

    Check it out.

    Thanks

    shughesd
    Participant

    Hello,

    I’ve researched so many forum posts, and I’m not getting anywhere in solving this problem – and it is so important to this site and the whole reason I’ve built around BuddyPress!

    I have anyone can register in general settings.

    I have the register page selected in page options in Buddypress settings.

    The page exists, is a parent page in Pages.

    I have tried disabling all plugins and switching to the 2016 template.

    I have checked the register.php file exists in the appropriate folder: public_html/wordpress/wp-content/plugins/buddypress/bp-themes/bp-default/registration

    I am using the most update wp 4.6.1

    My URL is http://pathways4learning.com Clicking on register on the top black bar, or on the link on the login page, takes me to a ‘page not found’ and 404 error page.

    PLEASE HELP! There is always a solution, please help me find it.

    Thank you in advance.

    #258630
    danbp
    Participant

    Hi,

    the logout link is redirected to the same page. If you’re on your profile notifications screen, which is only intended for you, it is normal that when you logout from there, you’re redirected to a page not found message. Notifications is even private and not public.

    The solution is to redirect to an always public part of the site on logout.

    Add this snippet to child-theme’s functions.php

    //* Redirect WordPress Logout to Home Page
    add_action( 'wp_logout', create_function( '', 'wp_redirect( home_url() ); exit();' ) );

    Advice 1: use preferably the login widget, so the user stays on the same page where he attempt to login instead to be redirected to that boring wp-login page.

    Advice 2: on the Home (which is the member directory), you have all BP pages listed at the bottom. Remove them ! You certainly don’t need to give access to account activation or register page to your visitors…

    #258626
    danbp
    Participant

    Best recommendation would be to use this premium plugin

    WooCommerce BuddyPress Integration


    and some additionnal add_on like this one:
    https://fr.wordpress.org/plugins/woocommerce-buddypress-integration-xprofile-checkout-manager/

    Note: BuddyPress doesn’t handle registering, it only shows the wp-login form with some more fields (if xprofile component is activated).

    #258622
    metalhead
    Participant

    Hello Buddypress buddies,

    I’m having a difficult issue that deals with logging out of Buddypress.

    With Buddypress installed, WP’s Menu editor gives me the option of adding Buddypress Logged-In and Logged-Out links. I used this feature to add “Log Out” and “Log In” to my menu.

    These links work great when the user is on a non-buddypress menu item (such as Blog,) however, if the user is currently on a buddypress menu item such as “Notifications,” or “Settings,” and then he clicks “Log Out,” then he gets this error message.

    To be more specific, this is what the message says:

    Error 404 – Page Not Found
    Sorry, I’ve looked everywhere but I can’t find the page you’re looking for.
    If you follow the link from another website, I may have removed or renamed the page some time ago. You may want to try searching for the page:

    notifications
    Search

    I’m using WordPress v4.6.1 and Buddypress v2.6.2
    I’m also using the Graphene theme, and I have a static home page set to Members
    Here is a link to my site http://www.adultchatclub.com

    Thanks in advance!

    #258617
    ilGhera
    Participant

    Hi. In my project I have an Ajax function that reorganizes the activities.
    Everything is working well except the oembed content, like YouTube videos, that are not embedded as expected.
    I found this post that describe the same situation, but talking about WordPress posts.
    http://wordpress.stackexchange.com/questions/175418/wordpress-embeds-in-ajax-inserted-content
    Any suggestion will be appreciate.
    Thanks.

    rafiamudasar
    Participant
    rafiamudasar
    Participant

    Hi
    I want to create a dropdown of listing categories from which a user can select the categories on registration. But I am not sure how that would be done as I didn’t find any relevant tutorial on pre populating dropdown in xprofile

    wordpress version: 4.6.0
    buddypress: 2.6.1.1
    and here is a link to my site
    http://dev6.inserito.me/Birthbox/

    #258613
    danbp
    Participant

    Loginizer is a third party plugin, it is not part of WordPress.

    Afaik you have to check WordPress alone as very first debug step.
    Rename the complete plugin folder (this will deactivate all plugins) and test WP with a twenty theme.
    Keep also define('WP_DEBUG', true); in wp-config while testing.

    #258612
    danbp
    Participant

    kleo matches 175 times in search result on this forum… and only 55 times at 7thqueen support.

    Despite we can’t help you with premium themes, as we have no access to the code, people constantly comes here to ask for help, solve issues or get advice for customizing their expensive theme.

    That’s sad, a little unfair and may be just c’est la vie finally ?

    Perhaps, when you are tempted to buy some novelty item – such as an awesome newest theme – try to visualize it in a pile of junk at a yard sale with a 50 cent price tag on it!

    Did you ever asked you why WordPress comes with a new default theme each year since 2010 ?

    Guess it’s time to say Hello Twenty Seventeen !

Viewing 25 results - 5,776 through 5,800 (of 32,690 total)
Skip to toolbar