Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 2,551 through 2,575 (of 22,644 total)
  • Author
    Search Results
  • #276746
    Prashant Singh
    Participant

    Hi,

    Please paste the code in your child theme’s functions.php. If you do not have child theme then install this plugin https://wordpress.org/plugins/code-snippets/ and add a new snippet there and paste this code.

    add_action( 'template_redirect', 'ps_redirect_to_login' );
    
    function ps_redirect_to_login() {
    
    if ( is_page('members') && ! is_user_logged_in() ) {
    
      auth_redirect();
        }
    }

    Thanks 🙂

    #276728

    In reply to: Please help….please!

    Prashant Singh
    Participant

    Hi,

    Please paste the following code in your child theme’s functions.php file:

    add_action( 'bp_before_directory_groups_list' ,'ps_add_image_before_groups');
    function ps_add_image_before_groups(){
    	echo "<img src='your_image_url_here'>";
    }

    If you do not have child theme just add this plugin https://wordpress.org/plugins/code-snippets/ and add a new snippet and paste this code there.

    Please remember to change ‘your_image_url_here’ with your image source URL.

    Thanks

    #276716
    r-a-y
    Keymaster

    You should post on the bbPress forums:
    https://bbpress.org/forums

    bbPress handles the forum aspect of your site. It looks like Turkish should be supported based on the community’s translation efforts:
    https://translate.wordpress.org/projects/wp-plugins/bbpress

    #276694
    Prashant Singh
    Participant

    ohh ok got that.

    /**
    * Buddypress Members masonry
    *
    *
    * @package WordPress
    * @subpackage K Elements
    * @author SeventhQueen <themesupport@seventhqueen.com>
    * @since K Elements 1.0
    */
    
    $output = '';
    
    extract(
    shortcode_atts( array(
    'type' => 'newest',
    'member_type' => 'all',
    'number' => 12,
    'class' => '',
    'rounded' => "rounded",
    'avatarsize' => '',
    'width_height' => '',
    'online' => 'show'
    ), $atts )
    );
    //var_dump($avatarsize);
    
    $params = array(
    'type' => $type,
    'scope' => $member_type,
    'per_page' => $number
    );
    if ($rounded == 'rounded') {
    $rounded = 'rounded';
    }
    
    $avatarquery = '';
    if( $avatarsize == 'large' ) {
    $avatarsizewh = explode( 'x', $width_height );
    if( isset( $avatarsizewh[0] ) && isset($avatarsizewh[1] ) ) {
    $avatar_width = $avatarsizewh[0];
    $avatar_height = $avatarsizewh[1];
    $avatarquery = 'type=full&width='.$avatar_width.'&height='.$avatar_height.' ';
    }
    }
    
    if ( function_exists('bp_is_active') ) {
    
    if ( bp_has_members( $params ) ){
    
    ob_start();
    echo '<div class="wpb_wrapper">';
    echo '<div id="members-dir-list" class="members dir-list">';
    echo '<ul id="members-list" class="item-list row kleo-isotope masonry '.$class.'">';
    
    while( bp_members() ) : bp_the_member();
    
    echo '<li class="kleo-masonry-item">'
    .'<div class="member-inner-list animated animate-when-almost-visible bottom-to-top">'
    .'<div class="item-avatar '.$rounded.'">'
    .''. bp_get_member_avatar($avatarquery) . kleo_get_img_overlay() . '';
    if ($online == 'show') {
    echo kleo_get_online_status(bp_get_member_user_id());
    }
    echo '</div>'
    
    .'<div class="item">
    <div class="item-title">'
    .''. bp_get_member_name() . '
    </div>';
    
    echo "<div class=item-meta><p>".
    bp_member_profile_data('field=Expertise')."
    </p></div>";
    
    echo '<div class="item-meta">
    
    <span class="activity">'.bp_get_member_last_active().'</span></div>';
    
    if ( bp_get_member_latest_update() ) {
    echo '<span class="update"> '. bp_get_member_latest_update().'</span>';
    }
    
    do_action( 'bp_directory_members_item' );
    
    echo '</div>';
    
    echo '<div class="action">';
    do_action( 'bp_directory_members_actions' );
    echo '</div>';
    
    echo '</div><!--end member-inner-list-->
    ';
    endwhile;
    
    echo '';
    echo '</div>';
    echo '</div>';
    $output = ob_get_clean();
    }
    
    }
    else
    {
    $output = __("This shortcode must have Buddypress installed to work.","k-elements");
    }

    Please try this code.

    Thanks

    #276692
    israel4lincelot
    Participant

    Does not work. I think it’s because de line I’m writing is within an echo already.

    Full code:

    <?php
    /**
    * Buddypress Members masonry
    *
    *
    * @package WordPress
    * @subpackage K Elements
    * @author SeventhQueen <themesupport@seventhqueen.com>
    * @since K Elements 1.0
    */

    $output = '';

    extract(
    shortcode_atts( array(
    'type' => 'newest',
    'member_type' => 'all',
    'number' => 12,
    'class' => '',
    'rounded' => "rounded",
    'avatarsize' => '',
    'width_height' => '',
    'online' => 'show'
    ), $atts )
    );
    //var_dump($avatarsize);

    $params = array(
    'type' => $type,
    'scope' => $member_type,
    'per_page' => $number
    );
    if ($rounded == 'rounded') {
    $rounded = 'rounded';
    }

    $avatarquery = '';
    if( $avatarsize == 'large' ) {
    $avatarsizewh = explode( 'x', $width_height );
    if( isset( $avatarsizewh[0] ) && isset($avatarsizewh[1] ) ) {
    $avatar_width = $avatarsizewh[0];
    $avatar_height = $avatarsizewh[1];
    $avatarquery = 'type=full&width='.$avatar_width.'&height='.$avatar_height.' ';
    }
    }

    if ( function_exists('bp_is_active') ) {

    if ( bp_has_members( $params ) ){

    ob_start();
    echo '<div class="wpb_wrapper">';
    echo '<div id="members-dir-list" class="members dir-list">';
    echo '<ul id="members-list" class="item-list row kleo-isotope masonry '.$class.'">';

    while( bp_members() ) : bp_the_member();

    echo '<li class="kleo-masonry-item">'
    .'<div class="member-inner-list animated animate-when-almost-visible bottom-to-top">'
    .'<div class="item-avatar '.$rounded.'">'
    .''. bp_get_member_avatar($avatarquery) . kleo_get_img_overlay() . '';
    if ($online == 'show') {
    echo kleo_get_online_status(bp_get_member_user_id());
    }
    echo '</div>'

    .'<div class="item">
    <div class="item-title">'
    .''. bp_get_member_name() . '
    </div>

    <div class="item-meta"><p">
    <?php echo bp_member_profile_data('field=Expertise'); ?>
    </p></div>

    <div class="item-meta">

    <span class="activity">'.bp_get_member_last_active().'</span></div>';

    if ( bp_get_member_latest_update() ) {
    echo '<span class="update"> '. bp_get_member_latest_update().'</span>';
    }

    do_action( 'bp_directory_members_item' );

    echo '</div>';

    echo '<div class="action">';
    do_action( 'bp_directory_members_actions' );
    echo '</div>';

    echo '</div><!--end member-inner-list-->
    ';
    endwhile;

    echo '';
    echo '</div>';
    echo '</div>';
    $output = ob_get_clean();
    }

    }
    else
    {
    $output = __("This shortcode must have Buddypress installed to work.","k-elements");
    }

    #276679
    Prashant Singh
    Participant

    Hi,

    You can check this plugin: https://wordpress.org/plugins/buddypress-shortcodes/

    But still, it will need customization to add different fields there.

    Thanks

    #276667
    Prashant Singh
    Participant

    Hi,

    Please check this plugin: https://wordpress.org/plugins/buddypress-members-only/

    Hopefully, it will help you.

    Thanks

    #276662
    casper99
    Participant

    Same problem here.
    And: I won’t get an ajax recommendation by entering @username in the field with bp-nouveau.

    It seems to be a problem with the “bp-nouveau” theme.
    With the old standard-theme, it works!

    BuddyPress 3.2.0
    WordPress 4.9.8

    #276645
    Prashant Singh
    Participant

    Hi,

    Please follow these links:

    Add custom filters to loops and enjoy them within your plugin

    BuddyPress Activity Filter

    Hopefully, this will help you.

    Thanks

    #276643
    Prashant Singh
    Participant

    Hi,

    Please take a look on this ticket: https://buddypress.trac.wordpress.org/ticket/5513

    Thanks

    #276642
    Prashant Singh
    Participant

    Hi,

    Please try to use this one: https://wordpress.org/plugins/bp-activity-social-share/

    It is not having an auto post but you can share activities on your favourite social network.

    Thanks

    #276624
    r-a-y
    Keymaster

    I cannot duplicate your problem with a WordPress tehme. Tested with Chrome’s developer tools with its mobile simulator.

    Can you tell me what mobile device you are emulating with Chrome’s developer tools? If you have some plugins activated, deactivate ones that might be interfering with the registration process.

    #276617

    In reply to: PM Spam

    DL
    Participant

    I like the idea of friends-only PM’s but that plugin hasn’t been updated and carries the warning.

    This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

    It looks like r-a-y is still active here though, so maybe it’s ok with the latest WP and BP?

    r-a-y
    Keymaster

    Looks like the same problem as this user:

    register problem in mobile

    That user is also using the Kleo theme.

    What happens when you change your theme to something else like Twenty Seventeen or another WordPress default theme?

    #276605
    Layo_BCN
    Participant

    Hi,

    We have already been changing to the WordPress theme and the same thing happens, when you finish entering the data in the registration and registration update fields, the page is reloaded and loads the same registration page with the fields already completed just missing the password. , and it is put back and repeated in bukle.

    He also tested on another web that we have with another theme and deactivating all the plugins and still presenting the same error.
     
    in the Main web we use BuddyPress Version 3.2.0 and in the other one that we have tested we have Version 3.1.0

    I hope I can solve the situation for elelvamso two weeks without receiving user registrations since our potential partners are always conceded by the mobile and we usually receive more than 10 weekly registration.

    So it is URGENT that you can register to BuddyPress by mobile device.

    #276602

    In reply to: PM Spam

    proweb01
    Participant

    I installed this plugin and all PM spam stopped ever since. It requires a person to be your friend before they can PM you. https://wordpress.org/plugins/buddypress-private-message-for-friends-only/

    #276591
    Prashant Singh
    Participant

    Hi,

    You can create xprofile fields to save there data and then can search them on the basis of those fields under members directory using this plugin https://wordpress.org/plugins/bp-profile-search/

    Thanks

    #276583
    Prashant Singh
    Participant

    Hi,

    Please check this plugin https://wordpress.org/plugins/bp-profile-search/

    Thanks

    #276581
    jeffreyls
    Participant

    Hi Ray,

    Big thanks, looks like the way to go. I did find
    https://wordpress.org/support/plugin/disable-embeds

    It looks to disable everything… just need to find a way to disable everything with an exception. i.e. YouTube and Vimeo.

    Thanks again… appreciated.

    Jeff

    #276577
    shanebp
    Moderator

    There are a few plugins that can do that, for example:

    BP Simple Private

    #276574
    r-a-y
    Keymaster

    BuddyPress just uses the oEmbed providers that WordPress uses:
    https://codex.wordpress.org/Embeds#oEmbed

    So to only use WordPress and Vimeo, disable all the other oEmbed providers by WordPress. Not sure if there is a plugin to do that natively, but there is a brief description under the “Removing Support for An oEmbed-Enabled Site” section on the codex page I linked to above.

    #276573
    r-a-y
    Keymaster

    It looks like you didn’t post a support thread on the bp-profile-search forum:
    https://wordpress.org/support/plugin/bp-profile-search

    Please create a thread over there first before creating a ticket on Trac as you did here.

    #276555
    r-a-y
    Keymaster

    To all of those experiencing this issue, do you have certain BuddyPress components deactivated?

    I came across another similar issue and the problem was due to some BuddyPress components being deactivated and a bug with Nouveau.

    #276554
    r-a-y
    Keymaster

    Thanks for the bug report, @brianbws. I’ve just created a ticket here – https://buddypress.trac.wordpress.org/ticket/7969

    Update – I’ve also added a potential fix here – https://buddypress.trac.wordpress.org/attachment/ticket/7969/7969.02.patch

    For future reports, if there are bugs and you are able to list the steps in order to reproduce the problem on a fresh install, please create tickets over at https://buddypress.trac.wordpress.org (use the same credentials you use on wordpress.org). (Do not make support threads there though!)

    The reason is not all developers are checking the support forums.

    #276548
    r-a-y
    Keymaster

    Notify the plugin developers of bp-profile-search and let them know of the problem.

    If they find that the problem ends up coming from BuddyPress, tell them to post a ticket at https://buddypress.trac.wordpress.org

Viewing 25 results - 2,551 through 2,575 (of 22,644 total)
Skip to toolbar