As @shanebp notes, adding the tabs themselves is pretty straightforward. In addition to bp_core_new_nav_item() etc, you might also look into the more all-encompassing BP_Component class. See https://codex.buddypress.org/developer/bp_component/, https://codex.buddypress.org/developer/function-examples/core/bp_core_new_nav_item/.
It’s the content of these tabs that is likely to be more complex. If all you want is a series of links, it’s easy. But if you want a way for users to create content, you’ll need to build forms, storage methods, etc. For this, you might want to look into adopting an existing solution. The BuddyForms plugin is a pretty powerful starting place for this kind of thing: https://themekraft.com/buddyforms/
Hi @kevinc4m – The BuddyPress Followers plugin allows users on a multisite installation to follow specific sites: https://github.com/r-a-y/buddypress-followers
It sounds like this is not quite what you’re looking for – you want the ability to follow tags/categories, and it doesn’t sound like multisite is part of the equation – but this plugin may serve as a sort of inspiration for how the tag/category feature might work, at least in the UI. I also think that the plugin could probably be a basis for building the feature you’re looking for, as it does much of the work: storing user follow status, integrating items into user activity streams, and so on.
Unfortunately, I’m not aware of an existing tool that will do this without some customization.
Can you share the format of the “view content” links in the digest emails? (I’m assuming you’re using buddypress-group-email-subscription – let me know if that’s correct.) They should have a redirect_to parameter, but it sounds like it’s not being respected or is being lost somehow.
Are you using any plugins that interfere with the way that WP logins work? Perhaps Auth0 or another SSO plugin?
Hi @mycraze – It sounds as something is failing to load the jquery-cookie script. BP attempts to do it in the function bp_core_register_common_scripts(): https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/bp-core-cssjs.php?marks=54#L18
The first thing to check is to see whether the page is attempting to load the script in the first place. View the source of the page, and look for a tag that looks something like this, in the document head:
<script type='text/javascript' src='http://example.com/plugins/buddypress/src/bp-core/js/vendor/jquery-cookie.js?ver=2.9.2'></script>
If you *do* see this, but are still having the problem, try the following:
* Load the script URL directly in a new tab. Does it load?
* Open the Network tab of your browser’s developer tools. Is the browser unable to access the file for some reason? Perhaps a 404 or some other error?
If you do *not* see the script tag, then it’s a server-side issue. My guess, in this case, is that you are using a third-party theme that loads the bp-legacy JS file without also properly declaring the dependencies. To verify, switch to a default WP theme (like Twenty Sixteen) to see if the problem clears itself up. If this is the problem, you may want to talk to your theme author, or share the relevant code from the theme (probably looks like wp_enqueue_script...) and we may be able to help you correct it. In the meantime, you may be able to work around this problem by manually enqueing the cookie script in your functions.php file. Something like:
add_action( 'wp_enqueue_scripts', function() {
wp_enqueue_script( 'bp-jquery-cookie', buddypress()->plugin_url . 'bp-core/js/vendor/jquery-cookie.min.js', array( 'jquery' ) );
} );
Hi @redcompolitica – I’ve built multi-page registration processes for clients in the past, but unfortunately, it’s not very easy to do – BP’s registration system is not built in such a way as to make it easy.
If your main goal is to make registration less overwhelming, you might consider moving some or most of your registration fields out of the “Base” group. This will mean that they don’t show up during the registration process, and users will have to fill them in by editing their profile after signing in.
If your goal is to have *conditional* registration steps – where, for example, step 2 depends on a specific value provided in step 1 – then I’m afraid it’d have to be custom-built. Much of the work could be done with a custom theme template members/register.php and by modifying the way that registration data is saved and validated https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-members/bp-members-screens.php?marks=113#L72
Some Trac tickets that are somewhat related that you might want to follow:
https://buddypress.trac.wordpress.org/ticket/1842
https://buddypress.trac.wordpress.org/ticket/4278
Good luck with your project!
Hi David,
Thanks for getting back to us.
Yes, we had to turn off the “Allow registered members to upload avatars” under BuddyPress Settings – Options in the hope of letting people fill out the form in the meantime, but the form still doesn’t work with or without the avatar upload. Now, we tried to turn avatar back on and it won’t show up on the form.
No, it’s not a separate plugin. The form is part of BuddyPress.
Thanks!
I just updated to Buddypress 2.9.2 and now the member profile images on my website are all tiny.
I use the following code for these:
<div class="bp-login-widget-user-avatar"><?php bp_loggedin_user_avatar( "type=full&width=200&height=200" ); ?></div>
And they display in widget boxes.
Previously they were the 200×200 size as per the code, but now they’re a lot smaller, maybe 50×50.
Hope someone can help me with this as its really messing up the look of my site. Thanks 🙂
Hello,
sorry iI’m french and I speack very bad in english.
I installed Buddypress on my network. I wanted to activate ” BP_ENABLE_MULTIBLOG”
With BP_ENABLE_MULTIBLOG enabled, BuddyPress content will be displayable on any site in your network, and BP links will always point to the current site. Thus,
on http://boone.example.com/, profile links will point to http://boone.example.com/members/boonebgorges/
When I want to go to “Settings”, “BuddyPress” and then “Pages” this message is displayed
” Sorry, you do not have permission to access this page.”
I am still afflicted on my site by having the dreaded iOS image EXIF issue. Where uploaded pictures are incorrectly rotated when loaded into the Avatar upload screen.
All of the fixes/plugins are for iOS are for the dashboard area, and not for the BuddyPress uploads. (Image Rotation Fixer and iOS Image Fixer)
I have an iPhone 7 with ios V 11.1 and the problem still exists.
I am currently running BuddyPress 2.7.4. (If this problem is fixed in newer versions, please let me know)
What version of BuddyPress are you using? It seems to be an issue with the CSS that safari tries to load.
refer to this thread https://buddypress.org/support/topic/cant-upload-profile-pic-with-ipad-or-iphone/
Hi BuddyPress users,
I’m trying to delete the Primary profile field group for my WordPress multisite install, but I don’t know how. I AM able to prevent it from showing by turning off the “Extended Profiles” option in BuddyPress, but this is not an optimal solution, as I want my users to be able to easily upload profile pictures for themselves instead of having to make a Gravatar.
I used to have far more profile fields and was able to remove them with no problems.
Thank you very much for your time,
Charlie Phillips
Site: weathertogether.net
Buddypress version: 2.9.2
Wordpress version: 4.8.3
The main issue I’m (still) trying to solve is that when users upload avatars or backgrounds they are saved into directories under the uploads folder. That’s all fine and dandy until LargeFS, an awesome product by wpengine.com, pushes those images up to your AWS S3 bucket (and removes them from the server to allow for better unlimited storage). The only plugin that seems to have an issue with this is Buddypress. LargeFS intercepts the request for an image and if it’s not present in the folder on your server it retrieves and caches it from your S3 bucket and/or CDN.
Buddypress just sees an empty folder and reverts everything to default.
If I could find a way to store the background profile images outside of the uploads folder like you can with avatars; (see script in initial post) then all would be heavenly again. No searching or tweaking has delivered a solution yet.
I’ve tried tweaking core files and writing a redirect a dozen different ways and ‘no joy’.
So if you’re more brilliant than I am and I know most of you are, a solution would bring tears of joy to my eyes and I would bring her (buddypress) flowers and chocolates and stuff…
You’ll need to write a custom widget.
There is lots of docs online about writing a WP widget.
You’ll find BP specifics in this file:
buddypress\bp-members\classes\class-bp-core-members-widget.php
I feel the same, they sell BuddyPress and BBpress like super nice tools but actually, it is a waste of time. For me I feel like amateur tool. You always need help to do anything very basic, and the support is not there. Very frustrated!
At the end, with all my regret, i have been forced to move to joomla. I found what i need there. So sad.
BuddyPress whos online widget only shows avatars of those online.
Im wondering if its possible to get users description along side the image?
If yes, how and whats the correct code?
Something like this but for every user.
<?php $user_meta = get_userdata(bp_displayed_user_id());echo($user_meta->description);?>
BuddyPress Xprofile Custom Fields Type plugin is what I use to do this.
It shows up on the profile as age. If you want it on the members page that takes some code editing. I saw a tutorial on BPDev site.
Hello all,
when our users get their daily digest emails from groups and they click on the links to view content:
1. They are sent to the login screen if not logged in.
2. They are not redirected to the original content.
3. If user is already logged in, they are sent to the login page anyway, but this time it displays a “You are logged in message”
I have looked hard through the forum here and have found alot of info, tried a few items like modifying the bp-core-catchuri.php file:
1. Tried changing modes from 2 to 1
2. Tried removing all redirects we might have etc.
I am fairly new to this, so I can’t think of anything else that might be causing a default behavior of buddypress to change.
Any input is welcomed.
I want to set a profile field where a user will list his experience in a particular organization. From and To.. I tried Date -> Range but it just renders single dropdown. The best possible scenario would be having a datepicker with range.?
I’ve installed BuddyPress Xprofile Custom Fields Type but even this doesn’t have a range date picker.
Anyone has any suggestion/solution would be appreciated.
JCParticipant
Hi, I get an error stating that buddypress theme has a javascript error which is blocking backup buddy
I am unable to get the txt and paste it, but here is a screen grab of the error message
https://s3-ap-southeast-2.amazonaws.com/mycraze/wp-content/uploads/2017/11/01221515/buddypress-error.jpg
any help would be great
Thanks
I have been using BP for so long now I can barely remember when it all began. I think it all started about eight years ago and although we have had our moments I never thought this day would ever come but alas it seems I can overcome her little quirks no more. But how do you leave your BP Multi Network – when define( 'BP_ENABLE_MULTIBLOG', true ); has always been there for you? It just doesn’t seem like WP Multi Network, the old maid she is, will be able to hold amore together.
Custom this and custom that, always a way to stay true but I must have broken her heart when she finally discovered my devotion to this little threesome called AWS S3, wpengine and LargeFS. It looks as though it’s just going to be too much for her little heart to bare. It seems so sad that I can save her avatar’s with a simple
define( 'BP_AVATAR_UPLOAD_PATH', '/nas/content/live/heartbleed/profiles/members' );
define( 'BP_AVATAR_URL', 'https://' . $_SERVER['HTTP_HOST'] . '/profiles/members' );
but those damn Cover_Images and the silly way they are managed just keep running away from the slightest push up and no matter what I do I can’t find a way to keep them true.
So goodnight sweet Princess, the night draws close and the bitter cold is closing in. Wherefore art thou my Romeo, wherefore?
Did you look in the single template files?
buddypress\bp-templates\bp-legacy\buddypress\members\single\
Hi. I wonder if you’re getting a little confused as to what Super Socializer and BuddyPress actually do? Although they both allow people to have an account on your site, they’re not really the same thing.
Super Socializer allows you to cross-post your own blog posts onto Facebook, etc, and to then amalgamate any comments back to the original blog post. But the important thing to note is that it’s only really about your blog posts.
BuddyPress (with bbPress) allows you to have people create forum posts and send each other messages, completely independently of any blog posts you may make.
Of course, Super Socializer would also be of benefit to a BuddyPress install as it would allow users to set up and log in to a BuddyPress account using their Facebook login.
I’ve never used Super Socializer, btw.
Hope that helps
Peter
Create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.php
And then remove this code from the overload:
<?php if ( bp_get_member_latest_update() ) : ?>
<span class="update"> <?php bp_member_latest_update(); ?></span>
<?php endif; ?>