-
Henry replied to the topic Restricting User Group Profiles in the forum How-to & Troubleshooting 11 years ago
The way to do this would be to wrap info fields in conditional statements like this
if member type is X then
// display info field -
Henry replied to the topic Activation email in the forum How-to & Troubleshooting 11 years ago
Welcome pack by Paul Gibbs will allow you to customise the text in all emails that get sent out via BuddyPress
https://wordpress.org/plugins/welcome-pack/With reference to the emails not getting through to users, perhaps try reverting to the default theme, deactivate all plugins (aside from BP) and see if the problem is still happening.
-
Henry replied to the topic Hide Profiles Without Avatars in the forum How-to & Troubleshooting 11 years ago
There is a plugin by BuddyDev which might help. It allows members to add an avatar on sign up
-
Henry replied to the topic Member login in the forum Installing BuddyPress 11 years ago
You might want to provide more details of the problem. Which version of WP, BP, plugins activated? Which theme are you using?
-
Henry replied to the topic @-mentions in comments and blog post text in the forum How-to & Troubleshooting 11 years ago
Thanks for helping to test @mercime
Trac ticket:
https://buddypress.trac.wordpress.org/ticket/5230 -
Henry replied to the topic Add a variable in bp_has_members in the forum How-to & Troubleshooting 11 years ago
I’m not very familiar with the groups loop (never had groups enabled) but, yes, in theory there is nothing to stop copying functions you need from the BP core, modifying them for your purpose then adding them to your theme’s functions.php file for your own custom use.
-
Henry replied to the topic Add a variable in bp_has_members in the forum How-to & Troubleshooting 11 years ago
For the groups loop, you need to use
bp_group_has_members()
instead ofbp_has_members()
-
Henry replied to the topic Add a variable in bp_has_members in the forum How-to & Troubleshooting 11 years ago
bp_loggedin_user_id()
will hold the exact same value as$the_user_id
anyway. -
Henry replied to the topic Link to a private message in the forum How-to & Troubleshooting 11 years ago
article?
-
Henry replied to the topic Add a variable in bp_has_members in the forum How-to & Troubleshooting 11 years ago
I noticed in your code these lines aren’t being used:
global $bp;
$the_user_id = $bp->loggedin_user->userdata->ID;
$the_user_login = $bp->loggedin_user->userdata->user_login;Unless you’re using
$the_user_login
or$the_user_id
it should be safe to remove them. -
Henry replied to the topic Link to a private message in the forum How-to & Troubleshooting 11 years ago
The user ID of the admin is usually 1. That assumes you have just one administrator and that was the first user created when you set up BP. The thread ID is the ID of the private message. You can get this from the URL. It’ll end something like /view/86. It is the digit that you want.
-
Henry replied to the topic Link to a private message in the forum How-to & Troubleshooting 11 years ago
You’ll need the
$user_id
and$thread_id;
for the link to work. -
Henry replied to the topic Link to a private message in the forum How-to & Troubleshooting 11 years ago
@l-tic unless the person clicking the link is involved in the conversation, linking to a private message will surely result in a 404?
<a href="/<?php echo bp_core_get_username( $user_id ); ?>/messages/view/<?php echo $thread_id; ?>/" title="Message">Message</a>
-
Henry started the topic @-mentions in comments and blog post text in the forum How-to & Troubleshooting 11 years ago
When an @-mention is used in blog post content and comments, is a BP notification sent to the mentioned member?
It doesn’t seem to happen on my fresh install.
-
Henry started the topic [Resolved] Filter for notifications slug in the forum How-to & Troubleshooting 11 years ago
Is there a filter for the notifications slug?
members/username/settings/notifications
I’m looking to change the wording to ’emails’ so it doesn’t confuse members with BP core notifications
-
Henry replied to the topic Members Directory sort function not working in the forum How-to & Troubleshooting 11 years ago
@tayenewm just a thought – do you know if the developer made any customisations to the BuddyPress core? This is quite bad practice but it is a possibility. If that has happened then there are 3 options…
live with a broken sort feature
try to get in contact with the developer to see what changes have been made
reinstall WP and…[Read more]
-
Henry replied to the topic Members Directory sort function not working in the forum How-to & Troubleshooting 11 years ago
@tayenewm there is a good chance this is down to your theme so reinstalling BuddyPress is most probably unnecessary.
If the developer has modified any of the markup in members-loop.php then there is a good chance the modifications are what has broken the sort feature. The sort feature is dependent on certain page elements so if any class names or…[Read more]
-
Henry replied to the topic Ability to dismiss template notices in the forum How-to & Troubleshooting 11 years ago
OK so perhaps it hasn’t been. I decided on using this solution if anyone else ever needs it:
<script>
$(document).mouseup(function (e)
{
var notice = $(".bp-template-notice");if (!notice.is(e.target)
&& notice.has(e.target).length === 0)
{
notice.hide();
}});
</script>This will dismiss the template notice…[Read more]
-
Henry started the topic Ability to dismiss template notices in the forum How-to & Troubleshooting 11 years ago
I’m toying with the idea of introducing a dismiss button on template notices so the user is able to remove the message from the page by clicking on a remove icon.
Is there an easy way to do this? I mean has it already been done?
Thanks in advance.
-
Henry replied to the topic Private messages outside /member/messages in the forum How-to & Troubleshooting 11 years ago
This will help:
- Load More
@henrywright-1
Active 9 years, 10 months ago