-
Henry replied to the topic [Resolved] Disable 'activate' page in the forum How-to & Troubleshooting 11 years, 4 months ago
Yep, I wrote a function to do redirect users away from it. You can add this to your theme’s functions.php
function bp_redirect_away_from_activate() {
global $bp;if ( bp_is_activation_page() ) {
wp_redirect( $bp->loggedin_user->domain );
exit();
}
}
add_action('wp','bp_redirect_away_from_activate'); -
Henry replied to the topic BP Album – dont work in the forum How-to & Troubleshooting 11 years, 4 months ago
@la-lena it is probably worth posting in the plugin’s support forum. That way one of the staff at rtCamp will be able to respond. They’ve just released v3.0 which (bit buggy at the moment but their developers release bug fixes super quick)
http://rtcamp.com/groups/buddypress-media/forum/
@modemlooper is also a top dev, try his plugin too.
-
Henry replied to the topic BP Album – dont work in the forum How-to & Troubleshooting 11 years, 4 months ago
BuddyPress Media (soon to be rtMedia) is great for albums. You could give that a try. It works very well for me and is actively supported by the development team.
Never used BP Album myself, perhaps try posting in the plugin’s support forum if you need to get that working.
-
Henry replied to the topic Crazy and yet simple question in the forum Installing BuddyPress 11 years, 4 months ago
The demo used to be at testbp.org but it’s no longer available.
-
Henry replied to the topic Remove Public Message Button in the forum How-to & Troubleshooting 11 years, 4 months ago
@chouf1 wrote a function to remove the button in this thread:
https://buddypress.org/support/topic/remove-public-message-button-in-child-theme/
-
Henry replied to the topic Change language to Hebrew in the forum Installing BuddyPress 11 years, 4 months ago
The language translation page has info that might be useful:
https://codex.buddypress.org/user/translations/
Also see this page for translating WordPress:
-
Henry replied to the topic author name in the forum Creating & Extending 11 years, 4 months ago
So you want to replace fullname “John Doe” with username “johndoe93”? Do you need to make the change sitewide?
r-a-y (BP core developer) has built a plugin for that:
-
Henry replied to the topic [Resolved] Is BuddyPress forums being discontinued in lieu of bbPress? in the forum Third Party Plugins 11 years, 5 months ago
Hugo beat me to it 🙂
-
Henry replied to the topic [Resolved] Is BuddyPress forums being discontinued in lieu of bbPress? in the forum Third Party Plugins 11 years, 5 months ago
Ah yes, my bad. BP forums was pre 1.6.5. The bbPress plugin is different.
This may help you move everything across:
https://codex.buddypress.org/user/buddypress-site-administration/migrating-from-old-forums-to-bbpress-2/ -
Henry replied to the topic [Resolved] Is BuddyPress forums being discontinued in lieu of bbPress? in the forum Third Party Plugins 11 years, 5 months ago
‘BuddyPress forums’ is bbPress (as far as i know)!
-
Henry replied to the topic show header item when user not login in buddypress in the forum How-to & Troubleshooting 11 years, 5 months ago
Your code is outputting the exact same line of code to both logged in users and logged out users:
do_action( 'bp_member_header_actions' );
The idea of an ‘if’ statement is to output different code based on certain criteria being met.
-
Henry replied to the topic show header item when user not login in buddypress in the forum How-to & Troubleshooting 11 years, 5 months ago
it should work, I have used this approach many times.
-
Henry replied to the topic show header item when user not login in buddypress in the forum How-to & Troubleshooting 11 years, 5 months ago
I’m not sure what you’re asking exactly but take a look at this:
<?php
if ( is_user_logged_in() ) {
// whatever you put here will be displayed if the user is logged in
} else {
// whatever you put here will be displayed when logged out
}
?> -
Henry replied to the topic show header item when user not login in buddypress in the forum How-to & Troubleshooting 11 years, 5 months ago
‘Add friend’ and ‘send private message’ aren’t supposed to display when a user is logged out. For example, how would BuddyPress know who the friend request came from? How would BP know who the private message came from?
-
Henry replied to the topic Adding extra field data to Members Directory in the forum How-to & Troubleshooting 11 years, 5 months ago
I wasn’t going to suggest you use bp-default, in fact I was going to suggest a switch from it. As @hnla mentioned, 1.7 introduced a template hierarchy which will allow your developers much more flexibility when working with BP. Watch for the 1.8 release – it introduces an even more advanced template hierarchy (the dev and testing teams…[Read more]
-
Henry replied to the topic too many redirects in the forum How-to & Troubleshooting 11 years, 5 months ago
Try to get as many details from the client as you can. Browser, version and so on. Then perhaps try again using their exact environment. Might help you replicate the issue.
-
Henry replied to the topic How do you add something to bp_group_header_actions ? in the forum How-to & Troubleshooting 11 years, 5 months ago
@shanebp nice approach targeting the array item, didn’t think of that!
-
Henry replied to the topic Adding extra field data to Members Directory in the forum How-to & Troubleshooting 11 years, 5 months ago
Are you using the bp-default template or the newer template hierarchy method?
-
Henry replied to the topic How do you add something to bp_group_header_actions ? in the forum How-to & Troubleshooting 11 years, 5 months ago
If you add this to your theme’s functions.php it will basically filter the entire button. You’ll then be free to modify whatever you need:
//filter group button
function bp_change_group_button( $button ) {global $groups_template;
if ( empty( $group ) )
$group =& $groups_template->group;if ( !is_user_logged_in() ||…[Read more]
-
Henry replied to the topic How do you add something to bp_group_header_actions ? in the forum How-to & Troubleshooting 11 years, 5 months ago
Looks like you’re on the right track. The do_action will execute a particular function. However, the statements inside that function build a button. It is these statements you’d need to change if you want to modify the button.
Filters CHANGE stuff.
So are you trying to change the new topic button or the group join button? These buttons are…[Read more]
- Load More
@henrywright-1
Active 9 years, 10 months ago