Hi,
I have a problem with getting the registration page to work – the registration page itself is displayed properly, however when I try to submit the registration form (“Complete Sign Up”), all it does is reload the page with fields already filled in (only password fields are blank) and nothing more happens. No php errors are displayed (with WP_DEBUG turned on), no javascript errors as well.
I tired looking for some possible solutions over internet but I got stuck.
I have clean WordPress install (4.1.1) with BudyPress 2.2.1 as the only plugin installed (so no plugins conflict possible here). I’m running WordPress locally, on Windows machine with WAMP working on non-default port. WordPress is installed in subdirectory (let’s call it my_wp_directory) and accessed via browser as http://localhost:8080/my_wp_directory/
I’m using the default Twenty Fifteen theme with no changes made (it’s just pure clean WordPress install).
I have the Membership option checked in Settings (Anyone can register), all pages are properly assigned in BuddyPress:Pages. Register and Activate pages were not automatically created when I activated BuddyPress – I had to create them manually (just two blank pages) and assign them in BuddyPress Settings. As I mentioned, the register page IS displaying properly, with all it’s required fields visible, it’s just, well, not working properly.
Any ideas what can I do to make the registration work?
It’s really important for me to get this to work as soon as possible. I have some serious business decisions to make – which include deciding if I would use BuddyPress or decide against it and look for something else. I have to recommend some solution to choose for my client and I just can’t recommend him something I’m not 100% sure would work..
Right now I run out of any more ideas how to get this registration to work. I got stuck. Hopefully it’s just some stupid setting I don’t know about or some really trivial problem easily fixed. Really hope someone can point me in the right direction, cause I really do have some high hopes according using BuddyPress!
Best regards,
q
You can add the following template to your theme to override how members profile are displayed: /buddypress/members/single/index.php
In that index.php you can include different template parts to display the user based on their role.
So, you’d have a template part to display writers, and a different template part to display subscribers.
You can read more on the template hierarchy here: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
Changing these titles isn’t the easiest thing, but BuddyPress does provide 2 ways you can do it. However, hacking core files like bp-activity-loader.php is definitely not one of them. [Never hack core files — have a Google if it’s not obvious to you why you shouldn’t]
Ok the 2 solutions are:
- Use a language / translation file
- Use the template hierarchy
The string “Site-Wide Activity” is translatable — all the strings are. You can implement a language file that translates ‘Site-Wide Activity’ into whatever string you’d like. Have a search for translating BuddyPress strings / POT files / poedit. There’s also a documentation (they call it the Codex) page on it: https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/
The second solution is to use the template hierarchy. If you don’t provide a specific template for your activity directory, BuddyPress will use the page.php file from your theme and ‘inject’ the title “Site-Wide Activity” where page.php makes a call to the_title().
You can override this by implementing your own template — create a file called index-directory.php inside /buddypress/activity in your site’s theme. Copy the basics of page.php into that file, and replace the_title() with your hardcoded title for the page.
You can read more about the template hierarchy here: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
Neither solution is simple, you’ll either have to get your head around using poedit, or need some basic PHP coding skills and an understanding of the principles of templates and themes in WordPress. In the future, it would be nice to see a settings panel in wp-admin to configure these basic strings.
[p.s. if you don’t want to use poedit, you could take a look at plugin solutions for string translation, e.g. codestyling localisation]
BuddyPress Mute allows your members to mute their friends. Muting a person results in all of that person’s activity items being removed from your site-wide activity stream. Some features of the plugin are:
- You can mute and unmute people at any time.
- You can continue to interact with muted members. For instance, sending them a private message remains possible.
- There’s no way of knowing that you’ve been muted.
- Fully ajax’d buttons
It’s similar to how you can mute users on Twitter.
BuddyPress Mute:
https://wordpress.org/plugins/buddypress-mute/
Kindly let me know how to disable the email verification? I found this post but it doesn’t state what code needs to be changed. Plus the post is over a year old.
Ok managed to do it, it’s a dirty way but it works…
1) Compile all of the above scripts into a single file “mynewjsfile.js” then minify it to keep it even more compact if you want (forget the buddypress.js thing as what I’ve done stops the script from looking for it completely).
2) Upload mynewjsfile.js wherever you want to put it (for the sake of this I’ve put it into my theme root /js/mynewjsfile.js
3) Make a copy of buddypress-functions.php (inside bp-legacy/)
4) In your new buddypress-functions.php around line 89 comment out the following :
add_action( 'bp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
Like this :
/* add_action( 'bp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); */
5) Create a new folder called “buddypress” in your theme’s root and upload buddypress-functions.php into it. Now buddypress will use this file instead of the original.
6) In your wordpress functions.php add the following :
function mynewjsfile() {
wp_enqueue_script( 'mynewjsfile', get_template_directory_uri() . '/js/mynewjsfile.js', 'jquery', false );
}
add_action( 'wp_enqueue_scripts', 'mynewjsfile' );
The ‘jquery’ is there because our new script requires it to function properly. This ensures that Jquery loads before it. False is telling wordpress to load it in the header.
7) Enjoy your new single minified JS file ๐
If anyone knows of a BuddyPress plugin that requires setting role capabilities
Buddypress itself does not require setting role capabilities – so a Buddypress plugin usually should not need this. Most of the commonly used buddypress plugins like photo/album (rtmedia), location plugins, imath’s Rendzevous ( sort of an Event plugin with a difference) do NOT require setting role capabilities and works well in the above scenario.
https://wordpress.org/plugins/multisite-user-management/
I actually tried this extensively even before I saw this post – its purpose is something different. It will not add users to the main site.
If anyone knows of a BuddyPress plugin that requires setting role capabilities and works without members belonging to the main site
Event Manager does this. It requires setting role capabilities and yet no one has to manually set the members belonging to the main site. It has a very wide range of configuration options that makes it rather “heavy” – still I could have used it but it has no Attendee options. It lacks “Attending : Yes | NO | Maybe ” and an Attendee list that others can see. Apart from this, from frontend it offers same functions and users can add Events from the profile too with Location Map etc.
A huge amount of thanks and gratitude to @shanebp, who is actually doing tremendous amount of help and work for the buddypress events plugin. Kudos!
The groups loop takes various parameters.
More info from the codex:
Groups Loop
Try this:
bp_has_groups( 'user_id=' . bp_loggedin_user_id() )
Hey,
Have you had any luck fixing it? Im not sure what would cause that to happen. Is it that your buddypress activities won’t post or that your blog posts disappeared?
The only thing I can think to do would be to go into a fresh copy of WP and copy the complete bp-acitivity-loader.php page and paste it on the file on your site. See if that brings back up your posts. If it does, then try to change the name again and see if it works.
Best of luck!
Adding members automatically to sites in a multisite installation can be quite complicated.
This is the solution recommended by many people.
https://wordpress.org/plugins/multisite-user-management/
If a plugin requires you to add / remove role capabilites specific to that plugin, then each member must at least belong to the main site.
Otherwise current_user_can() will return false because the member does not belong to the main site.
If a member belongs to the main site, but none of the sub-sites, then the only issue is that while viewing a subsite custom tab(s) may not appear in the BP dropdown in the upper right corner. But the tab(s) will appear on the actual profile page.
If anyone knows of a BuddyPress plugin that requires setting role capabilities and works without members belonging to the main site, please post a link here.
WP MS + BP should be installed at the root: example.com/
Default user role on main site is: subscriber (see wp settings for that)
BP settings allows you to let users create a blog.
A new user create a blog which goes as subfolder: example.com/the_new_blog/
User from the main (subscriber) created the new_blog and is now blog admin of his blog and subscriber on the main blog.
He can only access his own blog dashboard but cannot go to the main site dashboard.
They are several WP plugins which let you customize the toolbar and many WP snippets you can use to do it by yourself. For example removing some of WP items, or adding some conditionnals to shows them to certain roles only.
BuddyPress uses templates and depending what a member does and where, such a template is fired.
Most of these BP templates are using a loop which you can customize. See Codex for details on each and what you can do with extra template params.
And no theme ? ๐
Seems that you have actually two theme declared on your site.
And apparently one of js function (jmigrate) is deprecated.
Note also that BuddyPress doesn’t work when WP is in its own directory. Both should be in the same directory.
I don’t understand what you mean because buddypress has private messages built in as standard.
What I mean is this: Right now, it seems users can only send “standard” messages through the wordpress/buddypress messages system, or chat through for example arrow chat or Cometchat.
To be able to view all messages (chat messages and “standard” messages between users) in the same place (like in FB or any other modern platform) would be a good improvement. Or perhaps simply throw out the regular messaging system and be able to add the chat to the profile?
@bphelp as for expertise, there is none! I’m here because I’d like to learn BuddyPress, and I figured by helping, preferably by documenting, I’d learn, and possibly even help.
@danbp I’ve visited the Codex Standards & Guidelines. However, one issue I’m immediately finding is that I don’t have the ability to create or modify.
The reason I dropped the request in this forum is because I read the topic This is why we can’t have nice things @johnjamesjacoby. I figured this was the current SOP for volunteering.
Thanks to all, and I’m looking forward becoming and active member of the community.
1- WordPress 4.1
2- install directory
3- subdirectory
4- wordpress upgrade 4.1.1
6-BuddyPress 2.2.1
7- last version
8- yes i have many plugins
8.1-Advanced Custom Fields
8.2-bbPress
8.3-BP Login Redirect
8.4-BP Profile Search
8.5-BP Profile Widgets
8.6-BuddyPress
8.7-BuddyPress cover
8.8-BuddyPress Edit Activity
8.9-BuddyPress Follow
8.10-BuddyPress Security Check
8.11-Buddypress Social
8.12-BuddyPress Xprofile Custom Fields Type
8.13-Email newsletter
8.14-Facebook Friends Inviter
8.15-HashBuddy
8.16-rtMedia for WordPress, BuddyPress and bbPress
8.17-Social Login
8.18-User Name Availability Checker for wordpress/buddypress
8.19-Wordpress Social Invitations – Lite
hi @ripozzo,
in addition to @bphelp, you may also read here:
Codex Standards & Guidelines
Hi Julian,
Yes, this is a cool plugin, but I’m after something where you can write a message from the BuddyPress profile to another user and then it kind of is already a chat – like on Facebook.
Hi guys,
What Facebook like chat plugin can you recommend for BuddyPress?
Cheers,
Maria
I’m interested in becoming a BuddyPress Volunteer. Please advise on how I can assist.
Thanks.
Mac
Working on a site that has heavy impressions/users. It uses Buddypress.
So there’s the regular members (set to Subscribers user role for all new registrations). We also have a team of writers (set to Authors or Admins user role).
Can we style the Admins/Authors differently than subscribers? So a different template for Authors than Subscriber.
Site info:
Buddypress Version 2.1.1
WordPress 4.0.1
Using Firmasite theme (bootstrap)
I havenโt edited any core files in WP/BP.
WP.4.1.1 – Multisite – Subfolder install
BuddyPress 2.2.1 – Network Activated
Both sites and user accounts can be registered.
How can I make each user creating account && site, a member also of the main or base site ?
For example, my site is mysite com
User ABC comes and create membership and has site mysite com / ABC
User DEF comes and create membership and has site mysite com / DEF
How can they be Users (at least Subscriber role) of mysite com automatically ?
Thanks in advance.
This is needed because some Buddypress plugins will not work unless a member is at least Subscriber of the main site also. While Buddypress itself and most Buddypress plugin just works fine a few buddypress plugin will not work. The main problem of making them subscriber of the main site is they also see the main site dashboard name and link in the top-bar which is what is not wanted. So if this display can be turned off ( any trick ??) it will be of great help.
Thank you, I think that answers one of my questions: notification does not go far beyond indicating that there has been activity. What I’m hoping to do is breathe more life into a community by improving communication, and the more action is required from users the less likely that is to happen. At present we correspond by exchanging emails to group addresses manually compiled in Notepad, with no two people having the same list! A Yahoo group would work much better. At present it looks to me as if people would find the bbpress / buddypress solutions more laborious.
Two things about Yahoo groups: 1. The incoming email gives you all the content, without your having to do a second click and go and find it, and 2. you get emails on all contributions to the group you’ve subscribed to, not just when someone specifically targets you. Those limitations in buddypress look to me like killers, but maybe I haven’t understood everything yet.
I hope not, because full and easy integration of communication into a website would make it such a powerful tool.