Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 9,176 through 9,200 (of 22,602 total)
  • Author
    Search Results
  • mgkoller
    Participant

    The dashboard > activity is correctly displaying after applying trishasala’s patch (4573.patch)

    https://buddypress.trac.wordpress.org/ticket/4573#comment:19

    #166770

    In reply to: Untraceable spam user

    Ben Hansen
    Participant

    just blank space huh? never seen that before not sure how its even possible unless as i said before your site was hacked and even then I’m still not sure how it’s possible. as far as i know every wordpress user account must be associated with an email address.

    #166762
    Asynaptic
    Participant

    I’m opening this up again in the hopes that someone who knows something will see it this time:

    I’m looking for a plugin that would allow me to put up a page like this one:
    http://moz.com/invite/signup

    and to collect name/email from those interested in joining as members for my site

    I do NOT want to block off the site from them if they are not members or haven’t joined yet, like so many beta plugins do. For example:

    Review: Closed Beta WordPress Plugin

    I want them to be able to find the site, read it, etc. but not to be able to signup, except for through an invitation request.

    I know there is a plugin called invite anyone, but this is to allow existing users to invite friends to join. I want to be able to accept invitation requests from the public.

    #166759
    Henry
    Member

    I’ve just raised a BP Trac ticket for this
    https://buddypress.trac.wordpress.org/ticket/5074

    #166754
    Henry
    Member

    BuddyPress seems to attempt to filter get_avatar() – see bp_core_fetch_avatar_filter(). I did bring this issue up a while ago at WordPress Trac but the call was closed.

    https://core.trac.wordpress.org/ticket/24596

    Wonder if anyone thinks it’s worthy of a BP Trac ticket?

    #166748
    vaytructuyen
    Participant

    You’re using wordpress’s get_avatar is what you’re looking for

    Judah
    Participant
    jimbaldwin1137
    Participant

    Thank you! It worked.

    #166705

    In reply to: Import Social Contacts

    ankytt
    Participant
    #166703
    @mercime
    Participant

    @64tees you can create your own members widget plugin with the modifications you want – see https://buddypress.trac.wordpress.org/browser/tags/1.7.2/bp-core/bp-core-widgets.php

    @mercime
    Participant

    @jimbaldwin1137yahoocom rename the BuddyPress folder in server e.g. wp-content/plugins/buddypress-xxx

    #166696
    yaakhi
    Participant

    Sorrry but could not find the line you mentioned 🙁 here is the whole bp_profile_as_homepage_fork.php file `<?php
    /*
    Plugin Name: BP Profile as Homepage Fork
    Description: Sets the user BP Profile as homepage on the site for logged in users. This emulates Facebook.
    Author: Mort3n
    Version: 1.0
    License: GPL2
    */

    /* Copyright 2013 Mort3n

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License, version 2, as
    published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    */

    /**
    * Redirect logged-in user from site Homepage to Profile
    * @since 1.0
    */
    function bp_profile_as_homepage_fork_homepage(){

    global $bp;

    $selected_role = get_option( ‘bpahpf_role_choice’ );

    //redirection to profile applied to all roles
    if( ” == $selected_role ){
    if( is_user_logged_in() && is_front_page() ){

    wp_redirect( $bp->loggedin_user->domain, 302 );
    exit;
    }
    }
    //redirection to profile applied to all roles EXCEPT selected_role
    else{
    if( !bp_profile_as_homepage_fork_check_user_role( $selected_role ) && is_front_page() ){
    wp_redirect( $bp->loggedin_user->domain, 302 );
    exit;
    }
    }
    }

    /**
    * Redirect after logout
    * @since 1.0
    */
    function bp_profile_as_homepage_fork_logout_redirection(){

    global $bp;

    $redirect = $bp->root_domain;

    wp_logout_url( $redirect );
    }

    /**
    * Checks if a particular user has a role.
    * Returns true if a match was found.
    * Code for this function modified from http://docs.appthemes.com/tutorials/wordpress-check-user-role-function/
    *
    * @param string $role Role name.
    * @param int $user_id (Optional) The ID of a user. Defaults to the current user.
    * @return bool
    */
    function bp_profile_as_homepage_fork_check_user_role( $role, $user_id = null ) {

    if ( is_numeric( $user_id ) )
    $user = get_userdata( $user_id );
    else
    $user = wp_get_current_user();

    if ( empty( $user ) )
    return false;

    return in_array( $role, (array) $user->roles );
    }

    /**
    * Add the admin page to the dashboard menu
    * @since 1.0
    */
    function bp_profile_as_homepage_fork_menu(){

    load_plugin_textdomain( ‘bpahpf-menu’, false, basename( dirname( __FILE__ ) ) . ‘/languages’ );
    add_options_page( __(‘BP Profile as Homepage Fork Settings’, ‘bpahpf-menu’ ), __( ‘BP Profile as Homepage Fork Settings’,’bpahpf-menu’), ‘manage_options’, ‘bpahpfmenu’, ‘bpahpf_settings_page’);
    }

    /**
    * Outputs the settings screen and saves data when submitted
    * @since 1.0
    */
    function bpahpf_settings_page(){

    //check for capability to manage options
    if ( !current_user_can( ‘manage_options’ ) ){

    wp_die( __(‘You do not have sufficient permissions to access this page.’, ‘bpahpf-menu’ ) );

    }

    $opt_name = ‘bpahpf_role_choice’;
    $data_field_name = ‘bpahpf_role_choice’;

    $opt_val = get_option( $opt_name );

    //if nonce checks out then save submitted data
    $nonce=$_REQUEST[‘_wpnonce’];
    if( wp_verify_nonce( $nonce, ‘bpahpf’ ) )
    {
    $opt_val = $_POST[ $data_field_name ];
    update_option( $opt_name, $opt_val );
    ?>
    <div class=”updated”><p><?php _e( ‘Settings saved.’, ‘bpahpf-menu’ ); ?></p></div>
    <?php

    }

    echo ‘<div class=”wrap”>’;
    echo “<h2>” . __( ‘BP Profile as Homepage Fork Settings’, ‘bpahpf-menu’ ) . “</h2>”;
    ?>
    <p>
    <?php _e( ‘Disable Profile as Homepage for a particular user role.’, ‘bpahpf-menu’ ); ?>
    </p>
    <form name=”bpahpf-settings-form” method=”post” action=””>
    <?php wp_nonce_field( ‘bpahpf’ ); ?>
    <p><b>
    <?php _e( ‘You have selected:’, ‘bpahpf-menu’ ); ?>
    </b>
    <?php
    if ( ” == $opt_val )
    _e( ‘No One’, ‘bpahpf-menu’ );
    else
    echo $opt_val;
    ?>
    <hr />
    <?php _e( ‘Who can view Homepage:’, ‘bpahpf-menu’ ); ?>
    <select name=”<?php echo $data_field_name; ?>”>
    <option value=””>
    <?php _e( ‘No One’, ‘bpahpf-menu’ ); ?>
    </option>
    <?php wp_dropdown_roles( );?>
    </select>
    </p>
    <p class=”submit”>
    <input type=”submit” name=”Submit” class=”button-primary” value=”<?php esc_attr_e( ‘Save Changes’, ‘bpahpf-menu’ ) ?>” />
    </p>
    </form>
    </div>
    <?php
    }

    add_action(‘admin_menu’,’bp_profile_as_homepage_fork_menu’);
    add_action(‘wp’,’bp_profile_as_homepage_fork_homepage’);
    add_action(‘wp_logout’,’bp_profile_as_homepage_fork_logout_redirection’);
    ?>

    #166692
    @mercime
    Participant
    #166683
    mattg123
    Participant

    You’re using wordpress’s get_avatar, bp_core_fetch_avatar is what you’re looking for

    #166682
    @mercime
    Participant

    when a contractor changed some of the styles for BP

    @mindimer Have you tried re-uploading WordPress and BuddyPress as well?

    #166677
    @mercime
    Participant

    it prevents setting a featured image.

    @mindimer You mean featured image for a Post or Page? Haven’t seen this issue reported for current nor trunk versions. Are you able to upload user Avatars? If so, then file permissions are not the issue and BP is not interfering with image uploads.

    What are your WordPress/BuddyPress versions? Could be conflict of theme with BuddyPress. What theme are you using? Have you tried changing to Twenty Twelve theme with BuddyPress to see if issue is resolved or not?

    @mercime
    Participant
    #166660
    bp-help
    Participant

    @yaakhi
    Try this trick:
    BuddyPress Redirect To Profile Trick Using A Landing Page.
    To modify it to redirect to activity just change this line:
    bp_core_redirect( get_option('home') . '/members/' . bp_core_get_username( bp_loggedin_user_id() ) . '/profile' );
    To this if you want personal activity:
    bp_core_redirect( get_option('home') . '/members/' . bp_core_get_username( bp_loggedin_user_id() ) . '/activity' );
    Or to this if you want sitewide activity:
    bp_core_redirect( get_option('home') . '/activity');

    #166643
    Henry
    Member

    What do you mean by locking an account? i’m not sure i’ve ever come across that before. Is it standard functionality to WordPress/ BuddyPress or does the functionality come as a plugin?

    @mercime
    Participant

    If you see clearly, http://my.telegraph.co.uk/kevin_straw/ is displayed inside my.telegraph.co.uk and not as a separate blog.

    @onesoftindiana based on the structure, WordPress Multisite and BuddyPress are installed at root of http://my.telegraph.co.uk/ and user blogs (subsites) are all using a custom theme named “Telegraph User Blogs” where the header and footer links highlight the main sections of telegraph.co.uk

    @djpaul would be the authority re my.telegraph.co.uk 🙂

    #166615

    In reply to: Designing BuddyPress

    modemlooper
    Moderator

    s2member works well with BuddyPress. When you use BP with multisite only one site on the network contains BP. However, any member of any site on the network is added to BuddyPress. BP consolidates blog postings from the entire multisite into a list.

    Alot of WP plugins work with BP. Search BuddyPlug in wordpress.org repo. Also bpinspire.com to see full sites using BuddyPress

    #166602
    Paul Wong-Gibbs
    Keymaster

    This is expected, because the function’s not intended to be used like this (for direct output to HTML).

    Are you trying to do this in a WordPress template — looks like on a author archive page template?

    #166584
    SK
    Participant

    Another one on my list: Hierarchical Groups with upwards member propagation: https://buddypress.trac.wordpress.org/ticket/3961

    #166582
    bp-help
    Participant

    @famous
    Try this out. This definitely works if you follow the instructions:
    BuddyPress Redirect To Profile Trick Using A Landing Page.

    #166581
    Famous
    Participant

    didn’t work, I get an infinite loop on the homepage. There has got to be an easy solution to redirect wordpress upon login?

Viewing 25 results - 9,176 through 9,200 (of 22,602 total)
Skip to toolbar