Search Results for 'wordpress'
-
AuthorSearch Results
-
May 23, 2016 at 6:47 pm #253688
shanebp
Moderatorjust fyi: you can replace this:
! bp_current_user_can( 'bp_moderate' )with this:
! is_super_admin()May 23, 2016 at 11:50 am #253675In reply to: How to show review activity on buddypress
May 23, 2016 at 7:35 am #253653In reply to: change username to display name
danbp
ParticipantMay 21, 2016 at 1:50 pm #253616In reply to: Direct Message is send 3 times
pandafoxxxx
ParticipantThe 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.
May 21, 2016 at 11:38 am #253605In reply to: How to show review activity on buddypress
danbp
ParticipantBuddyPress 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.
May 20, 2016 at 7:45 pm #253591In reply to: Error on installation
dredre3000
ParticipantIt also says buddypress is not compatible with my version of wordpress so not sure if that’s why…
May 20, 2016 at 2:02 pm #253584danbp
ParticipantIf 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
May 20, 2016 at 12:06 pm #253582Topic: change username to display name
in forum How-to & Troubleshootingmegin
ParticipantI 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.2May 19, 2016 at 5:57 pm #253555In reply to: WordPress 4.5
Don
ParticipantOK 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,
DonMay 18, 2016 at 4:52 pm #253524In reply to: Sorting activity stream
danbp
ParticipantHi @subairtc,
see
bp_activity_get_where_conditionsfilter in bp-activity-classes.php ~L. 418Here 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. 😉
May 17, 2016 at 9:39 pm #253481In reply to: buddypress changing permalinks to caps
Joost abrahams
ParticipantI,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?
May 17, 2016 at 7:22 pm #253473In reply to: Auto Complete Not Working
mlwilkerson
ParticipantWell, 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.)
May 17, 2016 at 6:56 pm #253465In reply to: Auto Complete Not Working
mlwilkerson
ParticipantI’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?
May 17, 2016 at 4:15 pm #253455danbp
ParticipantFor 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.
May 17, 2016 at 1:41 pm #253449In reply to: Edited Forum Posts Repeating in Stream
danbp
ParticipantHi 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.
May 16, 2016 at 2:25 pm #253418In reply to: How to change colors of “SAVE CHANGES” button
semperaye
ParticipantBetter 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?????
May 15, 2016 at 10:49 am #253392In reply to: Group Type Development
Christian Wach
ParticipantA Group Types API is on its way – 7 commits yesterday 🙂 https://buddypress.trac.wordpress.org/ticket/6784
May 13, 2016 at 6:58 pm #253357ndh01
ParticipantI 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', ), ) );May 12, 2016 at 6:22 pm #253337In reply to: @mention autosuggest in visual editor
Paul Wong-Gibbs
KeymasterThe change reported in https://buddypress.trac.wordpress.org/ticket/6972 has been added to BuddyPress trunk, and will be included in BP 2.6.
May 12, 2016 at 4:58 pm #253334wmerussi
ParticipantAlright, 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!
May 12, 2016 at 8:29 am #253317In reply to: Set order members in the search results
Henry Wright
ModeratorHi @stefannita
Try asking this question on the plugin’s support forum.
May 11, 2016 at 7:39 pm #253307In reply to: Adding favourite posts as a tab in buddypress
fredd
ParticipantYou can download this here http://www.gamix.fr/wpbpmyfavorites.php Or https://wordpress.org/plugins/wpbd-my-favorites/
May 11, 2016 at 6:18 pm #253304In reply to: not receiving account confirmation email
Jot
ParticipantGoodnight. 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.
May 11, 2016 at 9:11 am #253294In reply to: BP Custom Message HTML breaks AJAX – why?
justarandomuser
ParticipantOK 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.
May 11, 2016 at 2:16 am #253288In reply to: [Resolved] How to Hide Admin accounts 2016?
Jakob
ParticipantWhat happened to the plugin “BP Hide User” from r-a-y? I can’t find it anymore on wordpress.org, it did worke well.
-
AuthorSearch Results