…can I just create those pages to satisfy BuddyPress and then just make them private?
You can. In fact, if you’re sure you’ll never need them you can perform a 301 permanent redirect to ensure they never show. For example:
function redirect_pages() {
if ( bp_is_register_page() || bp_is_activation_page() || bp_is_members_component() ) {
wp_redirect( home_url(), 301 );
exit();
}
}
add_action( 'template_redirect', 'redirect_pages' );
If for some reason you find you do in fact need the activation page, then remove || bp_is_activation_page() from the above code.
I have installed Buddypress 1.9.2 on wordpress 3.8.1. Problem is that when users log on to the portal, they have access to my entire website including the adin panel. I also cant get an appropriate sign up plugin. I cant access other peoples profiles when I click on their avatars.
Any suggestion will be appreciated
1 Year 5 Months later I see that this isn’t automatic with the BP default theme-
I don’t believe that I’m missing something.
Please can you guys at buddypress.org make this happen?
Thank you
Mark M.
Hello
I’m using wordpress 3.0.4 and buddypress 1.2.7. I’ve changed the Permalink on WordPress configuration to the following :
Month and name. Example:
http://www.mysoundfriends.com/2014/02/sample-post/"
in the activity Stream the link to the detailpage is shown as:
http://www.mysoundfriends.com/2012/07/alle-farben-danse/
You can see the link on mysoundfriends.com and click on the tab “popular”
but if you click on the link, the url is shown as the follow
http://www.mysoundfriends.com/beli/posts/2427
Have you any idea why it’s not working on the detail page?
thanks in advance
beli
other details:
* WP installed in a subdirectory of root
* i’m using a customized theme (at the beginning it was bp-social) but now we changed the layout completely
Hello
I’m using wordpress 3.0.4 and buddypress 1.2.7. I’ve changed the Permalink on WordPress configuration to the following :
Month and name. Example:
http://www.mysoundfriends.com/2014/02/sample-post/"
in the activity Stream the link to the detailpage is shown as:
http://www.mysoundfriends.com/2012/07/alle-farben-danse/</a)
You can see the link on mysoundfriends.com and click on the tab “popular”
but if you click on the link, the url is shown as the follow
http://www.mysoundfriends.com/beli/posts/2427
Have you any idea why it’s not working on the detail page?
thanks in advance
beli
other details:
* WP installed in a subdirectory of root
* i’m using a customized theme (at the beginning it was bp-social) but now we changed the layout completely
If I have a membership plugin controlling registration, I don’t need a membership directory, and I don’t THINK I need the activation page, can I just create those pages to satisfy BuddyPress and then just make them private?
People only need to become a user after they have become a member so no one will be signing up just for a Buddypress profile. I wasn’t sure exactly what was involved in Activation page, if that was mandatory before someone could use their profile.
bp_loggedin_user_avatar will echo the url
bp_get_loggedin_user_avatar will return the url
See buddypress\bp-members\bp-members-template.php
Trying to insert buddypress avatar url into postgres table when user upload new avatar.
Function bp_loggedin_user_avatar( ‘html=false’ ) gives proper URL but it just echoes it to screen.Not able to assigned value to variable $user_avatar_url and include it into query.
Is there way to have url properly inserted into sql query?
if ( ! bp_core_avatar_handle_crop( $args ) ) {
bp_core_add_message( __( 'There was a problem cropping your avatar.', 'buddypress' ), 'error' );
} else {
bp_core_add_message( __( 'Your new avatar was uploaded successfully.', 'buddypress' ) );
do_action( 'xprofile_avatar_uploaded' );
// save avatar to postgres
$logged_email= bp_core_get_user_email(get_current_user_id());
$user_avatar_url= bp_loggedin_user_avatar( 'html=false' );
$query = "UPDATE table_name SET avatar = '$user_avatar_url' WHERE user_email = '$logged_email'";
echo $query;
pg_exec($query);
}
}
I install buddypress for my website,and turn the group Component on, but when I use object cache (such as memechache,apc object cache),the join group or leave group button has a bug.when I join a group in group page,the join button not change. When I leave a group in a group page,the leave group button not changle.By the way,The groups’s join button or leave button is working good.
Somebody help me?I’m chinese,english is very poor ,my website’s theme is buddyboss.
my website:
http://www.guoshe.net
Hi there,
I’m wondering how I can add the buddypress-activity-plus icons (picture, video, website links) to the bp-activity-shortcode plugin.
I’ve added the following code to the plugin, but it just gave me the regular “What’s New” form, without the icons:
<?php if ( is_user_logged_in() ) : ?>
<?php locate_template( array( ‘activity/post-form.php’), true ); ?>
<?php endif; ?><br />
Thanks for any help!
Using the free version of membership with wordpress 3.8.1 and buddypress 1.9.2
i have not allow free registration on my site, visitors can access some free content and if they want to access all content they have to register first, for registration, currently i have process like on registration page they choose paid subscription plane -> fill the registration form ->choose payment method to pay and after payment they can login.
but, the problem is that when user choose plan and fill the registration form, they logged in automatically before paying for plane, the pay for subscription option displayed after loggedin.
I want that user can login after paying for subscription plan.
Any help appreciated.
Thanks in advance
There is a plugin for this but you have to download it directly from the site (it is not in the wordpress plugin directory. At least it wasn’t via my searches).
BuddyPress Activity Comment Notifier
I can’t believe that activity notifications on comments is not a core functionality. I have submitted a feature request for this.
https://buddypress.trac.wordpress.org/ticket/5430#ticket
Does buddypress have any plugins that disable their edit authority under the extended profiles?
thanks.
@szed
Any luck with adding the buddypress-activity-plus icons with the buddypress activity shortcode plugin?
Thanks!
Sounds like javascript is not loading properly in your admin.
BuddyPress is pretty thoroughly tested and doesn’t normally cause that kind of error. So I would have to assume BuddyPress Like is the cause. Especially if you only get the error with that plugin activated. I would ask the developer of BuddyPress Like directly.
I have used Bad Behavior. It’s ok.
I found the best solution so far has been BuddyPress Security Check.
https://wordpress.org/plugins/bp-security-check/
It knocked out the majority of spam for me, and I’ve tested many spam plugins. You’ll still get some spammers, but hopefully less.
Most spammers leave links in forums. BuddyPress could really use a method to block new users who post links pending approval.
This plugin puts users in moderation on signup:
https://wordpress.org/plugins/bp-registration-options/
But that still requires you to manually activate everyone…
Not sure why that doesn’t work. You might want to download this plugin (which supposedly works with BuddyPress) and investigate their code to see how they’re doing it.
https://wordpress.org/plugins/embedly/
There actually is a plugin that accomplishes this (the initial request) to some extent. See:
https://wordpress.org/plugins/buddypress-user-account-type-lite/
This would be a really great core feature. It would allow you to have member types with different profile data collected based on the first condition.
Some examples:
- teacher/student
- employer/applicant
- man/woman
- manager/employee
- etc.
Right, and to anyone else reading this, you also have to install bbPress first and make sure to adjust your forum settings to allow BuddyPress groups to have forums.
A membership plugin is generally used to determine user roles and capabilities (and to charge users for access). All WordPress users should be automatically also BuddyPress users. One hiccup is if they have not ever logged in they may not display on the front end in the main BuddyPress members directory. I believe it only shows users if they have some activity, such as a login or register. If they predate BuddyPress activation they MAY need to do something before they appear in the Members directory, but rest assured they do have BuddyPress profiles that they can access with their existing WordPress login credentials.
@joshwinkles With BuddyPress installed, try going to yoursite.com/members/username whilst logged in as a WP user. If you can edit your profile, change your avatar etc then it works!
Sorry i think i posted in wrong forum before. Maybe this part is better to ask this type of questions.
I want that our users would be able to paste in code from verold so they their friends and colleagues can view their models in buddypress. Embedding Verold works in bbpress, wordpress but not buddypress.
Can anyone direct me to this problem, how to make this work?
What is missing?
<?php
wp_embed_register_handler('verold’, 'http://studio.verold.com/projects/([\w]+)/embed', 'wp_embed_handler_verold');
function wp_embed_handler_verold($matches, $attr, $url, $rawattr) {
$embed = sprintf(
'<iframe frameborder="0" width="600" height="400"
src="http://studio.verold.com/projects/%1$s/embed"></iframe>',
esc_attr($matches[1]));
return apply_filters('embed_verold', $embed, $matches, $attr, $url, $rawattr);
}
?>
Ok, I found the solution by myself.
You have to check on the box at Settings / BuddyPress / Components / User Groups and save settings.
After that you will find a new button named Groups in the left hand admin section.
Can anyone see if it is something wrong with this code or test it who has more knowledge about buddypress?.
<?php
wp_embed_register_handler('verold’, 'http://studio.verold.com/projects/([\w]+)/embed', 'wp_embed_handler_verold');
function wp_embed_handler_verold($matches, $attr, $url, $rawattr) {
$embed = sprintf(
'<iframe frameborder="0" width="600" height="400"
src="http://studio.verold.com/projects/%1$s/embed"></iframe>',
esc_attr($matches[1]));
return apply_filters('embed_verold', $embed, $matches, $attr, $url, $rawattr);
}
?>
Best Regards
WP v. 3.8.1
BP v. 1.9.2
GF v. 1.8.4
I want to populate a multiselect box in Gravity Forms with the members of only the same BuddyPress group as the person who is handling the interface. Does anyone have a clue about how to do this?