Search Results for 'buddypress'
-
AuthorSearch Results
-
May 19, 2016 at 6:59 am #253534
sharmavishal
ParticipantMay 18, 2016 at 8:37 pm #253529In reply to: WordPress 4.5
danbp
ParticipantOf course !
https://codex.buddypress.org/releases/ > see latest… 🙂May 18, 2016 at 5:52 pm #253525In reply to: Profile field visibiltiy
danbp
ParticipantPerhaps this can help you to go further.
For point 2, maybe this snippet can do the job. Give it a try ! Add it to bp-custom.php
function custom_display_xprofile_fields() { // single field item if ( $data = bp_get_profile_field_data( 'field=Industry' ) ) : // change field name to yours echo '<div class="industry">'. xprofile_get_field_data( 'Industry', bp_displayed_user_id() ) .'</div>'; endif; } add_action( 'bp_after_profile_loop_content' , 'custom_display_xprofile_fields' );May 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 18, 2016 at 3:46 pm #253523In reply to: Incorrect activation email sender
shanebp
ModeratorBP recently added the BP Email API which uses its own methods.
You can place the code in bp-custom.php rather than your theme/functions.php
May 18, 2016 at 2:26 pm #253520In reply to: Incorrect activation email sender
shanebp
ModeratorTry this in your theme/functions.php
add_action( 'bp_email', function( $email_type, $email_obj ) { $email_obj->set_from( "you@yoursite.com", "Your Site" ); }, 10, 2 );May 18, 2016 at 1:57 pm #253518In reply to: buddypress user create groups and forum
Jerry101
ParticipantYes, they are all checked / enabled
BuddyPress -> Components & BuddyPress -> Settings
Can not add groups, not as Admin , Not as User. Neither can I as Admin via Admin panel Groups.
but i still can’t see the “create group tab appear next to invitation tab.
May 18, 2016 at 1:23 pm #253516In reply to: Sorting activity stream
subair.tc
ParticipantI have added the ‘include’ argument with ‘bp_has_activities’ function as
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=activity_update&include='.$sorted_ids ) ) : ?>
where the ‘$sorted_ids’ the comma separated activity id’s in sorted order. But unfortunatly the BuddyPress Core will sort the activities in ASC or DESC order.
I fount the Query used in core file ‘class-bp-activity-activity.php’ inside ‘plugins\buddypress\bp-activity\classes’ on line number : 585 as
// Query first for activity IDs. $activity_ids_sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} ORDER BY a.date_recorded {$sort}, a.id {$sort}";and i have replaced it as
if($in) $activity_ids_sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} ORDER BY FIELD(id,$in)"; else $activity_ids_sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} ORDER BY a.date_recorded {$sort}, a.id {$sort}";Now it’s working fine for me, But it’s not recommended to modify the core file
So please let me know if any one know the filter hook used for modifying the Query from the file itself.
May 18, 2016 at 12:49 pm #253514In reply to: private message spammers
sharmavishal
Participantcheck this but its a paid plugin
May 18, 2016 at 12:43 pm #253513In reply to: Interactive gallery that includes sales
sharmavishal
Participantgoogle “buddypress portfolio” and you will find couple of options…
May 18, 2016 at 12:17 pm #253505In reply to: Users Blog Post on activity stream
sharmavishal
Participantmy bad…i got confused..i was talking about another user blog plugin for buddypress…so u need to ask sbrajesh then…
May 18, 2016 at 12:15 pm #253504In reply to: [Resolved] Upload avatar error
sharmavishal
Participantthis has been asked many times on this forums….check the avatar related in the following article
May 18, 2016 at 11:50 am #253495In reply to: Heavy resource load
sharmavishal
Participantinstall Query Monitor and Query Monitor bbPress & BuddyPress Conditionals this 2 plugins..figure out what is hogging your resources
May 17, 2016 at 9:51 pm #253482In reply to: buddypress changing permalinks to caps
jclark1234
ParticipantI have spent 20 hours on tech support to figure this out.
My host tech support at WP Engine went through and we tested every plugin and isolated that the capitalization appears only when buddypress plug in is activate.
As I wrote in my original post “I am using wp 4.5.2 and the ispirit 1.1.2 and it replicates with the
standard themes. It happens in safari, chrome and on iphone browser.”When I stay standard themes I mean the three that come with the wp install.
We (wpengine and I) did redirects so that when the bp system generates the odd capitalization issue it redirects to the page with the caps.
Go here and watch it redirect http://www.championcollegeservices.com/register to http://www.championcollegeservices.com/Register
We did that redirect as a temporary solution so that people could at least sign on.
The bug needs to be found and fixed.
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 9:02 pm #253480In 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 #253440 -
AuthorSearch Results