Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 23,251 through 23,275 (of 94,544 total)
  • Author
    Search Results
  • mcpeanut
    Participant

    @danbp yes thats what i was saying about it not being theme or plugin specific as a problem because you can create this no matter what install of bp you are using.

    If you haven’t receive the answer you expected, it’s because the described issue is not a issue, but how it works globally

    in otherwords you mean you all know about this and just cannot figure out how to stop this behavior from happening within buddypress yet after clicking the load more tab, sorry to be blunt lol but its quite obvious that this is the case, because then comes the question of why the collapsing of comments was added in the first place within buddypress if it can only work on the first 50 activity updates until clicking the load more button.

    i do not believe for a second that this was added with the intent of it not working when scrolling down and clicking the load more button, because as anyone who uses any kind of social network knows ” WE ALL SCROLL DOWN AND READ OLDER COMMENTS” especially if we havent logged in for a day or two.

    look i am not complaining about using free software that other people have spent countless hours and dedicated all there time to make it what it is, to be honest it is utterly brilliant and i thank everyone involved because without buddypress i wouldnt be able to achieve what my site can do, all i am saying is that it is a very troublesome feature the way it works right now and i think it really should be addressed. (if the feature was added to collapse comments after 5 for the first 50 status updates you see only then fine, but like i said i dont believe that for a second. its more like its an issue that has not been solved.

    this is why i have now added my own solution for now by adding a collapse and expand comments button for anyone to use after they have clicked the load more button, and if anyone wants help doing that i will give them the code.

    #203609
    shanebp
    Moderator

    Create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\profile-loop.php

    Look at bp_the_profile_field_name() and bp_the_profile_field_value() – they display the value.

    You’ll need to write a conditional using
    bp_get_the_profile_field_name and bp_get_the_profile_field_value() so that you can use the values without displaying them.

    For example:

    if( bp_get_the_profile_field_name() == 'current_weight' )
      $current_weight = bp_get_the_profile_field_value(); 
    
    if( bp_get_the_profile_field_name() == 'starting_weight' )
      $starting_weight = bp_get_the_profile_field_value(); 
    
    $weight_lost = $starting_weight - $current_weight; 
    
    echo '<br/>weight lost so far: ' . $weight_lost;
    #203608
    Dono12
    Participant

    I have a problem, I found this snippet of code in the forum:
    <?php if ( bp_displayed_user_is_friend() ) : ?>
    <?php locate_template( array( ‘members/single/not-friend’ ), true ) ?>
    <?php else : ?>

    BUDDYPRESS USER PROFILE BODY

    <?php endif; ?>

    works in correlation: not-friend.php
    Directory: wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single

    The code does hide the user profile respectively but the problem is the not-friend.php message is not loading the message. Can any one help me with this?

    #203597
    Hugo Ashmore
    Participant

    Initial thoughts is if you are still in development why are you choosing to use the bp-default theme approach rather than using the newer(since 1.7) theme compat approach and to which you allude in trying /our-theme/buddypress/ /our-theme/community/

    If that later approach were to work for you you need to understand that registration does not have it’s own folder/dir but the reg template lives in /members/ have a look at /bp-legacy/buddypress/ to see the directory structure which must be mirrored in the theme also templates under theme compat are not full page templates i.e complete with header and footer calls as they get called and injected into a parent template – generally page.php unless the hierarchy invoked and another named template is use.

    Although this doesn’t address your immediate issue, unless you are wanting the old bp-default visual styling I would suffer the change to theme compat templating now before you go further?

    Judder
    Participant

    We might be doing something wrong, or an old dependency that was dropped from 2.0.2 to 2.1, but when we upgrade BuddyPress to the latest 2.1 from 2.0.2 our registration template is ignored and the bp-default is used instead.

    Our template

    /wp-content/themes/our-theme/registration/register.php

    Buddy Press template used

    /wp-content/plugins/buddypress/bp-themes/bp-default/registration/register.php

    Switching back to 2.0.2 fixes the problem.

    We’ve tried copying the templates to

    /wp-content/themes/our-theme/community/registration/register.php

    and

    /wp-content/themes/our-theme/buddypress/registration/register.php

    but still ignored.

    Any thoughts / pointers much appreciated

    Wordpress: 4.0
    Site: In Development

    #203585
    Henry Wright
    Moderator

    Take a look at this tutorial:

    Load Next WordPress Posts With AJAX

    It’s a good attempt at explaining how AJAX can be used to load more WordPress posts. The solution isn’t 100% perfect for you a) because it applies to WordPress posts and not BuddyPress activity items and b) the query is slightly off if a new post happens to be published between initial page load and load more button click.

    *But* it should give you a good starting point to gain understanding on how AJAX *might* be used to load more items into the DOM.

    #203580
    Marcella
    Participant

    There’s no real reason, other than knowing exactly what my theme is doing and what it’s outputting in each scenario. I appreciate it’s a little idiosyncratic but it’s just how I do it.

    If I do let buddypress.js by default, how would I make it sing nicely with this theme which is shrouded with custom markup?

    Appreciate any help offered, @hnla thank you.

    #203579
    Hugo Ashmore
    Participant

    Also I don’t load buddypress.js in my theme.

    Well that’s going to be a bit of an issue then, why are you not enqueueing the BP primary js file? This file handles a lot of BP JS functionality without wish your site experience is going to be pretty flat.

    I think you need to explain your approach to your theme in respect of BP integration as I can’t really think of a good reason to not use the file, overload and modify, is an option but to leave out altogether…

    #203578
    Hugo Ashmore
    Participant

    This really is a server issue rather than a Buddypress one.

    Internal server errors can have any number of possible causes that will be very hard for us to identify for you.

    Your partial log points to “End of script output before headers” this might be file/directory permissions issues as your on a localhost, try and ensure your permissions are as open as possible.

    Does your localhost site run correctly otherwise, is WP fully working in all respects, does .htaccess exist, is it correctly allowing permalink re-writing. Can you run updates through the WP admin interface? Is that domain actually in your hosts file?

    mcpeanut
    Participant

    @danbp do you not remember talking to me about this very issue a week or 2 ago in a post?

    this is the exact same issue i am talking about, its not theme or plugin specific it happens on any fresh and new buddypress install without any plugins running at all and with all the default themes, i have extensively tested with numerous fresh installs.

    as i mentioned in that thread this is a very troublesome problem, why on earth dont a few devs just check out this problem by just installing buddypress with a fresh wordpress install then post about 40-50 dummy status updates in the stream and then about 10 from the bottom add over say 7 comments then another 10 statuses up add another 7 comments and finally add another seven comments to near the top.

    now after doing that go and refresh the page and you will find that the first 7 comments you see in the closest status to the top will only show 5 of the 7 and an option saying show all comments will appear (how they should be), then scroll down to the load more button and click it and notice the statuses after you click the load more button show all 7 comments instead of hiding after 5!!!!!! (7 is used as an example so imagine if 30 comments have been made on a status! makes the activity stream very loooooooooooooooooong!

    this takes me on average less than 5 minutes to replicate every single time from a fresh install, the reason most of you are not seeing it is because i think you are not testing past 5 or more comments!

    #203572
    requiemz
    Participant

    Okay Ill fill out the questionnaire.

    1. Which version of WordPress are you running?

    4.0

    2. Did you install WordPress as a directory or subdomain install?

    Directory.

    3. If a directory install, is it in root or in a subdirectory?

    Subdirectory /var/www/web

    4. Did you upgrade from a previous version of WordPress? If so, from which version?

    No, its a vanilla install.

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.

    Yes.

    6. Which version of BP are you running?

    None, installing for the first time.

    7. Did you upgraded from a previous version of BP? If so, from which version?

    No.

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?

    Yes see below:

    Bulk Move
    Move or remove posts in bulk from one category or tag to another
    Version 1.2.1

    Envato WordPress Toolkit
    WordPress toolkit for Envato Marketplace hosted items.
    Version 1.6.3

    Post Type Switcher Allow switching of a post type while editing a post (in post publish section) Version 1.3

    Regenerate Thumbnails
    Allows you to regenerate all thumbnails after changing the thumbnail sizes.
    Version 2.2.4

    Social Count Plus Display the counting Twitter followers, Facebook fans, YouTube subscribers posts and comments.
    Version 3.0.0

    Ultimate Coming Soon Page Creates a Coming Soon or Launch page for your website.
    Version 1.11.1

    Velvet Blues Update URLs This plugin updates all urls in your website by replacing old urls with new urls.Version 3.2.2

    Widget Importer & Exporter Imports and exports widgets.
    Version 1.1.4

    WordPress Importer Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.
    Version 0.6.1

    9. Are you using the standard BuddyPress themes or customized themes?
    Not sure what this means, I bought the theme and the vendor says its designed to work with BuddyPress.

    10. Have you modified the core files in any way?

    No.

    11. Do you have any custom functions in bp-custom.php?

    No.

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?

    NA

    13. Please provide a list of any errors in your server’s log files.

    Not sure which logs you need but this looks relevant:

    [Wed Oct 01 05:30:30.686873 2014] [fcgid:warn]  [client XXX.XX.XXX.XXX:1029] mod_fcgid: stderr: PHP Warning:  opendir(/wp-content/themes/mightymag/inc/jackbox/img/graphics/): failed to open dir: No such file or directory in /var/www/web/wp-content/themes/mightymag/inc/jackbox/php/graphics.php on line 45, referer: http://mydomain.net/
    [Wed Oct 01 05:44:37.340658 2014] [fcgid:warn]  (104)Connection reset by peer: [client XXX.XX.XXX.XXX:1025] mod_fcgid: error reading data from FastCGI server, referer: http://mydomain.net/wp-admin/update.php?action=upload-plugin
    [Wed Oct 01 05:44:37.340781 2014] [core:error]  [client XXX.XX.XXX.XXX:1025] End of script output before headers: plugins.php, referer: http://mydomain.net/wp-admin/update.php?action=upload-plugin
    [Wed Oct 01 06:14:53.652260 2014] [fcgid:warn]  (104)Connection reset by peer: [client XXX.XX.XXX.XXX:1024] mod_fcgid: error reading data from FastCGI server, referer: http://mydomain.net/wp-admin/update.php?action=install-plugin&plugin=buddypress&_wpnonce=54d70bf280
    [Wed Oct 01 06:14:53.652392 2014] [core:error]  [client XXX.XX.XXX.XXX:1024] End of script output before headers: plugins.php, referer: http://mydomain.net/wp-admin/update.php?action=install-plugin&plugin=buddypress&_wpnonce=54d70bf280
    [Wed Oct 01 20:36:21.437859 2014] [fcgid:warn]  (104)Connection reset by peer: [client XXX.XX.XXX.XXX:1024] mod_fcgid: error reading data from FastCGI server, referer: http://mydomain.net/wp-admin/plugins.php?plugin_status=all
    [Wed Oct 01 20:36:21.437996 2014] [core:error]  [client XXX.XX.XXX.XXX:1024] End of script output before headers: plugins.php, referer: http://mydomain.net/wp-admin/plugins.php?plugin_status=all

    14. Which company provides your hosting?

    localhost

    15. Is your server running Windows, or if Linux; Apache, nginx or something else?

    LAMP

    #203571
    FL Diving
    Participant

    Wordpress 4.0 Buddypress updated to 2.1

    http://www.floridadiveconnection.com

    All was well until I did the latest Buddypress update. It has caused several problems

    1. There is now a conflict with MapPress and Nextgen Gallery. My maps disappeared until I deactivated Nextgen
    2. I can no longer add media to my posts and cannot access my media library through my theme to make posts.
    3. It broke my FAQ page where the toggle to get info no longer works
    4. Buddypress activity plus plugin has stopped working.

    Help 🙁

    #203570
    bp-help
    Participant
    #203568
    Asynaptic
    Participant

    Just noticed that the link at the bottom of the page here:

    https://codex.buddypress.org/themes/modifying-the-buddypress-admin-bar/

    going to here:

    https://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/hiding-the-buddypress-admin-bar/

    is 404

    insert following code in functions.php to remove the admin bar:

    
    /* remove admin bar features*/
    add_filter( 'show_admin_bar', '__return_false' );
    
    /* remove admin bar options for users */
    remove_action( 'personal_options', '_admin_bar_preferences' );

    credit to wpmu Q/A

    #203566
    1a-spielwiese
    Participant

    I tried the following:

    1st:

    I created a new profile ‘Tag’ (description: ‘der Geburt oder Teamgründung’).

    2nd:

    Consequently I substitute within the first code of @sbrajesh $dob_field_name by $tag.

    Besides I reduce $format="%y Years, %m Month(s), %d days" to $format="%y"

    Therefore the code, which I inserted into my reddle-child/functions.php, was:

    /**
    * Get Age from BuddyPress date of Birth
    * <a href='https://buddypress.org/community/members/param/' rel='nofollow'>@param</a> string $dob_field_name :name of the DOB field in xprofile, like Dob or Date of Birth
    * <a href='https://buddypress.org/community/members/param/' rel='nofollow'>@param</a> int $user_id : the user for which you want to retrieve the age
    * <a href='https://buddypress.org/community/members/param/' rel='nofollow'>@param</a> string $format: the way you want to print the difference, look t  for the acceptable agrs
    * @return string :the formatted age in year/month
    */
    
    function bpdev_get_age_from_dob($tag,$user_id=false,$format="%y"){
    if(!$user_id)
    $user_id=bp_displayed_user_id ();
    
    $dob_time=xprofile_get_field_data($tag, $user_id);//get the datetime as myswl datetime
    
    $dob=new DateTime($dob_time);//create a DateTime Object from that
    
    $current_date_time=new DateTime();//current date time object
    //calculate difference
    $diff= $current_date_time->diff($dob);//returns DateInterval object
    //format and return
    return $diff->format($format);
    
    }

    3rd:

    I substitute within the second code of @sbrajesh "DOB Field Name" by tag and I deleted "Age"..

    Therefore I inserted into my reddle-child/buddypress/members/members-loop-.php:

    <td>Alter: <?php echo bpdev_get_age_from_dob(tag); ?> | </td>

    Result: I get for all user the age ‘0’ (zero) displayed.

    4th:

    For test purpose I substituted tag by tag,bp_loggedin_user_id().

    Then I get displayed the correct age of that user, which is currently logged in with my computer – but as age of all users.

    5th:

    Conclusion:

    echo bpdev_get_age_from_dob(tag); (cfr. section 3rd) is not the correct code for my purpose. – What have I to change?

    I tried as well tag,bp_displayed_user_id and tag,bp_members – both without and with () at the end (- instead of only tag). – All four variants did not work.

    —-

    Additional remark:

    That, what is described within section 4th works not, when the current user his-/herself has set his/her date of birth. It worked only, when the date of birth was set by the superadmin and then another user logged in.

    #203565
    Ahle
    Participant

    Hi,
    I want to create a public homepage with an area for logged-in users. Ideally, anyone viewing the site will see nothing but the LogIn Widget.

    I’ve at least managed to set things so the forum page and group page are visible in the menu but don’t display any content as long as you’re not logged in.
    The Members page, however, is allways accessible so that absolutely anyone can see the user names of all the members.

    I have tried menu settings and obviously WP visibility options, but Buddypress seems to ignore both.

    >How can I hide user’s pages from the menu and how can I password-protect the list of members?

    I cannot really code (I basically just copy&paste), so best would be if you could recommend a widget.

    Please don’t diss the dummy, and thank you for your help!

    giovannipepperoni
    Participant

    Hello…

    been searching for how to do this, but didnt find solution so figured i would post the question.
    im using wordpress multisite 4.0, buddypress 2.1, and bbpress 2.5.4. site has two membership types which for purposes of this will be called free level and member level. i want to allow those at member level to create a site and a bbforum but not allow free level to do so.

    i have read how to allow all or none to do it and so far, what i think i have to do is not allow anyone to create sites or forums; instead, i should have them request it so i create it for them.

    any suggestions are welcome.

    thanks in advance.

    #203562
    Ben Hansen
    Participant

    settings > buddypress > settings > first item

    #203223
    danbp
    Participant

    Ask the age instead of date of birth !

    Your age: [ ] text-filed numeric type

    else you have to code it yourself. Some answers here.

    ChiefAlchemist
    Participant

    Hello all –

    I might be over-thinking this so please push back a bit if you feel you must. Not a problem. 🙂

    I know I can add take a WP comment add and create a custom BP activity from that. In terms of BP Activity, that’s great. But now it seems that creates two different engagement streams / silos (i.e., WP Comments and BP Status updates). I’m thinking we want to close that gap. If for no other reason it feel KISS to me.

    Ya with me so far? 🙂

    I’m not asking for the blow by blow How To, just insights (i.e., maybe this is already solved).

    I thinking that on save_post I take the post author / user and create a BP Status update. For example:

    “Mark published: ‘The 50 Shades of BuddyPress’ Click here to read the article.”

    And auto-create a status update for the author in his/her BP Status + Activity stream.

    That Update becomes the first “Comment” on the blog article. Additional Comments off that parent – are also status updates and – are just a Reply, and so one. That doesn’t seem too bad. Ya think?

    If I have a Scooby-doo “rotrow” moment its: How do I tie Post to Status or Status to Post. Am I better off with a post_meta that more of less is “BP status id” and use that to start the Commenting, or is the relationship also the other way? That is, status to blog post?

    I ask because I’m concerned about queries and deep / complex queries that can be resource hog-y. I don’t want that. I mean as long as I know which Status update ID of the author to start with I should – ideally – be able to keep using stock BP from there, with some template mods obviously.

    Don’t type too fast. I’m just coming up on week #4 or #5 with using BuddyPress. Thx.

    #203214
    bp-help
    Participant

    @osamanuman
    If you hacked the buddypress files directly without creating a child theme or using theme compatibility then unfortunately you will lose those changes when you update BP. If you would like to keep those changes it will now be a pain because you will have to download all of those files you changed in cpanel then build a child theme or use theme compatibility overload and review:

    Theme Compatibility & Template Files


    Then change the new templates in your child theme or the the ones you overloaded using template compatibility by reviewing the old templates you modified. That is why it is important to only modify the files in your child theme or the ones in wp-content/themes/YOUR-THEME/buddypress then next time when buddypress has an update you will not have to worry about losing your modifications. As far as text goes you really should be making those changes in a language file. Please review:

    Customizing Labels, Messages, and URLs

    OsamaNuman
    Participant

    Hello ,

    I have one small question:

    I have been changing some things in BuddyPress code in the files of the plugin on my CPanel (like changing some texts and converting some links to normal texts), now if I update my BP plugin will it change all the files to original version and I lose all the work done? if so how can I keep my work and update the plugin ??

    Regards

    m1000
    Participant

    Hi,

    Since 2.1 version of BP I can’t change shape of crop tool. I pasted this code in functions.php (twentyfourteen theme)

    	function group_thumbnail_size(){
    	   define( 'BP_AVATAR_FULL_WIDTH', '180');
    	   define( 'BP_AVATAR_FULL_HEIGHT', '120' );
    	}
    	add_action('bp_init', 'group_thumbnail_size', 2);

    … and this is what I see http://i.share.pho.to/1c4f196e_o.png

    It looks like a buf of Buddypress.

    #203204

    In reply to: Can not post updates

    danbp
    Participant

    Seems to be a theme related issue.
    this premium theme requires buddypress template pack.

    If it worked before BP 2.1 and WP 4.0 updates, you have to ask on the theme support or try some guidance from the Codex.

    #203203
    requiemz
    Participant

    Hello,
    I am getting the dreaded 500 Internal error whenever I try to activate the BuddyPress plugin. I am using WordPress version 4.0 on an internal development LAMP server. Any help would be appreciated.

Viewing 25 results - 23,251 through 23,275 (of 94,544 total)
Skip to toolbar