Search Results for 'buddypress'
-
AuthorSearch Results
-
February 29, 2016 at 12:59 pm #250387
Henry Wright
ModeratorAny help on which file and function is the function to uploading avatar & cover image?
These classes both extend
BP_Attachment:February 28, 2016 at 9:31 pm #250368In reply to: Option – This is a notice to all users
Sebastian
ParticipantHi 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?
February 28, 2016 at 2:31 pm #250340In reply to: Option – This is a notice to all users
Sebastian
Participant@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!
February 28, 2016 at 1:31 pm #250339In reply to: BuddyPress in Multi Site
tammy1999
ParticipantWhat 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.
February 28, 2016 at 9:55 am #250337In reply to: BuddyPress in Multi Site
valuser
ParticipantThese MIGHT help.
or
Both actually do what they say they’ll do and MAY be a part solution for your project.
February 28, 2016 at 6:16 am #250335In reply to: No Twentysixteen Companion Styles
Tranny
ParticipantHelp me out – how do I implement BuddyPress styling into my Twenty Sixteen child theme?
February 26, 2016 at 11:12 pm #250317paddy33
Participant@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.
February 26, 2016 at 10:02 pm #250314RONO2
ParticipantHide 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.
February 26, 2016 at 7:57 pm #250309In reply to: Buddypress Legacy Files – Up-to-date?
shanebp
ModeratorBasically, 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.
February 26, 2016 at 7:10 pm #250308In reply to: Buddypress Legacy Files – Up-to-date?
centerfold
ParticipantThanks 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!
February 26, 2016 at 5:31 pm #250305In reply to: Buddypress Legacy Files – Up-to-date?
shanebp
ModeratorThe 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.
February 26, 2016 at 4:07 pm #250300shanebp
ModeratorBy 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 UploadsFebruary 26, 2016 at 11:11 am #250296cappy2
ParticipantI 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 ImagesTo 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 themeFebruary 25, 2016 at 10:57 pm #250291paddy33
ParticipantHi 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.
February 25, 2016 at 8:56 pm #250290dave8528
ParticipantI came across this discussion here which may help to get answers to this question: https://buddypress.org/support/topic/editing-buddypress-core-files-within-the-childtheme/
February 25, 2016 at 7:48 pm #250288r-a-y
Keymaster@paddy33 – Try adding this line to your theme’s
functions.phpin your'after_setup_theme'hook.add_theme_support( 'buddypress' );This should bring back support to use
bp_core_load_template()in your theme. However, may I ask what URL you are attempting to loadbp_core_load_template( 'template-user-account' )on?If this is a non-BuddyPress page (eg.
example.com/dashboard), just useget_template_part()instead ofbp_core_load_template().February 25, 2016 at 1:28 pm #250278In reply to: Same Cover Update Across Network – Multisite
rbaccaro
ParticipantHi @shanebp, @bowe, @modemlooper, could you help me?
I found the cover filter (bp_attachments_cover_image_upload_dir)
but I have no idea how to start:https://buddypress.trac.wordpress.org/attachment/ticket/6591/6591.04.patch
Any help is appreciated.
Thank you,
February 25, 2016 at 10:03 am #250276In reply to: No Twentysixteen Companion Styles
airsid
ParticipantHello,
@Tranny
1) Use Twentysixteen Theme
2) Install Content Aware Sidebars plugin
3) Create a sidebar then select Buddypress Members type and add all proposed subcategories. Then save the sidebar. Do not add any widget in this sidebar.You should be good π
February 25, 2016 at 12:26 am #250265paddy33
ParticipantAfter rolling back to 1.7 and gradually updating each version, it appears it’s the update to 2.1 that’s the issue, as the templates are still loading fine with BP 2.0.3
Digging deeper, it seems that it’s the /plugins/buddypress/bp-core folder which causes the problem
Couldn’t track down the cause looking for clues in the changelog https://codex.buddypress.org/releases/version-2-1/
This line is a potential but i couldn’t understand the info from r8820 – “In bp_core_load_template(), only use locate_template for older bp-default themes (r8820)”
February 24, 2016 at 8:02 pm #250262In reply to: Activity Stream Not Loading/Displaying
aswain1
ParticipantHere are screenshots with the Twenty Fifteen theme. Deactivating all plugins (besides BuddyPress) does not affect how it appears.
I had to go to each URL directly in order to bring up the pages. The “Load More” button disappears after four clicks.
February 24, 2016 at 7:51 pm #250261cybmeta
ParticipantPlease, don’t be as silly as me.
If you find yourself having problems with BuddyPress, even with all plugins deactivated, remember to check if there is a bp-custom.php file in your plugins folder.
February 24, 2016 at 6:44 pm #250260In reply to: Members connecting with eachother
dave8528
ParticipantHi @mcuk,
Brilliant! It works well. However, I seem to have had some issues with CSS file which once I reverted to the original, the “Add Friend” button showed up. I was trying to redesign the out-of-the-box BuddyPress, but failed. I need to find a better looking CSS to replace the original. Is there a boxed-up CSS designs out there for BuddyPress that you know of?
Again, thanks for all help!
February 24, 2016 at 5:59 pm #250259In reply to: Error in Release Candidate 2.5
mrjarbenne
ParticipantFebruary 24, 2016 at 3:31 pm #250254cybmeta
ParticipantOnce more test.
wp_registration_url()returnshttps://example.com/wp-singup.phpincorrectly.As soon I deactivate BuddyPress, it returns
https://example.com/wp-login.php?action=registercorrectly.With no other active plugin and using a core theme, this just confirm that the problem is in BuddyPress.
I’m really stuck with this issue.
I said it is not a multisite installation, and it is not,
is_multisite()returnsfalse. Which is probably what is generating the infinite redirection. In wp-signup.php there are these lines:if ( !is_multisite() ) { wp_redirect( wp_registration_url() ); die(); }But because
wp_registration_url()returns incorretly example.com/wp-signup.php when BuddyPress is active, I get the infinte redirection loop.February 24, 2016 at 2:45 pm #250252In reply to: Users automatically joining all groups
shanebp
ModeratorIf you disable learndash and signup as a new user – are you automatically a member of all groups?
If not, then issue is somewhere in learndash or a related plugin.
If you are, then you are running some custom code.
BuddyPress does not auto-join new members to groups. -
AuthorSearch Results