Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,976 through 6,000 (of 32,690 total)
  • Author
    Search Results
  • #257539
    tristan010
    Participant

    Hi,

    if I want to change my profile photo by:

    Hi Tristan -> profile -> change profile photo

    I get the 404 not found page.

    “Sorry, but nothing matched your search terms. Please try again with some different keywords. ”

    Related URL: http://intranet/members/tristan/profile/change-avatar/

    I have deinstalled the buddypress plugin, but that doesn’t work.

    WordPress 4.5.3
    Buddypress Version 2.6.2

    #257535
    ahmed3baid
    Participant

    Hi,
    I’m working on a wordpress website, and using Buddypress. I wanted to add posts notifications and it worked fine, except when I tried to filter them. First you need to know how I want to filter them.
    – I’ve a profile field named ‘Field’ which is a dropdown list with 5 options.
    – I have also 5 post categories with the exact names of the ‘Field’ values.
    – When a post is added, If it has (e.g. A,B,C) categories I want a notification for every user who has his ‘Field’ value is equal to A,B or C.

    Here is my code:

    foreach (users as $user) {
    $acc_type = xprofile_get_field_data(‘Field’, $user->ID);
    if (in_category($acc_type,$post_id)) {
    bp_notifications_add_notification( array(
    ‘user_id’ => $user->ID,
    ‘item_id’ => $post_id,
    ‘component_name’ => ‘custom’,
    ‘component_action’ => ‘custom_action’,
    ‘date_notified’ => bp_core_current_time(),
    ‘is_new’ => 1,
    ) );
    }

    }

    #257512
    pradeepphule
    Participant

    How to hide BuddyPress specific profile tabs from not logged in user

    https://wordpress.org/plugins/buddypress-profile-tabs/

    #257511
    @mercime
    Participant

    @maryt66 You’re welcome. You can subscribe to the latest BP development news at https://bpdevel.wordpress.com/ or check out https://buddypress.org/blog/

    Cheers.
    Mercime

    #257508
    timmysmanifesto
    Participant

    I’m currently working on setting up a multisite system and wanted to integrate LearnPress nd BuddyPress by using the LearnPress BuddyPress Plugin. However, something is not working properly and the LearnPress Profile is not reflecting the BuddyPress profile. The LearnPress is synced with the WordPress profile not the BuddyPress profile. I’ve searched on the web to find any information I could and found this article

    https://wordpress.org/support/topic/what-type-of-change-it-will-show-in-profile-page?replies=6

    It says there is a setting that I must click, but it’s not found. I was wondering if anyone knew of any known issues or any information about this situation. I’m pretty much stuck with where I am until I know something more. I have all the current versions of WP4.5.3 , BP2.6.2 , and LP1.0.8. and Plug in 1.0.

    #257498
    dolf h
    Participant

    Thank you @mercime. My solution mentioned above is working website-wide (and I like that):

    <script type="text/javascript">
        window.onload = function(){
    var titled = document.querySelectorAll('[title]');
    var numTitled = titled.length;
    var i = 0;
    for (i=0; i<numTitled; i++){
        titled[i].removeAttribute('title');
    }
        };
    </script>

    I think I only need an Ajax refresh. Perhaps this plugin is suitable: https://wordpress.org/plugins/ajaxize/
    I ‘ll give it a try.

    #257493
    Kristian Yngve
    Participant

    WordPress 4.5.3 running.
    BP Press: Version 2.5.10.
    WordPress as a directory, it’s in root.
    I have some custom functions in a child bp-custom.php.
    I’m running bbPress (standalone), Version 2.5.10.
    __________

    So, I’m looking at inserting BP Avatars (which would display the logged in user) with short-code. After some research, I understand BP doesn’t have any native BP short-codes, and you have to therefore make them yourself, granted.

    This is how I guess it used to work (back in good old 2011, that is…):

    THIS GOES IN THE FUNCTIONS.php:

    function logged_in_user_avatar_shortcode() {
    if ( is_user_logged_in() ) {
    global $current_user;
    get_currentuserinfo();
    return get_avatar( $current_user->ID );
    }
    }
    add_shortcode(‘logged-in-user-avatar’, ‘logged_in_user_avatar_shortcode’);

    ***And the shortcode to go anywhere in your content is: [logged-in-user-avatar]

    ———

    Any ideas what on what would work now?

    Kristian.

    #257491

    In reply to: Chinese Translation

    Paul Wong-Gibbs
    Keymaster

    (I’ve asked https://profiles.wordpress.org/petya to reach out to @idichoo to help get started with translations)

    #257477
    leandro_S
    Participant

    Hi there!
    I have a child theme in my WordPress and it has the appropiate buddypress folder inside.
    I have successfully done a custom buddypress>members>profile-loop.php and buddypress>members>members-loop.php, but I’m struggling to make buddypress>members>single>member-header.php work.
    Is there anything wrong with the files’s path?
    The changes I do in the file don’t show in the website afterwards.
    The original file come from buddypress>bp-themes…

    What am I doing wrong?

    #257474
    @mercime
    Participant

    Just to note that the “add friend and cancel friendship” tooltips, among other tooltips have been removed in BP 2.7 trunk (see #7090).

    #257470
    elliottmina
    Participant

    Hello!

    I am setting up a new WP multisite for two sites, using different domains for each site. I would like to use BuddyPress on both sites, but share the same BuddyPress instance/data between each site. The two communities will have a lot of overlap, and one site may eventually subsume the other.

    Can BuddyPress do this? If so, what configuration do I need to look for?

    I found this link, but I am unfamiliar with the terminology. While the steps were clear, I am new and their overall intent was opaque to me.

    Installation in WordPress Multisite

    TIA!

    #257467
    Georgio
    Participant

    Finally I could resolve the problem after reading this article

    This developer suggests creating a plugin. The result is a link with a dashicon but it is not responsive. To make it responsive (show on mobile), I added in the css file of the plugin a snippet I fould elsewhere:

    @media screen and (max-width: 782px) {
    		  #wpadminbar li#wp-admin-bar-XXX {
    					display: block;
    		  }
    }

    Replace XXX with your id

    #257462
    reneerodriguez
    Participant

    @djpaul

    Something to that effect. I’m using this plugin here: https://wordpress.org/plugins/bp-member-type-generator/

    #257461

    In reply to: Bug list member

    mrjarbenne
    Participant

    The BuddyPress Plugin doesn’t apply any style when you hover over a suggested @mention. When using a default WP theme (which is what the BP developers base their testing on) there is no hover effect on the suggested username. Which indicates that it is probably something in the style of the theme you are using that is applying this additional effect.

    The quickest way to see if it’s the theme or not, is to quickly change themes to one of the Twenty-xx themes that are packaged with WordPress, and if the hover effect disappears, you know where the problem is.

    That’s only part one. The next part is to figure out where in the theme the issue is and patch it.

    This might be helpful: https://www.studiopress.com/using-firebug/

    #257456
    mrjarbenne
    Participant

    I haven’t tried this plugin in a few years, and it hasn’t been updated for a while, but it once did exactly what you are talking about.

    https://wordpress.org/plugins/buddypress-activity-stream-bump-to-top/

    #257453
    mrjarbenne
    Participant

    You could customize the adminbar completely, using this snippet. I’m hiding the W menu, but you could probably hid the Sites menu and then add your own dropdown with the requisite links.

    http://www.wpbeginner.com/plugins/how-to-add-edit-re-order-or-hide-wordpress-admin-menus/

             /**
    	 * Adds custom "Home" menu to WP Adminbar.
    	 *
    	 * Also removes the "WP logo" menu.
    	 *
    	 * @param object $wp_admin_bar The WP Admin Bar object
    	 */
    	public function add_custom_parent_menu( $wp_admin_bar ) {
    
    		/**
    		 * Removing the "W" menu
    		 */
    		$wp_admin_bar->remove_menu( 'wp-logo' );
    
    		/**
    		 * Create a "Home" menu.
    		 *
    		 * First, just create the parent menu item.
    		 */
    		$wp_admin_bar->add_menu( array(
    			'id' => 'commonlinks',
    			'parent' => '0', //puts it on the left-hand side
    			'title' => 'Home',
    			'href' => ('INSERT LINK HERE')
    		) );
    
    		/**
    		 * Add submenu items to "Home" menu.
    		 */
    		// Only show the following for logged-in users
    		if ( current_user_can( 'read' ) ) {
    			// Support link
    			$wp_admin_bar->add_menu( array(
    				'id' => 'support',
    				'parent' => 'commonlinks',
    				'title' => 'Support',
    				'href' => ('INSERT LINK HERE')
    			) );
    
    			// Blog request form
    			$wp_admin_bar->add_menu( array(
    				'id' => 'blogrequest',
    				'parent' => 'commonlinks',
    				'title' => 'Stuff',
    				'href' => ('INSERT LINK HERE' )
    			) );
    
    			// Developers blog
    			$wp_admin_bar->add_menu( array(
    				'id' => 'developments',
    				'parent' => 'commonlinks',
    				'title' => 'Developments',
    				'href' => ('INSERT LINK HERE' )
    			) );
    
    		}
    
    	}
    #257451
    mrjarbenne
    Participant

    The BuddyPress login widget is just a styled version of the WordPress login page. Hackers are still hitting the same database regardless of if they are finding your login widget — or more likely — blinding hitting your /wp-login.php page. wp-login isn’t being replaced here. If you are worried about brute force attacks, you should look into mechanisms created to protect WordPress (captchas, limit login attempts, etc.)

    Replacing the WP login infrastructure with something else is a whole other matter, and something you would need to do on the WP side. As @djpaul mentioned, BP leaves that side of the site to the existing BP user management system.

    #257450
    idichoo
    Participant

    Well… I would prefer buddypress to inform user on wrong user id or password entered instead of redirect user to wordpress login. It will encourage for hacking. Do you have any ways to so that it doe not redirect to wordpress login but show wrong userid or password.
    Thanks for your help.

    risinghowcase
    Participant

    I am trying to add extra fields into my registration form using the following code into the functions.php file in my child theme (One Social). The code should capture the data for woo commerce to use at the checkout.

    //Adding Registration fields to the form

    add_action( ‘register_form’, ‘adding_custom_registration_fields’ );
    function adding_custom_registration_fields( ) {

    //lets make the field required so that i can show you how to validate it later;
    $firstname = empty( $_POST[‘firstname’] ) ? ” : $_POST[‘firstname’];
    $lastname = empty( $_POST[‘lastname’] ) ? ” : $_POST[‘lastname’];
    ?>
    <div class=”form-row form-row-wide”>
    <label for=”reg_firstname”><?php _e( ‘First Name’, ‘woocommerce’ ) ?><span class=”required”>*</span></label>
    <input type=”text” class=”input-text” name=”firstname” id=”reg_firstname” size=”30″ value=”<?php echo esc_attr( $firstname ) ?>” />
    </div>
    <div class=”form-row form-row-wide”>
    <label for=”reg_lastname”><?php _e( ‘Last Name’, ‘woocommerce’ ) ?><span class=”required”>*</span></label>
    <input type=”text” class=”input-text” name=”lastname” id=”reg_lastname” size=”30″ value=”<?php echo esc_attr( $lastname ) ?>” />
    </div><?php
    }

    //Validation registration form after submission using the filter registration_errors
    add_filter( ‘woocommerce_registration_errors’, ‘registration_errors_validation’ );

    /**
    * @param WP_Error $reg_errors
    *
    * @return WP_Error
    */
    function registration_errors_validation( $reg_errors ) {

    if ( empty( $_POST[‘firstname’] ) || empty( $_POST[‘lastname’] ) ) {
    $reg_errors->add( ’empty required fields’, __( ‘Please fill in the required fields.’, ‘woocommerce’ ) );
    }

    return $reg_errors;
    }

    //Updating use meta after registration successful registration
    add_action(‘woocommerce_created_customer’,’adding_extra_reg_fields’);

    function adding_extra_reg_fields($user_id) {
    extract($_POST);
    update_user_meta($user_id, ‘first_name’, $firstname);
    update_user_meta($user_id, ‘last_name’, $lastname);
    update_user_meta($user_id, ‘billing_first_name’, $firstname);
    update_user_meta($user_id, ‘shipping_first_name’, $firstname);
    update_user_meta($user_id, ‘billing_last_name’, $lastname);
    update_user_meta($user_id, ‘shipping_last_name’, $lastname);
    }

    The code works fine until Buddypress is activated. The it just reverts to the usual wordpress log in with only the profile fields that are shown in the “Profile Fields” tab on the wordpress dashboard.

    I feel like I must be missing something obvious but it is driving me crazy! Any help would be enormously appreciated. Thanks!

    #257374
    Paul Wong-Gibbs
    Keymaster

    BuddyPress doesn’t affect user authentication or password resets. We leave that to WordPress.

    WordPress’ lost password link can be found on the .com/wp-login.php screen. You can copy that link into your theme/navigation menu, etc, if you want it elsewhere.

    reneerodriguez
    Participant

    I’ve ran into a small dilemma and please keep in mind, I am a novice to PHP and the such.

    I am running WordPress 4.5.3 with BuddyPress 2.6.2 with a theme called Kleo 4.0.8. Site is located here: http://www.wecurecruiting.com/beta/

    I have multiple member directories: Players, Coaches, Schools. And what I’m looking to do is figure out if there’s a way to setup multiple member pages?

    When you go to Settings > BuddyPress > Pages you’re able to select which page is your Members pages that’s to be displayed (for example in your header). Currently, all pages are assigned, however, I would like to be able to have multiple pages be displayed with their corresponding directories. Is there a way to do this?

    #257359
    Paul Wong-Gibbs
    Keymaster

    @skullchow To get your site back, you need to FTP (or SSH, or whatever — you should know how to do this) into your server. Go into the wp-content/plugins/ folder, and rename the buddypress plugin to buddypress-disabled. Then, visit your site’s plugins page (.com/wp-admin/plugins.php), and WordPress will fix itself.

    Then what you need to do is obtain your server’s PHP error logs. If you don’t know how to do this, ask your webhost for help. Inside it, it will be list whatever error was breaking the site. If you let us know what’s in the log, we can help figure out what broke things.

    #257358
    Paul Wong-Gibbs
    Keymaster

    Not quite! In BuddyPress 2.6, we added support for dynamic links for user profiles.

    In your template/blog post/wherever, if you wanted a link to go to the logged-in user’s activity stream (for example), create the link to <a href=http://example.com/members/me/activity">my activity stream</a>.

    See https://buddypress.trac.wordpress.org/changeset/10791 for the change.

    #257355

    In reply to: Chinese Translation

    danbp
    Participant

    Get in touch with the chinese translation team:

    Translation Teams

    You don’t need to download GlotPress, you can translate BP online. Just go to https://translate.wordpress.org/projects/wp-plugins/buddypress/stable/zh-cn/default and log-in.

    And read the translators handbook to learn more about translating WordPress, plugins and themes.

    If you prefer to read in chinese, see here: https://cn.wordpress.org/

    #257350
    idichoo
    Participant

    Hi,

    Can know how you deal with incorrect password keyed as it drawn to the wordpress page.

    And there is no lost password link to be selected for user.

Viewing 25 results - 5,976 through 6,000 (of 32,690 total)
Skip to toolbar