“probably need to pass to it bp_displayed_user_id()”
@hnla is correct, you will need to use bp_displayed_user_id()
as in:
`$user_id = bp_displayed_user_id();`
Hi everyone, I have a static home page created without the login form. After I login in from wp-login.php, it takes me back to the static home page. I wanted to see if there was a way to redirect them to the activity page if they login from wp-login.php.
Thank you,
1. Which version of WordPress are you running? 3.3.2
2. Did you install WordPress as a directory or subdomain install? dir
3. If a directory install, is it in root or in a subdirectory? root
4. Did you upgrade from a previous version of WordPress? If so, from which version? no
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. yes
6. Which version of BP are you running? 1.5.5
7. Did you upgraded from a previous version of BP? If so, from which version? no
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
9. Are you using the standard BuddyPress themes or customized themes?
10. Have you modified the core files in any way? no
11. Do you have any custom functions in bp-custom.php? no
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? 2.0
13. Please provide a list of any errors in your server’s log files.
14. Which company provides your hosting? godaddy
15. Is your server running Windows, or if Linux; Apache, nginx or something else? linux
Edit History, in all probability will not work with current bbPress plugin and bbpress quotes look good for current bbPress, no guarantees though. The best place to ask about this is at bbPress forums – log in using same username and password used here.
@mariilou if registration still doesn’t work if BuddyPress and other BP plugins are deactivated, have you tried deactivate other WP plugins to see if either of those conflict with your activation email. If email doesn’t work even with all plugins deactivated, then it’s a hosting issue with WP installation. Have you contacted webhost for tech support regarding your email issues?
Buddypress is simply? a plugin that runs on wordpress, aspects such as registration and users are managed by wordpress rather than BP.
@pasen — Ooh good idea; i didn’t think of that — it would require allowing a bunch of moderators! but it would work 
@hugo @mercime Oops! Sorry, never saw any of these replies, and didn’t know/think to add the trac link. Will in the future. Thanks!
@mercime thanks
@dannyjimmy helps if we can close thread with a link so we know what state thread has reached.
Yes, that does it. now registration works, I would not have looked there for it and was not aware wordpress and buddypress are so interwoven. Thanks for your quick answer Mercime.
When deactivating Buddypress > The BuddyPress Default Theme disappears and cannot be used. If choosing the theme I want to work with, whenever I solve this problem, it still doesn’t send me any activation email.
Deactivate BuddyPress. Is activation email sent/received if you deactivate BuddyPress?
Also, read about email activation solutions –> https://codex.buddypress.org/troubleshooting/frequently-asked-questions/
Thank you very much for your fast answer.
I tried to figure out which plugins are 2.0 and which are 1.0. I somewhere read that all Plugins in the WordPress repository are 2.0? Those which are not listed in the WP repository are 1.0.
For example I tried to install these..
https://wordpress.org/extend/plugins/bbpress-quotes/ (This one should work fine?)
https://bbpress.org/plugins/topic/edit-history/ (This will be too old, right?)
Thank you
bbPress 1.0 plugins, you can’t. I mean, technically it is possible, but it’s a *huge* amount of work to reconfigure the forums to work like that. You’d be going back about two years of BuddyPress/forum integration, and it literally had a 40-step integration process.
bbPress 2.0 plugins, should work fine.
I tried again and was able to get the review to load this time. Did you change anything?
@elangley
@djpaul just posted a review and rated the plugin with no problem – BP Group Reviews https://buddypress.org/community/groups/bp-group-reviews/reviews/
@elangley what plugin were you reviewing when you encountered the issue?
I would like to display what role a user belongs to on their profile page, e.g.: “Bob (Administrator)”, “Jane (Subscriber)”.
I had a look on the WordPress forums and found some suggestions on how to do this but couldn’t get them to work, and wondered if it might be to do with having Buddypress installed. For example I found this:
`$user = new WP_User( $user_id );
if ( !empty( $user->roles ) && is_array( $user->roles ) ) {
foreach ( $user->roles as $role )
echo $role;
}`
(source: http://wordpress.org/support/topic/get-a-users-role-by-user-id#post-1363118)
However adding this code had no effect whatsoever.
Can anyone suggest a means of displaying a user’s role on their Buddypress profile page?
I am also using the User Role Editor plugin (http://wordpress.org/extend/plugins/user-role-editor/) to create an extra User Role, which may complicate things.
@hnla, i just test your sugestion, it allows you to save but the problem remain in frontend. after saving
Regards
Hi all,
I am using Buddypress on the site http://www.oldboysalliance.at since November 2011. Overall we are very pleased with WP+BP, but the forums (of BuddyPress) lack a little bit of convenience. We hacked some stuff ourselfs (like to have a page where to see all new forum posts from all groups) etc..
Now there are a couple of other requests – Which are already resolved by “bbpress plugins”. The question is: How can I install pure bbpress plugins for (my bbpress in) Buddypress?
Thank you very much,
== I get this error message: User registration is currently not allowed. ==
@wanderingfox Registration ON or OFF is a WordPress setting.
For single WP – go to wp-admin Settings > General > and allow Registration
For WP Multisite – go to wp-admin Network Admin dashboard > Settings > Network Settings > Registration Settings and allow Registration
when i got to the Buddypressw tab pages and croll under the line:
Associate WordPress Pages with the following BuddyPress Registration pages.
Register is assosciated with the page : register
Activate with -none
here is the link: http://ontmoeten.synergiekzuid.nl
In next version I do not use the core BP JavaScript so it won’t be a problem the current version is basically BP-default shoe horned into small screen
I have a similar problem: after installing buddypress: groups; forum; activities ;members come up. But at registration I get this error message: User registration is currently not allowed.
On the four tabs of Buddypress settings I cant find a setting to turn registration on or off.
I have looked up and found this line in the php files but don’t know how to read those.
I use a clean wordpress 3.3.2_nl install for budypressonly on a subdomain.
And also the default buddypresstheme.
Currently you can achieve this certain group status by using the plugin called “BuddyPress Announce Group”.
But I totally agree. This “LIMITED” Group is missing in the “buddypress core system”.