Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 4,576 through 4,600 (of 22,651 total)
  • Author
    Search Results
  • shanebp
    Moderator

    just fyi: you can replace this:
    ! bp_current_user_can( 'bp_moderate' )

    with this:
    ! is_super_admin()

    is_super_admin()

    #253675
    sharmavishal
    Participant
    #253653
    danbp
    Participant

    Afaik you have to code something yourself. BP use only display_name for activities and @ mentions and bbPress, if active, also.

    See all existing _display_name related fn here.

    How WP get display_name is related in this topic.

    #253616
    pandafoxxxx
    Participant

    The issue is somewhere inside the ajax.php from the theme. I’m using a custom theme (Not online) on a local version of wordpress. Tried using the functions.php from the legacy template but there is no live update so I skipped that. (Messages doesnt send at all)

    Edit: I fixed the problem with combining ajax.php from the old buddypress template with the new functions.

    #253605
    danbp
    Participant

    BuddyPress is member oriented and they’re some rating plugins out for profiles or groups. For pure content like posts or CPT’s, you have to search for some WP plugin on the plugin repository.

    Another alternative could myCred, which is made for BP. Inconvenient (if ever), it does much more as only allowing rating.

    #253591

    In reply to: Error on installation

    dredre3000
    Participant

    It also says buddypress is not compatible with my version of wordpress so not sure if that’s why…

    danbp
    Participant

    If you are on a multisite install, each profile has a tab containing a list of sites the member belongs too, so those link already exist.
    If you want such link elsewhere, you basically can use this.

    As you say nothing about where you want the link to be on a profile, i assume you want it explicitly showing on the profile header. Following snippet will accomplish that. I tested it on a MS install with 2 blogs (main site + 1 user blog).

    function my_link_to_blog() {
    
    if ( bp_is_user() ) {
    	$user_id = bp_displayed_user_id();	
    } else {
    	$user_id = bp_get_member_user_id();
    }
    
    	$blogs = get_blogs_of_user( $user_id );
    
    	if ( $blogs ) {
    		echo '<ul>';
    			foreach ( $blogs as $blog ) {
    			// exclude the main blog if a user signed to another one
    				if ( $blog->userblog_id != get_current_blog_id() ) { 
    					echo '<li>View my blog<a href="http://' . $blog->domain . $blog->path .'">' .  $blog->blogname . '</a></li>';
    				}
    			}
    		echo '</ul>';
    	}
    
    }
    add_action( 'bp_before_member_header_meta' , 'my_link_to_blog' ); 

    Add to bp-custom.php

    #253582
    megin
    Participant

    I would like to keep the friendliness of display in activity stream. I want to post @display_name instead of @user_login/@user_nicename in post activity stream and show @display_name as result post. Anybody please help me.

    Wordpress version : Version 4.5.2
    Buddypress Version 2.5.2

    #253555

    In reply to: WordPress 4.5

    Don
    Participant

    OK then, perhaps someone should update the last column of that page.

    In addition, https://wordpress.org/plugins/buddypress/ indicates the latest version of BuddyPress is WordPress compatible up to version 4.4.3.

    Thank you,
    Don

    #253524
    danbp
    Participant

    Hi @subairtc,

    see bp_activity_get_where_conditions filter in bp-activity-classes.php ~L. 418

    Here a similar question with more details.

    Also, maybe you can do something based on this snippet, with a different approach.

    /**
     * Change order of activities query string.
     * @param string $query Query string.
     * @return string $query Modified query string.
     */
    function bpfr_filter_activity_default( $query ) {
    	if ( empty( $query ) && !empty( $_POST ) ) {
    		$query = 'order=ASC';
    	}
    	return $query;
    }
    add_filter( 'bp_ajax_querystring', 'bpfr_filter_activity_default', 999 );

    Apologize if i’m wrong. 😉

    #253481
    Joost abrahams
    Participant

    I,m am very sorry but… You did make those changes somehow, wordpress and buddypress only outputs lowercase slugs.

    You are not typing internet adresses directly into your browser? Those links in your chase are generated by your theme? Did you try a different theme? Did you try to change the page slug?

    #253473
    mlwilkerson
    Participant

    Well, what do you know: I just found a fix for my problem here:
    https://buddypress.trac.wordpress.org/ticket/4824#comment:4

    (I had seen that recent fix from @pareshradadiya previously, but hadn’t noticed that it was a recent update to a 3 year old thread. So, figuring it might actually be current and relevant, I gave it a try and it worked.)

    #253465
    mlwilkerson
    Participant

    I’m having the same problem after upgrading to WordPress 4.5.2. I didn’t see the problem prior to that.

    Have you found a solution yet?

    danbp
    Participant

    For readers curious about the answer, autoembed does not run on meta items unless the dev runs it manually themselves ( @r-a-y ).

    More details on BuddyPress Slack.

    #253449
    danbp
    Participant

    Hi Julia,

    it’s a bbPress bug, patched a while ago, but still in. Maybe a day it will be repaired definetly.

    For the moment, you can repair yourself. Open activity.php in wp-content/plugins/bbpress/includes/extend/buddypress/

    Replace following code block at line 277/279:

    $existing = bp_activity_get_specific( array( 'activity_ids' => $activity_id, 'show_hidden' => true, 'spam' => 'all', ) );
    if ( empty( $existing['total'] ) || ( 1 !== (int) $existing['total'] ) )
    return null;

    by

    $existing = new BP_Activity_Activity( $activity_id );
    if ( empty( $existing->component ) ) {
    return null;
    }

    Save and reload to to your site by FTP and you’re done.

    #253418
    semperaye
    Participant

    Better yet, it would be nice if there was a way to change all the BuddyPress buttons globally, including “Add Friend” “Cancel Friendship,” “SEARCH,” etc.

    Example:

    I found this code that changes all the wordpress buttons globally, just not the login and register.

    .wp-core-ui .button-primary, .button {
    background: #99cc66;
    border-color: #669933;
    box-shadow: inset 0 1px 0 rgba(102,153,51,.5),0 1px 0 rgba(0,0,0,.15);
    }

    .wp-core-ui .button-primary:hover, .button-primary:active {
    background: #669933;
    border-color: #99cc66;
    box-shadow: inset 0 1px 0 rgba(102,153,51,.5),0 1px 0 rgba(0,0,0,.15);
    }

    Perhaps there is a .buddypress-core-ui?????

    #253392

    In reply to: Group Type Development

    Christian Wach
    Participant

    A Group Types API is on its way – 7 commits yesterday 🙂 https://buddypress.trac.wordpress.org/ticket/6784

    ndh01
    Participant

    I found I have to declare it in my theme as noted here https://buddypress.trac.wordpress.org/ticket/6570:

    bp_set_theme_compat_feature( 'legacy', array(
    	'name'     => 'cover_image',
    	'settings' => array(
    		'components'   => array( 'xprofile', 'groups' ), /* or you can only use array( 'xprofile' ) to restrict the cover image to users */
    		'width'        => 1170,
    		'height'       => 225,
    		'callback'     => 'swifter_theme_cover_image', /* function that will return to BuddyPress the css to attach to the theme_handle */
    		'theme_handle' => 'swifter',
    	),
    ) );
    #253337
    Paul Wong-Gibbs
    Keymaster

    The change reported in https://buddypress.trac.wordpress.org/ticket/6972 has been added to BuddyPress trunk, and will be included in BP 2.6.

    https://buddypress.trac.wordpress.org/changeset/10747

    wmerussi
    Participant

    Alright, found it!!!

    After placing the code into functions.php I just had to go to WP-Admin -> Appearance -> Menus and get the menu tab item under BuddyPress 🙂

    Cheers!

    #253317
    Henry Wright
    Moderator

    Hi @stefannita

    Try asking this question on the plugin’s support forum.

    https://wordpress.org/support/plugin/bp-profile-search

    #253307
    fredd
    Participant
    #253304
    Jot
    Participant

    Goodnight. Since the last update, buddypress not send emails validating new user accounts. I checked the plug smtp.wordpress and working properly. The problem occurs at the time of registration of a new user.

    #253294
    justarandomuser
    Participant

    OK AJAX is now working. I use now the $GLOBAL variable from WordPress.

    Just the new message, whoch is appended my AJAX, is not correctly dispayed. Will continue to find the problem.

    It looks like the AJAX response (new message) is appended right after <form …> and before the next <div ….>

    <form id="send-reply" action="<?php bp_messages_form_action(); ?>" method="post" class="standard-form">
                <div class="conv-textarea">
                  <?php //do_action( 'bp_before_message_reply_box' ); ?>
                  <textarea name="content" id="message_content" class="auto-height" placeholder=""></textarea>
                  <?php //do_action( 'bp_after_message_reply_box' ); ?>
                  <div class="conv-bottom">                
                    <?php //do_action( 'bp_after_message_reply_box' ); ?>
                    <div class="submit">
                      <input type="submit" name="send" value="<?php esc_attr_e( 'Send Reply', 'buddypress' ); ?>" id="send_reply_button"/>
                    </div>
                    <input type="hidden" id="thread_id" name="thread_id" value="<?php bp_the_thread_id(); ?>" />
                    <input type="hidden" id="messages_order" name="messages_order" value="<?php bp_thread_messages_order(); ?>" />
                    <?php wp_nonce_field( 'messages_send_message', 'send_message_nonce' ); ?>
                  </div>
                </div>
              </form>

    Very strange to put a message there.

    #253288
    Jakob
    Participant

    What happened to the plugin “BP Hide User” from r-a-y? I can’t find it anymore on wordpress.org, it did worke well.

Viewing 25 results - 4,576 through 4,600 (of 22,651 total)
Skip to toolbar