Search Results for 'buddypress'
-
AuthorSearch Results
-
May 19, 2016 at 9:41 pm #253571
In reply to: Connecting WC Vendors with BP
insearchofasolution
Participant@sharmavishal It won’t let me post my reply here so I try again after this post. I have just tried this but it does not hing really. Do you have any experience with this?
May 19, 2016 at 6:56 pm #253564In reply to: WordPress 4.5
danbp
ParticipantYou’re welcome !
May 19, 2016 at 6:43 pm #253561danbp
ParticipantHi,
read for usage and context for bp_parse_args on codex.
May 19, 2016 at 6:15 pm #253558In reply to: Email template folder
navyspitfire
ParticipantThanks for replying; I already have an ongoing issue regarding sending HTML emails from that codex page (my thread here).
Also that codex page doesn’t really address my issue as a whole; there are a lot of email notifications that are sent out to users and admins, much more than are accessible in the Buddypress Emails admin menu option.
May 19, 2016 at 5:59 pm #253556In reply to: Email template folder
shanebp
ModeratorSee this section: Customize Email Template on this codex page.
May 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 19, 2016 at 12:13 pm #253546In reply to: Sorting activity stream
subair.tc
Participanthi @henrywright , @danbp
Thanks for your great help,
i have solved the issue without hacking the code using the
bp_activity_paged_activities_sql
filter in class-bp-activity-activity.php ~L, 609
the code below is i have used, please refer this thred , where i got some information regarding filters.
add_filter( 'bp_activity_paged_activities_sql', function( $sql, $where_sql, $sort ) { $pos = strpos($sql, 'WHERE a.id IN'); if($pos){ $in_items = implode( ',', $where_sql['in'] ); $sql = str_replace('ORDER BY a.date_recorded DESC' ,' ORDER BY FIELD(id,'.$in_items.') ',$sql); } return $sql; }, 10, 3 );Thanks again for your valuable time and please let me know any suggestions you have 🙂
May 19, 2016 at 9:22 am #253538In reply to: Sort Members
Henry Wright
ModeratorCheck out
BP_User_Querysearch_terms,meta_keyandmeta_valuecould be helpful depending on where you’ve stored your label data. I haven’t tried it, butxprofile_querymight also be useful.May 19, 2016 at 8:25 am #253536In reply to: [Resolved] Base Primary USER REGISTRATION ISSUE
danbp
ParticipantBase is the name of the field group which contains one mandatory field: Name.
You can rename that field but not delete it.See also if this can help you:
How to I delete “This field can be seen by: Everyone?” on my registration page?
May 19, 2016 at 7:02 am #253535In reply to: Group cover photos not uploading
sharmavishal
ParticipantMay 19, 2016 at 6:59 am #253534sharmavishal
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?
-
AuthorSearch Results