Search Results for 'buddypress'
-
AuthorSearch Results
-
January 28, 2016 at 2:43 pm #249243
In reply to: Cannot create groups
Slava Abakumov
ModeratorBecause of no
.htaccessfile (and no WordPress permalinks) BuddyPress will not be working properly. It requires permalinks enabled. On BuddyPress activation you should see this text:
You must update your permalink structure to something other than the default for it to work.January 28, 2016 at 10:46 am #249234Slava Abakumov
ModeratorInstall
(BuddyPress) Log inwidget in sidebar. It will have both login form and logout link.
http://screencast.com/t/J37U1SgxRbJanuary 28, 2016 at 1:49 am #249222In reply to: Removing a step from the group creation process
lolotrgeek
ParticipantI was having this same problem and after a long mostly fruitless search I finally found a solid/working answer. The way buddypress currently handles these tabs is quite unwieldy so removing each tab requires a different method…
How to remove group settings tab:
function bp_remove_group_step_settings($array) { $array = array( 'group-details' => array( 'name' => _x( 'Details', 'Group screen nav', 'buddypress' ), 'position' => 0 ) ); return $array; } add_filter ('groups_create_group_steps', 'bp_remove_group_step_settings', 10, 1);(reference)
How to remove group avatar and cover photo tabs:
1. go to Dashboard » BuddyPress » Settings
2. untick Group Photo Uploads and Group Cover Image UploadsHow to remove group invite tab:
function bp_remove_group_step_invites() { global $bp; unset( $bp->groups->group_creation_steps['group-invites'] ); } add_action( 'bp_init', 'bp_remove_group_step_invites', 9999 );How to remove forums tab:
Disable forums for buddypress…still havent figured out a more practical answer…Hope this helps though!
January 27, 2016 at 11:54 pm #249213In reply to: subject in private message
shanebp
ModeratorCreate a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\messages\compose.phpAnd adjust the
subjectinput field so that it looks for your$_GETvariable.January 27, 2016 at 6:45 pm #249204In reply to: Sort Members Alphabetically by Default
kmw1130
ParticipantIt seems like any changes I make to the members-loop.php file doesn’t make a difference, so it makes me wonder if I am updating the correct file. (wp-content\child-theme\buddypress\members\members-loop.php) is the members-loop file I’ve updated. As well as my child-theme function and child-theme\buddypress\members\index.php.
January 27, 2016 at 3:53 pm #249201In reply to: Best Practice For Cusomization
shanebp
ModeratorIf your customizations are theme-specific, then theme/functions.php and theme/buddypress are the places for your code.
You can put code in bp-custom.php, but it will run regardless of which theme is active.
January 27, 2016 at 11:05 am #249192efrap
ParticipantThanks modemlooper. I saw a post of yours a few years back about adding a tab menu in groups directory page – this is a better solution for me , but I didn’t get it to work. I then got interested in boonebgorges Limit a bp_has_groups() loop code, but I need quite a different query for retreiving group ids found in custom posts metavalues – and that code is way above my level.
January 27, 2016 at 10:17 am #249189In reply to: Private Messaging Limit with Membership plans
jazzbuzz
ParticipantHi there,
I am looking for the same solution.
Using Membership Pro and Buddypress.
Anyone found a plugin or a coder? Willing to split costs as well.
Thanks
January 27, 2016 at 8:45 am #249187In reply to: Comments in Activity Stream
Slava Abakumov
ModeratorThere is such setting: http://take.ms/iD38m
It should be checked.And there is also such ticket in trac: https://buddypress.trac.wordpress.org/ticket/6482
It will allow comments syncing between activity stream item and posts (so they will appear in both places – very handy). This feature will be included into upcoming (in March) BuddyPress 2.5.January 26, 2016 at 10:04 pm #249173In reply to: Sort Members Alphabetically by Default
kmw1130
ParticipantI added this to members-loop:
<?php /* Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter() */ ?> <?php do_action( 'bp_before_members_loop' ) ?> <?php if ( bp_ajax_querystring( 'members' ) ==""){ $queryString = "type=alphabetical&action=alphabetical&page=1";} else {$queryString = bp_ajax_querystring( 'members' );} ?> <?php if ( bp_has_members( $queryString) ) : ?> <strong>Index.php</strong> <select id="members-order-by"> <?php if ( bp_is_active( 'xprofile' ) ) : ?> <option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ); ?></option> <?php endif; ?> <option value="active"><?php _e( 'Last Active', 'buddypress' ); ?></option> <option value="newest"><?php _e( 'Newest Registered', 'buddypress' Functions.php (child theme) /** Sort alphabetical name listings by lastname */ function alphabetize_by_last_name( $bp_user_query ) { if ( 'alphabetical' == $bp_user_query->query_vars['type'] ) $bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index(u.display_name, ' ', -1)"; } add_action ( 'bp_pre_user_query', 'alphabetize_by_last_name' );Is that correct?
Thanks
KimJanuary 26, 2016 at 9:19 pm #249172Slava Abakumov
ModeratorPlace this code in bp-custom.php or
functions.phpof your theme.if ( ! is_super_admin() ) { add_filter( 'show_admin_bar', '__return_false' ); }January 26, 2016 at 9:12 pm #249171In reply to: uploading profile photo edge
Slava Abakumov
ModeratorThis is a bug in BuddyPress.
Here is a new ticket: https://buddypress.trac.wordpress.org/ticket/6846January 26, 2016 at 8:46 pm #249166In reply to: member types :xprofilegroup
Slava Abakumov
ModeratorOh, and it seems there is a plugin-based solution for that: http://wptavern.com/conditionally-hide-buddypress-profile-field-groups-based-on-user-role
January 26, 2016 at 8:44 pm #249165In reply to: member types :xprofilegroup
Slava Abakumov
ModeratorOut of the box there is no such setting.
You can take a look at this solution: Hide Profile Field Group from Specific Member Type
January 26, 2016 at 8:35 pm #249163Slava Abakumov
ModeratorHere is related topic: Making Youtube videos responsive
January 26, 2016 at 5:16 pm #249150In reply to: Xenforo Integration?
willywonkabar
ParticipantHey wonky1,
I’m looking to do something similar. I’m currently on VB and want to move to something else. Xenforo looks like a likely candidate, but we want to be able to utilize BuddyPress.
May I ask how you’re running user management, registration and access? Is all of that managed by Xenforo, and WP is just pulling/syncing the data? Or the other way around? Waht are you doing for member profile pages? Combine the buddypress and Xenforo pages, or running two separate ones>
And maybe you can share some details on what you’re using for your bridge.
Lots of questions, but answers would be a big help.
Thanks!
WWB
January 26, 2016 at 4:34 pm #249147Slava Abakumov
ModeratorIf you are talking about site-wide notices – there is a default widget called “(BuddyPress) Sidewide Notices” that just displays notices. You should create them on “Profile -> Messages -> Compose” page, with “This is a notice to all users.” checkbox checked. Make sure you have BuddyPress Message component activated.
See this: http://take.ms/jSAP4
January 26, 2016 at 9:06 am #249140In reply to: buddypress function reference
danbp
Participantsee if this may help you:
http://hookr.io/plugins/buddypress/#index=aJanuary 26, 2016 at 9:05 am #249139In reply to: where is buddypress email notification all turnoff?
danbp
ParticipantIn BuddyPress settings.
wp-admin/options-general.php?page=bp-componentsand deactivate the notifications component.And please, read first the Codex before asking.
January 26, 2016 at 9:01 am #249138In reply to: how can i edit arrange group list?
danbp
ParticipantClosed as duplicate.
Read here: https://buddypress.org/support/topic/where-is-edit-this-3/#post-249128January 26, 2016 at 8:45 am #249134danbp
ParticipantHi,
have you activated Private message option in BuddyPress settings ?
have you the same issue when you use one of the Twenty something theme ?January 26, 2016 at 8:43 am #249133In reply to: where is edit this?
danbp
ParticipantDifferent message, but same answer as on your other topic:
https://buddypress.org/support/topic/where-is-edit-this-3/#post-249128Closing this one a duplicate.
January 26, 2016 at 8:37 am #249132danbp
ParticipantHi,
to modify the group directory sort order, you need a child-theme and a template overload of
groups/index.phpCopy this file from
bp-templates/bp-legacy/buddypress/groups/index.phpto child, to get the following path:
wp-content/themes/your-child-theme/buddypress/groups/index.phpIn this copy, modify the html of the selector you’ll find at line 82~86 so the alpha. sort is in first position instead of latest.
January 26, 2016 at 8:30 am #249130In reply to: Need some help with registration page
Slava Abakumov
ModeratorI don’t see my fix in the source code of the
/registerpage.
Does your theme have/members/or/buddypress/directory? If yes, please give me content of the file/members/register.phpor/buddypress/members/register.php.
If there is no such file, – give me the content of a file (and its name) where you put the code I gave you. You can use http://pastebin.com/ to post there code from file (and post here in a forum only links to those files from pastebin).January 26, 2016 at 8:16 am #249128In reply to: where is edit this?
-
AuthorSearch Results