-
Henry replied to the topic Private Message Button Label Change in the forum How-to & Troubleshooting 12 years, 10 months ago
actually 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…
-
Henry replied to the topic Private Message Button Label Change in the forum How-to & Troubleshooting 12 years, 10 months ago
You 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.
-
Henry replied to the topic Hide/restrict access to Private Messaging in the forum Creating & Extending 12 years, 10 months ago
you 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…[Read more]
-
Henry replied to the topic Private Message Button Label Change in the forum How-to & Troubleshooting 12 years, 10 months ago
This 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/
-
Henry replied to the topic Is there a list of emails sent out by BuddyPress core? in the forum How-to & Troubleshooting 12 years, 10 months ago
@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 🙂
-
Henry replied to the topic How can I setup yoast SEO to work with buddypress group forums in the forum How-to & Troubleshooting 12 years, 10 months ago
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?
-
Henry replied to the topic How can I setup yoast SEO to work with buddypress group forums in the forum How-to & Troubleshooting 12 years, 10 months ago
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?
-
Henry replied to the topic Is bp-friends-template.php editable? in the forum How-to & Troubleshooting 12 years, 10 months ago
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' ); -
Henry replied to the topic Is there a list of emails sent out by BuddyPress core? in the forum How-to & Troubleshooting 12 years, 10 months ago
Just downloaded Paul Gibb’s Welcome Pack plugin and can see that has a good list of the emails sent.
-
Henry started the topic Is there a list of emails sent out by BuddyPress core? in the forum How-to & Troubleshooting 12 years, 10 months ago
I am looking for a list of the core emails that BuddyPress sends out. So far I have come up with the following
Activate your account
Recieved a new private message
Menitoned in an public messageI’m sure there are more. Grateful if someone can point me in the direction of a comprehensive list
-
Henry replied to the topic Is bp-friends-template.php editable? in the forum How-to & Troubleshooting 12 years, 10 months ago
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.
-
Henry replied to the topic [Resolved] Member search form in header in the forum How-to & Troubleshooting 12 years, 10 months ago
Sorry 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.
-
Henry replied to the topic Limit members search to full name only in the forum How-to & Troubleshooting 12 years, 10 months ago
bump…
-
Henry replied to the topic What happened when my site have 500.000 members and and 1000 Groups in the forum Showcase 12 years, 10 months ago
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…[Read more]
-
Henry replied to the topic Show if user is online by showing green border around avatar in member list in the forum How-to & Troubleshooting 12 years, 10 months ago
Take 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:
-
Henry replied to the topic What happened when my site have 500.000 members and and 1000 Groups in the forum Showcase 12 years, 10 months ago
I’d also be interested to know how scalable BuddyPress is…? Never really tested it past a few thousand members.
-
Henry replied to the topic in the forum Henry 12 years, 10 months ago
@rogercoathup – understanding of both pretty shocking to be honest 🙂
Guessing you’re a Stoke fan?
My team (Arsenal) just had Koscielny sent off and we’re 2 – 1 down so not a great afternoon so far 🙁
-
Henry replied to the topic Last message in private message thread – How to tell if it was sent or received in the forum How-to & Troubleshooting 12 years, 11 months ago
Hi @mercime
The thread example I posted “username/messages/view/30/” can actually have more than two members. Conversations can have lots of members.
Obviously I can tell if the last message in the thread was sent to me by looking at it. I wanted to know how to check programatically. Sorry if I didn’t make that obvious. 🙂
-
Henry replied to the topic Last message in private message thread – How to tell if it was sent or received in the forum How-to & Troubleshooting 12 years, 11 months ago
Hi @mercime,
Apologies, let me explain..
If you see the message listed there then the message was sent
A private message thread can end up with many messages. Some of the messages in the thread were sent by you to a different site member and some of the messages in the thread were received by you (sent to you by site members).
I am interested…[Read more]
-
Henry started the topic Last message in private message thread – How to tell if it was sent or received in the forum How-to & Troubleshooting 12 years, 11 months ago
When viewing a private message thread e.g username/messages/view/30/ – is there a way of knowing if the last message in the thread was sent or received?
- Load More
@henrywright-1
Active 11 years, 5 months ago