Search Results for 'buddypress'
-
AuthorSearch Results
-
May 17, 2016 at 9:02 pm #253480
In reply to: buddypress changing permalinks to caps
jclark1234
ParticipantJoost…do you see? We did not make those changes they just POODF! magically appeared thanks to buddypress. Nothing we did. It is a bug.
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:47 pm #253464In reply to: 404 Page on user specific freinds, groups, … pages
pjbarry21
ParticipantDid you find a solution to this? We’re running into this on a clean install. I’ve seen a post about possibly a clean install, but making sure to enable “anyone can register” before installing BuddyPress, but was hoping to find a solution that didn’t require that (and no idea if it would fix it).
May 17, 2016 at 6:19 pm #253463In reply to: 404 when accessing Group Forum
name
ParticipantA little more info – When I enable the setting in bbpress to allow buddypress forums, I still don’t see any forum options on the front end when creating a new group (the option is only on the backend for groups)
I confirmed that the group creates a forum_id in database: value of a:1:{i:0;i:21901;}
And that forum 21901 exists in wp_postsI also confirmed that the enable_forum value is set to 1 for the group ID in wp_bp_groups
May 17, 2016 at 5:24 pm #253457Topic: Private Messages Pages
in forum How-to & Troubleshootingmanicexpression
ParticipantAre there any ways to separate the Buddypress Private Messages system into pages? A long conversation can become daunting to scroll through. Also is it possible to set the newest messages to appear at the top?
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 17, 2016 at 12:48 pm #253447danbp
ParticipantPrivate group options are
- Only users who request membership and are accepted can join the group.
- This group will be listed in the groups directory and in search results.
- Group content and activity will only be visible to members of the group.
To modify option 3, you can code something.
Read from here.May 17, 2016 at 8:41 am #253443megin
ParticipantHi @danbp,
Thank you for your reply.
I wrote bp-custom.php inside the folder( wp-content/plugins/).I would link to add extra field inside the file( buddypress/bp-themes/bp-default/activity/post-form.php) and need to insert that value on the table (wp_bp_activity_meta). I wrote the function for this purpose. Unfortunately its not working. please help.
function add_meta_to_activity( $content, $user_id, $activity_id ) { bp_activity_update_meta( $activity_id, 'option1', $_POST['option1'] ); } add_action( 'bp_activity_posted_update', 'add_meta_to_activity', 10, 3 );May 17, 2016 at 7:21 am #253440May 17, 2016 at 7:07 am #253437In reply to: [Resolved] BuddyPress Links URLs
danbp
ParticipantHi @famous,
anything directly related to URL for bp is listed here:
http://hookr.io/plugins/buddypress/#index=l&search=urlIn most case, you can built a link by array, which generally extend pre existing parameters. It’s very variable and depend where and how the link shoud work.
Here some exemple snippets to add a link to a member’s profile.
/* add external link on buddy menu bar */ function bpfr_menubar_link() { global $bp; if ( !is_user_logged_in() ) return false; $link = bp_get_loggedin_user_link(); $bp->bp_nav[$slug] = array( 'name' => 'View my profile', 'slug' => 'super_link', 'link' => $link, 'css_id' => 'super-link', 'position' => 20 ); } add_action( 'bp_core_new_nav_item', 'bpfr_menubar_link', 999 ); /* link to profile on SWA page */ function goto_my_profile_tab() { if ( !is_user_logged_in() ) return false; if ( bp_is_active( 'xprofile' ) ) echo '<li><a href="'. bp_get_loggedin_user_link() .'">View my profile</a></li>'; } add_action( 'bp_activity_type_tabs', 'goto_my_profile_tab' ); // SWA page add_action( 'bp_members_directory_member_types', 'goto_my_profile_tab' ); // members directory page /* shortcode linking to profile [xyz] */ function bpfr_link_to_profile() { return '<a href="'. bp_get_loggedin_user_link() .'">View my profile</a>'; } add_shortcode( 'xyz', 'bpfr_link_to_profile' );Another technique for groups here.
In hope this will help you to go further.
May 16, 2016 at 4:51 pm #253427In reply to: BuddyPress – Auto join group
Andrew Tegenkamp
ParticipantThere is also a free plugin at http://www.buddyboss.com/purchase/buddypress-auto-group-join/ if that helps.
May 16, 2016 at 2:49 pm #253422In reply to: Buddypress pages overriding my theme
modemlooper
Moderatorthat’s correct, BuddyPress filters the the_content of a BP page so anything you add to the content editor will not show. BuddyPress uses your themes page.php for all its pages so its kind moot to add content in the editor unless its something to display site wide. You are better off hooking to bp template hooks to display extra content on specific pages.
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 16, 2016 at 1:12 am #253406In reply to: How to change colors of “SAVE CHANGES” button
semperaye
ParticipantSomeone helped me do this for bbpress and it looked like this:
#bbpress-forums .submit {
background-color: #0f5289;
color: #FFFFFF;
float: center;
vertical-align: middle;
border-radius: 0;
height: auto;
width: auto;
}#bbpress-forums .submit:hover {
background-color: #0c2b44;
color: #FFFFFF;
float: center;
vertical-align: middle;
border-radius: 0;
height: auto;
width: auto;How can I do the same with hover in buddypress?
May 15, 2016 at 6:01 pm #253402In reply to: PHP 7.0 compatibility
mln83
ParticipantThanks for the feedback!
I am now testing it on my developer site. Also noticed problems with BuddyPress after restoring via VaultPress to my developer site. I got this error:
require(): Failed opening required 'Xd#�F+' (include_path='.:/usr/local/php70/pear') in /home/****/public_html/dev/wp-content/plugins/buddypress/bp-messages/bp-messages-classes.php on line 14and
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 549755814048 bytes) in /home/****/public_html/dev/wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 370So it seems that BuddyPress needs to be updated for PHP 7.0.6+
Best regards,
MichaelMay 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 14, 2016 at 9:43 pm #253387In reply to: Bussdypress title and SEO Yoast problem
officeninjas
ParticipantThanks @r0z for the elegant solution.
I would just add that in order to prevent PHP Notices, change the qualifier to the following:
if ( function_exists( 'buddypress') && ( !empty( buddypress()->displayed_user->id ) || !empty( buddypress()->current_component ) ) ) {May 14, 2016 at 3:13 am #253367prdufresne
ParticipantI was able to override the offending settings by adding a few lines in the custom css file of my theme. Below are the changes I made to resolve the issue, in case anyone else runs into a similar problem
#buddypress table.profile-fields td.label { color: #555555; display: table-cell; }May 13, 2016 at 7:31 pm #253359In reply to: CPT in Activity with Detail
shanebp
Moderator…build the CPTs in a more traditional way.
That would be useful knowledge, but registering CPTs for BP can be a bit different.
If you haven’t, look at this codex page.
And you may actually want to build a custom BP component.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 3:22 pm #253328In reply to: Latest WP compatibility
RGB Lab
ParticipantHi Henry,
Here is screenshot from Dashboard: http://screencast.com/t/CWRf167CAT
Furthermore, I’ve reported this to you guys as well as to dev team of Rev Slider: https://buddypress.org/support/topic/bp_setup_current_user-and-slider-revolution/ Just hoping new versions of plugins will be compatible among eachother.
Thanks.
May 12, 2016 at 1:59 pm #253324In reply to: CPT in Activity with Detail
shanebp
ModeratorIt sounds like you want to filter the content body of the activity item.
There is a filter hook for that:
apply_filters_ref_array( 'bp_get_activity_content_body', array( $activities_template->activity->content, &$activities_template->activity ) );
infunction bp_activity_content_body()in
buddypress\bp-activity\bp-activity-template.phpI think the main issue will be determining if the entry is related to your CPT.
And that will be affected by how you created the CPT.
There may be some info in the second argument – maybe in["type"]?Try:
function ben_filter_activity_body( $content, $activity ) { var_dump( $activity ); $content = ' Start of your content ' . $content; return $content; } add_filter( 'bp_get_activity_content_body', 'ben_filter_activity_body', 25, 2 ); -
AuthorSearch Results