Search Results for 'buddypress'
-
AuthorSearch Results
-
February 2, 2016 at 10:53 pm #249417
shanebp
ModeratorSame file you used for your code.
You can also use bp_parse_args. It’s probably more appropriate given that you want to affect various templates.
February 2, 2016 at 4:34 pm #249407In reply to: Buddypress and Restricting Page Access
Alonsotron
ParticipantI’ve gone ahead and integrated s2member and it seems to be doing a fine job of restricting page access’ based on assigned user access-levels. Very easy to configure, and integrates with BuddyPress very well.
February 2, 2016 at 3:25 pm #249406In reply to: PUBLIC MESSAGE
Slava Abakumov
ModeratorThat’s the problem with the theme template files (if it redefines BuddyPress templates) or css/js. To make sure that this is with you theme – try to activate via customizer any other theme (like 2015 or 2016), Post button should be on its place.
You can also investigate the source code of your page to make sure that it has a button
#aw-whats-new-submit.I think you have problems with js, check console of your browser. Something in
buddypress.jsmight be the reason.February 2, 2016 at 3:05 pm #249398In reply to: Add Group Category & Cities
Slava Abakumov
ModeratorIt’s possible, but there is no ready-to-use out-of-the-box plugins for that.
Categories: http://wptavern.com/new-plugin-adds-taxonomies-to-buddypress-groups or https://wordpress.org/plugins/bp-group-categoriestypes/
Location: https://github.com/naton/bp-group-location
https://geomywp.com/add-ons/groups-locator/<hr/>
Connected:
https://buddypress.org/support/topic/locationaddress-for-buddypress-groups/February 2, 2016 at 3:04 pm #249399In reply to: BP 2.4 Group Home Page
valuser
ParticipantForgot to mention that I created front.php files and placed them in /wp-content/themes/my-theme/buddypress/groups/single/ folder (copies at http://pastebin.com/DD3GrQp8)
These are reproduced faithfully on the Home tab of each group and the Activity tab appears to the right.
All good – just was wondering (if i haven’t already messed up) whether front end editing is a current option or is even contemplated.
February 2, 2016 at 1:42 pm #249397In reply to: Remove labels from xprofile edit
Slava Abakumov
ModeratorI checked the code – it won’t decrease number of queries. All the data for labels are taken from a global variable, which is set when all fields are populated. So you won’t decrease server load by removing labels.
So you can do that via CSS. There is no other simple solution for that (I’m assuming you are on a BuddyPress 2.4.x). Editing template file won’t help you because of the way the code is structured.
February 2, 2016 at 11:20 am #249385In reply to: how to increase group list in group page?
Slava Abakumov
ModeratorPost this to bp-custom.php or functions.php of your theme.
function redblacked_more_groups_per_page($args) { $args['per_page'] = 40; return $args; } add_filter( 'bp_after_has_groups_parse_args', 'redblacked_more_groups_per_page' );February 2, 2016 at 11:08 am #249383In reply to: Private message link displays twice
Slava Abakumov
ModeratorJust go to StudioPress forum and ask there, as it’s clear from your post that it’s not a BuddyPress issue (as everything is ok in 2016 theme).
February 2, 2016 at 11:04 am #249382In reply to: Adding to Header area
Slava Abakumov
ModeratorSeems, nothing to do here with BuddyPress. It’s better to post this question somewhere else, on basic development forums. You will need basic css/html and perhaps js skills. Or try to hire a developer.
February 2, 2016 at 8:06 am #249372In reply to: Filter Profile Fields
Mark
ParticipantHi @klame,
I am a newbie at all this too. I discovered that the function you pulled off Buddypress.org doesn’t have to be modified to work. You have to simply copy and paste it in your functions.php file as/is without changing a thing. What matters and needs to be modified is the php to render the members loop on your page (e.g.,
<?php if ( bp_has_members( my_custom_ids( 'location', 'san francisco' ) ) ) : ?>). Adding href tags around it I don’t believe is the right idea. That code goes in your members loop where you want the members to be displayed matching that criteria. In my example I am showing only users in San Francisco. I’m pretty sure you can display the members loop anywhere you want but I haven’t tried that yet. I decided to create a page template and I simply copied the code out of my theme’s buddypress members-loop.php file and pasted it into the template file. You could probably even use the default WordPress members-loop.php file as your base, though if you have a theme you’re better off getting it out of there. I hope this helps. Good luck!February 1, 2016 at 5:44 pm #249357In reply to: Registration not working
edragonxx
ParticipantI have similar problem. and also I can’t find anywhere here CREATE NEW TOPIC / POST link I am using this one.
When I installed buddypress our site registration option was disabled. So I enabled it now, and then used REPAIR option –> The following active BuddyPress Components do not have associated WordPress Pages: Activate, Register. Repair <– But the problem is that REPAIR does nothing. How to fix that problem and create these registration and acitvate pages?
Also I noticed from installation manual something weird –> Make sure you have pretty permalinks enabled on your WordPress install. <– WTF is that? There in wordpress does not exist option like pretty permalinks. You have plain, numeric, Post name, and other options, but not “pretty permalinks”. Anyway I am using date/postname version at the moment, it should be pretty enough, but still where is that “pretty permalinks” option and where I should find it?
February 1, 2016 at 12:29 pm #249348In reply to: Re-ordering a custom groups loop
Herman Aus
ParticipantI looked at the BuddyPress core files global.js and ajax.php in /bp_default/_inc/ and found the function that manages the filter select box.
Then I fixed the HTML and used the appropriate classes and now the select box works and the groups loop is re-queried (using BuddyPress AJAX) but it reloads the default loop template instead of my modified loop template.
I also added the search bar to my page using bp_directory_groups_search_form() and that works perfectly. The search results are returned using the modified groups loop.
Any ideas how I could make the filter select box reload by modified groups loop too?
January 31, 2016 at 2:59 am #249323In reply to: Registration not working
rileydong
ParticipantWPLMS support kindly fix the problem for em. The reason is I removed the Name field in the user profile from Buddypress Register. Buddypress need the Name field to generate link to profile.
January 30, 2016 at 10:13 pm #249315In reply to: Adding Text to account details on registration site
shanebp
ModeratorCreate a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\register.phpAnd add your text.
January 30, 2016 at 7:12 pm #249311WalkerDesign1
ParticipantHi Paul,
The profile image is 19kb, it’s resolution 72 pixels.
BuddyPress does allow me to upload a cover image that is 169KB.
BuddyPress does not seem to allow any kind of file size to be uploaded for the member’s profile image. It may have something to do with the Profile Image configuration. Is there a configuration that is specific for the profile image?
January 30, 2016 at 3:58 pm #249307In reply to: subject in private message
acengiz
ParticipantBy the way, i create subfolders as below in my child theme directory and put compose.php in it:
/wp-content/themes/kleo-child/buddypress/members/single/messagesi tried to change label name “friend” to “friiiiend” and result was no change :/
i think i am missing something, what you think?<label for="send-to-input"><?php _e("Send To (Username or Friiiend's Name)", 'buddypress' ); ?></label>January 29, 2016 at 8:04 pm #249293In reply to: Restric Group Create
Slava Abakumov
ModeratorJanuary 29, 2016 at 8:01 pm #249292In reply to: how to disable users from leaving a group?
Slava Abakumov
ModeratorTry this: https://buddypress.org/support/topic/disable-leave-group-and-request-membership-buttons/
And try this plugin as well: https://wordpress.org/plugins/buddypress-mandatory-groups/January 29, 2016 at 3:31 pm #249287In reply to: Re-ordering a custom groups loop
Herman Aus
ParticipantAy, thanks for that link. It certainly asnwers some of my questions!
Earlier I tried taking the selected value and storing it using jQuery.post but I couldn’t figure out how to get a working URL and even if I did, how would the groups list get refreshed?
I figured that BuddyPress has something that already does this. I looked into bp-themes/bp-default/_inc/ajax.php and saw how the bp_ajax_querystring filter is updated there with information from the browser cookies. And I assume that the directory template is reloaded using this function in the same file : bp_dtheme_object_template_loader()
It’s possible that the value from the select form is already stored but the reason why the template isn’t updating is because this line in ajax.php :
// Locate the object template locate_template( array( "$object/$object-loop.php" ), true );can’t locate my custom groups template?
January 29, 2016 at 3:06 pm #249286In reply to: Customize email templates
Henry Wright
ModeratorThanks Paul, this is a nice step forward with reference to sending email in BuddyPress.
Henry Wright
ModeratorThis will be added by your theme. Check out the Template Hierarchy article for info on how to customise what info is displayed.
Ref https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
January 29, 2016 at 10:07 am #249269In reply to: Users receive lost password mail after registration
Paul Wong-Gibbs
KeymasterIt shouldn’t be doing this. I’d carry on by seeing if it’s related to any custom code in your theme or any other plugin or customisation you’ve made.
I’m 99% sure BuddyPress does not itself send the Lost Password email (or trigger any code that does that), so my suspicion is in another plugin. Do you have anything customising wp-login.php (the log-in screen)? That’s where the Lost Password email is usually sent from.
January 29, 2016 at 9:57 am #249267Paul Wong-Gibbs
KeymasterSo the same image can be uploaded OK to the media library, but not BuddyPress? Very odd. How big is this image? (in resolution, and file size)
January 29, 2016 at 9:53 am #249265In reply to: Can i attach a file on private messaging?
Paul Wong-Gibbs
KeymasterI don’t know how well it works, but I found https://wordpress.org/plugins/buddypress-message-attachment/ from a quick search.
January 28, 2016 at 3:11 pm #249245shanebp
ModeratorYour question pertains to bbPress, not BuddyPress.
The bbPress support forum is here.Anyhow…
The filter hook you want is inbbpress\includes\common\functions.phpapply_filters( 'bbp_forum_subscription_mail_message', $message, $topic_id, $forum_id, $user_id );function jorrit_filter_forum_topic_message_email( $message, $topic_id, $forum_id, $user_id ) { $message = wp_trim_words( $message, 15 ); // change 15 to however many words you want return $message; } add_filter( 'bbp_forum_subscription_mail_message', 'jorrit_filter_forum_topic_message_email', 10, 4 ); -
AuthorSearch Results