WP version: WordPress 4.4
BP version: Buddypress Version 2.4.3
Hi,
I am developing a WordPress site with Buddypress profile function. One thing is that when I upload a new profile photo or cover image, the page doesn’t refresh and show the new image. I need to refresh the page after successful upload to view the new uploaded image.
I want to insert a code to refresh the page after each successful upload. Any help on which file and function is the function to uploading avatar & cover image?
Cheers,
Jeremy
Hi thx for your fast reply.
Ok I would like to try it the other way round.
I use the plugin Members to set capabilities and create new roles e.g. “trainer”. I tried to to add “bp_moderate” as a custom capability – buddypress capabilities are not listed there – but it didn’t work. Is the name wrong? Or is there no option to add this capability? As I read after some search here that buddypress have no connections to normal wp roles or capabilities.
Or what did you mean?
Hi all,
Members who register with their e-mail address appear in the Buddypress activity stream as ‘new member’.
Members who login (for the first time, so basically register on my site) through a social login (plugin: Super Socializer) don’t!
That’s too bad, I want to welcome them too đ
Is there a solution for this one?
Gr.
@shanebp: ok,
i changed “bp_moderate” to “create_users” at line 29 in compose.php
as I set this for the trainer role too:
<?php if ( bp_current_user_can( 'create_users' ) ) : ?>
<p><label for="send-notice"><input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e( "This is a notice to all users.", "buddypress" ); ?></label></p>
<?php endif; ?>
The changes works and the option field “send a notice to all users” displays also for trainers with capability “create_users”.
BUT they can’t send notices at all/ still miss the capability and also don’t have the “notices” menu in the buddypress profil.
An Error Message appears when they try to send message as site wide notice: “Notice was not created. Please try again.”
What else do I have to change? I looked at other php files around there but didn’t find a solution. Can you help me out? Thx!
What I did was go in and make the subdomain the only site to have BuddyPress via config.php. Works fine. The subdomain is only one with all the BuddyPress plugins activated.
BUT, when I change anything in a group and save, it will go right back to the main site. Also, my Event Calendar isn’t linking up and showing the events. The calendar is showing fine in the groups but none of the events.
It still acts like the main site is running BuddyPress.
These MIGHT help.
Group Home Page
or
Link a Page to Groups
Both actually do what they say they’ll do and MAY be a part solution for your project.
@hnla
Help me out – how do I implement BuddyPress styling into my Twenty Sixteen child theme?
Hello,
I just installed BuddyPress on my new WordPress Multisite network (v4.4.2) configured for subdomains and it doesnât appear to have been installed correctly, or I am missing a critical configuration setting.
After installing BuddyPress on my Multisite network through âPlugins > Add Newâ the following menu items were added to my âUsersâ menu:
1) Manage Signups
2) Profile Fields
The issue is, when selecting Manage Signups, I am taken to an empty âUsers > Add Newâ interface where it indicates (directly under the interface title) 2 total users and 1 Super Admin (Iâm setting this up for the first time).
When clicking the âRegistration is disabled. Edit settingsâ link in the âManage Signupsâ window, I am taken to my Multisite Network Settings where I have the following selections saved:
⢠Logged in users may register new sites
⢠Send the network admin an email notification every time someone registers a site or user account.
When linking to âUsers > Add Newâ through the original Multisite Users menu (âUsers > All Users) the two current users are listed as expected. At this point, the function of âManage Signupsâ is not clear.
Thank you for your assistance,
Don
I have a multi site where there is a public and private area.
I am using BuddyPress Groups Extras which requires to Network Activate that plugin for it to work correctly with BuddyPress which is also network activated.
The problem is that all the groups show up on the public side in the admin area and they need to only show up on the private site admin so that the Event Calendar, also network activated, will work with the BuddyPress Groups Extras pages area. And also when you look at a group its displaying on the public page.
When BuddyPress is not networked activated, everything works fine except for the BuddyPress Groups Extras won’t work at all.
Main reason for using BuddyPress Groups Extras is so I can have pages on groups.
Any suggestions?? Thanks
Hi there,
What is the best way to go about setting up BuddyPress/bbPress to work seamlessly with a Network Install of WordPress?
I have one main site that will serve as the parent site and then we have about 10 or so child sites underneath. I want each of the sites to share social activities with the parent, including their main forums. When I try to create a new site, it doesn’t seem to share BuddyPress/bbPress with the main site as I cannot see anything on the widgets. đ
Is there a better way to do this?
I am using:
<?php bp_get_loggedin_user_nav(); >;
but in this file in Buddypress:
buddypress/bp-members/bp-members-template.php
the list item li.current or li.selected is not working – pulling through
Can anyone help me to fix it without editing the buddypress/bp-members/bp-members-template.php core file?
(I am not a php coder just front end designer but I will try my best to understand but please put in fairly laments / non php coder terms đ
Thanks
[edited – please use the code button when sharing code. And please do not paste functions that already exist in the BP plugin. ]
@djpaul @r-a-y Brilliant! I added theme support for BuddyPress and it worked đ Thank you both so much for your help.
The only thing is, now that the template is loading properly, for some reason, the BuddyPress nav and subnav bar (which was looking as it should before) has now lost its styling. Is there something that needs to be done to get the theme’s custom styling back? I tried adding this wp_dequeue_style( 'buddypress' ); to the same function but it didn’t work.
@r-a-y “may I ask what URL you are attempting to load …” this is the URL i see in the browser – http://www.domain.dev/users/username/dashboard/
“If this is a non-BuddyPress page …” as far as i can tell, it appears to be a BuddyPress page.
Hide Admin Bar Toolbar is what I used. I’m still trying to link my buddypress with my bbpress not going over well. LoL Hope this helps.
Basically, the core uses these files for display:
buddypress\bp-templates\bp-legacy\
If you want to change the display, you can overload those files and thereby avoid changing anything in the BP plugin folder.
Thanks for your quick answer shanebp!
But as I read different statements, the thing that really interests me is, if the legacy-files do present the same features as the core buddypress. Or will I lose any feature or functionality if I overwrite the core with those them files?
Thanks again!
The current files re themes are here:
buddypress\bp-templates\bp-legacy\
You should always use those when overloading to a theme or child theme.
The use of ‘legacy’ in the dir name is unfortunate and confusing, imo.
Register page and both frontend and backend edit screens are missing the checkboxes from checkbox fields.
This is happening in the primary fields group, labels are shown but their input tags which contain the checkboxes aren’t showing at the HTML.
Wordpress 4.4.2 and BuddyPress 2.4.3 are fully updated as of today’s versions.
register page here to check it out.
Hello there,
during the last couple of days I started working with Buddypress and I think I got the basics by now. Right now I am working on a custom theme and wanted to edit the look and feel of buddypress aswell.
I read a few things and I am not sure if I am doing it right. Don’t get me wrong here – It’s no problem to use the legacy files, as described. But what I asking myself is – Are those legacy files do have the same features as the “normal” Buddypress, and are they updated regularly, whenever buddypress gets an update? Somewhere I read, that legacy files are based on 1.7 of Buddypress. Is that true?
If not – Is it better to go another way with a custom theme?
Thank you for your help. Oh, and I am using the newest versions of Buddypress and WordPress.
Best regards!
By grey box, do you mean the ‘Cover Image’ area?
Try uploading a cover image.
Or turning them off via wp-admin > Settings > BuddyPress > Settings > Cover Image Uploads
This appears to be a fairly minor issue as opposed to some of the ones here so hopefully someone may help. I offer my thanks in advance for any assistance.
I’m running Buddypress v.2.4.3 on my site. I have a Genesis parent theme with the Metro Pro child theme. When I click on a member page, such as the one below, there is a gray box which appears to be where the avatar, username, recent active time, and other options should be located.
http://newjerseydads.com/members/Russ/
However, the information is not entirely in the box but starts about halfway down the box and continues into the remainder of the page. Is there an option to center this?
Thanks,
I had the same problem. I could upload an cover image but got the warning “For better results, make sure to upload an image that is larger than 0px wide, and 225px tall. ”
After entering the following code in /wp-content/plugins/bp-custom.php i could i could upload the image. but it is still not showing.
function your_theme_xprofile_cover_image( $settings = array() ) {
$settings['width'] = 640;
$settings['height'] = 300;
$settings['default_cover'] = '/wp-content/uploads/2014/12/blog_header_640x300.jpg';
return $settings;
}
add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_xprofile_cover_image', 10, 1 ); // for the members Cover Images
add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_xprofile_cover_image', 10, 1 ); // for the groups Cover Images
To test if i can show an cover image i did enter the following CSS code with Firebug and the cover image will show. Unfortunnaly not the one i uploaded đ
#buddypress #header-cover-image
height: 300px;
width: 640px;
background-image: url('/wp-content/uploads/2015/12/blog_header_640x300.jpg');
I think i experience this problems because i’m using a child theme, but not sure for that.
See my post: Cover image in child theme
Hi Paul @djpaul.
#1 Yes, you’re right. If it’s a custom template that loads ok with BP 1.7.2 all the way up to 2.0.3, and only has an issue when updating to BP 2.1, is it safe to assume that it’s not anything in the custom template’s code that’s causing the problem? If not, i can dig into it and share anything that’ll help to solve this.
#2 “it doesnât mean the templates were built with *that* version” – do you think it’s a strong possibility the code in the custom template may be culprit? I just took a quick look and it seems to be quite standard.
add_theme_support( ‘buddypress’ ) is only in these files:
> wp-content\plugins\buddypress\bp-core\bp-core-theme-compatibility.php:
> wp-content\plugins\buddypress\bp-themes\bp-default\functions.php:
#3 “compare where its looking for a template vs. where the template actually is.” – The strange thing is that it works with BP 2.0.3 and only ‘breaks’ upon update to 2.1, and the template is sitting in the same place (child theme’s root) all the time. Appreciate any suggestions if you have them, as i’m out of ideas as a novice tinkerer.