Forum Replies Created
-
In reply to: Registration Process
Not currently for hire due to a lack of time – that said, there are quite a few BP developers who will be able to help. Perhaps check who is available on the jobs board. @shanebp might be a good person to ask
In reply to: Registration ProcessYour theme’s functions.php file wouldn’t get overwritten with each update. The changes you make to this file will be safe going forward.
A great place to hire a BuddyPress developer would be the BP Jobs Board:
In reply to: Show members with certain roleIf you use this code directly below
while ( bp_members() ) : bp_the_member();in the members loop, you’ll be able to see which members are editors.<?php $user_id = bp_get_member_user_id(); $user = new WP_User( $user_id ); if ( $user->roles[0] == 'editor' ) { echo 'this user is an editor'; } else { echo 'this user is not an editor'; } ?>I know this isn’t exactly what you’d like to do but it should put you on the right track.
Note: This code assumes that all of your users have a single role assigned.
In reply to: Registration ProcessYou’re on the right track – although it isn’t your theme’s style.css that you’d want to add it to. You’d add it to your theme’s functions.php file.
In reply to: Registration ProcessThe activation email body can be filtered using
bp_core_signup_send_validation_email_messageThe subject line can also be changed
bp_core_signup_send_validation_email_subjectFor example: To change the subject line you would add this to functions.php
function activation_email_subject_filter( $subject, $user_id ) { $subject = 'Hello New User'; return $subject; } add_filter('bp_core_signup_send_validation_email_subject', 'activation_email_subject_filter', 10, 2 );In reply to: How to make Avatar a requirement?Which premium plugin did you find?
To make uploading an avatar a requirement you’d have to have an upload form on the registration page. This used to happen in BuddyPress. Some discussion on it in this thread:
https://wordpress.org/support/topic/plugin-buddypress-avatar-upload-in-registration-formDisabling usernames sitewide sounds like a huge task to me. BuddyPress needs a unique identifier to use in URLs. Have you thought about providing your members with the ability to change their username?
You’d just need to send a global message to all members letting them know how they can update their username.
In reply to: Media Plugin for BuddypressThere was an alternative to BuddyPress Media (rtMedia) – I think it was called BP Media. I’m not sure if it is supported anymore or even in the WP plugin repository but it might be worth a try if you can get hold of it. That said, rtMedia is working very well for me on my test site. Will be putting it live in the next few weeks.
In reply to: Remove [Site Name] from email subject lineHi @naijaping I tried that filter and it doesn’t work. Does it still work for you?
In reply to: Hide/restrict access to Private Messaging@shanebp – oops thanks for pointing that out.
global $bp;can be removedIn reply to: Private Message Button Label Change@shanebp good point about using the bp_send_private_message_link approach. Although you would avoid double buttons by using a translation file.
In reply to: Private Message Button Label Changeactually you could make use of the
bp_send_private_message_linkfunction and do it like this:<a href="<?php bp_send_private_message_link() ?>" title="Private Message">Private Message</a>You can change the “Private Message” text to whatever you like. You’d just paste the code into your theme where ever you’d like the button to appear
In reply to: Private Message Button Label ChangeYou could do it like that but each time you update BuddyPress you’ll lose the changes you’ve made to bp-messages-template.php. I’d try to avoid making changes to the plugin core.
In reply to: Hide/restrict access to Private Messagingyou would add something like this to your theme’s functions.php
function bp_disable_messaging() { global $bp; if ( USER_TO_DISALLOW && bp_is_current_component('messages') ) { wp_redirect( home_url() ); exit(); } } add_action('wp','bp_disable_messaging');Note: USER_TO_DISALLOW would be your unpaid WooCommerce users. You would need to get whatever this was from WooCommerce as I’m not familiar with the plugin. Once you’ve added that bit in the code should work.
In reply to: Private Message Button Label ChangeThis will help you. It shows you how to change most of the text labels and messages outputted by BuddyPress:
https://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/
@hnla I was planning something infinitely more simple 🙂
Just working on a little project and wanted to filter the body text and subject line of a few of the emails that are sent out.
Besides you don’t need a legend, I’m sure you could make it happen 🙂
I haven’t tried it yet but will give it a go! BuddyDev often replies to support tickets so it might be worth you raising your question with him?
Yoast SEO doesn’t work with BuddyPress at all. Going forward this may change but in the mean time Brajesh’s plugin is your best bet. Might be a good idea to ask him for support?
In reply to: Is bp-friends-template.php editable?As Hugo said you could always add classes to the body element. You would do it like this:
//add class to body element function add_to_body_class( $classes ) { $classes[] = 'custom_class_name_goes_here'; return $classes; } add_filter( 'body_class', 'add_to_body_class' );Just downloaded Paul Gibb’s Welcome Pack plugin and can see that has a good list of the emails sent.
In reply to: Is bp-friends-template.php editable?As @hnla said, bp-friends-template.php isn’t a template file so you can’t override it. Some parts of it may be filterable (look for the apply_filters() function) so you may be able to modify parts of it’s output via your theme’s functions.php. Again though – it all depends on what you want to do.
In reply to: [Resolved] Member search form in headerSorry for the delay in my reply @prolet. Assuming you want the search form in your site’s header then you’d paste it in your theme’s header.php file.
In reply to: Limit members search to full name onlybump…
Yes, I think one of the BP core developers worked at The Telegraph before his move to Automattic.
I would guess the number of active users should be the main metric to use. A site with 1m inactive users will test just how much data the server can hold whereas a site with 1m active users will test so much more.
See this response I found on Quora from @jjj:
http://www.quora.com/BuddyPress/What-is-the-largest-online-community-that-is-running-BuddyPressTake a look at @shanebp’s posts in this thread:
Also some more info
Here:
http://blog.svnlabs.com/wordpress-user-is-online-or-offline/and here: