Hi @ottiya
Good question, but the answer’s hard. You’ll need to learn how to modify WordPress theme templates. Start reading through all the linked pages on https://codex.buddypress.org/themes/ and when you have a specific question after you’ve made a try, let me know.
As long as that Members page isn’t assigned to another component, it’s not obvious why it mightn’t be working. Does the form submit when you click Save, or does nothing happen at all?
Is that Page published?
Have you made any customisations to BuddyPress, or WordPress rewrite rules?
Hi @eliasgetguineapig
Do you mean on the WordPress Toolbar? (this thing — https://codex.wordpress.org/Toolbar )
If so, if you search for ways to customise or hide the WordPress Toolbar, you should get some clues. It’s not a UI component provided by BuddyPress.
Hi @ottiya
On the default templates, there is a “Add Friend” button, and we usually position is just below (or next to) the user’s name and avatar picture. But not every theme has to show BuddyPress content in the same way!
If you’ve bought a theme with BuddyPress templates, or customised some yourself, it might be worth going back to where you got them from and ask for help.
Hi @mastershas thanks so much for this! I was looking for it as well. Do you know how to allow members to edit their profiles so that the profile bio +photo on the bottom of their blog post is the same as the profile bio + photo on their buddypress page?
Yes ottiya.
It’ll be hyperlinked – when someone clicks it, they then see that person’s buddypress profile.
Basically, instead of it going to an author’s page (which lists all posts written by that author), it instead like you mentioned, goes to the Buddypress profile of that member… so domain.com/members/fred or domain.com/members/fred/profile
Also looking for this! And also making it so that when you click on the author, it redirects to that person’s buddypress profile page
Check out the plugins here https://wordpress.org/plugins/tags/buddypress/
These plugin authors have used the “buddypress” tag which indicates a compatibility with BuddyPress.
Hope it helps!
BuddyPress should be compatible with PHP 7.0 and 7.1. What conflict are you seeing?
*** SOLUTION ***
Hey guys I had the similar problem. I had 3 different user types. The first two could select between 2 user roles (let’s say “part time student” or “regular student”), as the third one had to have a set role of a let’s say “Teacher”. So I needed two different registration forms that would automatically register with user roles.
So what I did was to create a user profile field called “Account Type” (dropdown select) with the options of “Part Time Student”, “Regular Student” and ” “Teacher”. I then used @webizone’s solution for a second registration form. I created the template and added to it a few lines of javascript, basically to remove the “Teacher” option from the select menu.
<script type="text/javascript">
jQuery("#field_17 option[value='Teacher']").remove();
</script>
Now that template is for the registration of “Part Time Student” and “Regular Student”. For the teacher’s is just the regular registration form with the “Teacher” option selected by default.
Now to register the user roles I’ve used @spiritix’s solution from here: https://buddypress.org/support/topic/how-to-assign-a-wp-user-role-based-on-a-registration/
And to restrict wich forums users can access I’ve used https://wordpress.org/plugins/members/
Hope this helps. Good Luck and let me know if anyone has a better solution than this. Thanks
Never mind. I found it. For anyone else, it’s in the .js file. The problem was it needs changing in the .min.js too
wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.js
wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.min.js
Not ideal as editing core – so if anyone has a function to achieve this it would be much appreciated.
I am trying to call this outside of any buddypress files. I am calling it in my themes functions, it is to run on a cron. I must be missing a global or required file, any ideas?
The first thing to do is to deactivate all other plugins but buddypress and switch your theme to 2017 and see if it works (it should), then you will have a working configuration to test against, reintroduce your theme and other plugins in stages and check it still works until you find the plugin that is (possibly) causing the issue.
Hi guys! I have this problem and i spent all the morning read online but nothing seems work so i wish someone around here with a nice heart would help me to find a solution for this. I am building a forum using Buddypress and BBpress everything seems work smooth but when it comes to register a new user of the forum the activation mail it’s not sent. I tried to send again from Users->All Users and then send again the activation link but it dosen’t work. I also tried to send a test mail with WP Mail SMTP choosing PHP Default caption and the mail it’s sent and in general all the other mail about wordpress like update and comments to my posts(before i don’t have a forum) are always sent. I also tried Tools->Buddypress->Reinstall email(delete and restore defaults) but nothing changed. Seems it’s a problem only with Buddypress… anyone had this problem and found a solution?
Wordpress verions 4.9.2
Buddypress version 2.9.2
Theme Sydney
Hey krask,
The email repair is under Tools >> BuddyPress Tools.
Have you forced BP to use wp_mail() instead of the default? Gotta do that too.
Thanks for the reply,
The code runs fine when I call it from “theme\buddypress\members\index.php” and outputs:
rray(2) { [“groups”]=> array(6) { [0]=> string(1) “2” [1]=> string(1) “0” [2]=> string(2) “11” [3]=> string(1) “7” [4]=> string(2) “12” [5]=> string(2) “13” } [“total”]=> int(6) }
But when I call it from functions.php in my theme I get the errors:
Notice: Undefined property: BP_Groups_Component::$table_name_members in /home/vetsgami/public_html/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 561
Notice: Undefined property: BP_Groups_Component::$table_name in /home/myserver/public_html/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 561
Notice: Undefined property: BP_Groups_Component::$table_name_members in /home/myserver/public_html/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 562
Notice: Undefined property: BP_Groups_Component::$table_name in /home/myserver/public_html/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 562
array(2) { [“groups”]=> array(0) { } [“total”]=> int(0) }
Makes me wonder if I need to include a file from buddypress to run it here?
@krask,
dashboard – tools – buddypress – Reinstall emails (delete and restore from defaults)???
I am having the same issue. If someone could help us out, it would be appreciated.
I cannot find the mythical Buddypress Email Repair. Tried all other options. Mail SMTP is sending emails successfully.
If there is another membership plugin that doesn’t have this problem, I’d love to hear about it. Ultimate Member is not very good in my eyes, but I can’t use Buddypress if my students can’t activate their accounts.
Has there been changes done? I say this because when I go to tool, there are no links to a Buddypress section.
I am having the same issue as described above, but unable to try this possible solution because I cannot find the Buddypress email repair.
I have that installed already and that works fine on the Buddypress site itself.
What I am looking for is a button on an external site that links directly to a users private profiel to post the the article on their activity time line.
The closest thing to moderation I have found is also the plugin you mentioned. But like BuddyPress it is lacking crucial moderation features and doesn’t have updates/support also as you mentioned. I have been wanting a BuddyPress moderation feature similar to WP Core forever…approve/unapproved/pending/spammed activity would be ideal. Integrated with WPCore comment status would be grand. I’d pay for a good moderation plugin. I don’t feel like BuddyPress truly integrates well when activity/comments don’t work well together. In fact, we have avoided full use of BuddyPress for this reason. I suppose this is more of an opinion post and hope some angel comes up with a solution on your problem and my similar problem.
Hello BuddyPress team,
your plugin works as a charm, but unfortunatelly I can not translate Buddypress pages with third party plugin named Translatepress – the web adress to members page is ussually not found if language changed.
e.g.:
http://www.example.com/members/username – page found
http://www.example.com/de/members/username – page not found (404)
http://www.example.com/en/members/username – page not found (404)
How can I avoid this issue? I have tried to disable/enable/combinate all settings options in TranslatePress, but with no luck.
I think that problems are due to “language subdirectory” option in TP settings, because without subdirectory to default language those plugins work together fine for default language (EN). I have also tried another similar plugin – Transposh (v. 0.9.9.2), this plugin works almost same as Translatepress, but instead of subdirectories it uses reference at the end of URL and this works great with BB (example: http://www.example.com/memebrs/username/?lang=de).
Sorry for my poor english, hope you will understand to my problem… Is there any way to BB recognise subdirecotry pages?
Thank you for your time and help in advance!
With kind regards… S.