Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 17,051 through 17,075 (of 94,565 total)
  • Author
    Search Results
  • Andrew
    Participant

    I’m filtering my activity pages using the bp_after_has_activities_parse_args filter and using conditionals depending on the activity page. But my conditionals are not working correctly for my custom pages. I’m not great with PHP but I’ve followed the instructions the best I can to put this together and I hope someone can help me with this to find a work around.

    Here is what I’ve done.

    I’m creating custom activity pages by setting them up in admin>pages>add page ‘custom-page-1’, ‘custom-page-2’ etc. I’ve setup each of these pages similar to the activity/index.php to create the activity loop:

    <div id="buddypress">
    
    	<div class="activity">
    			
    		<?php bp_get_template_part( 'activity/activity-loop' ); ?>
    				
    	</div>
    </div>

    Now with the parse_args filter, I can use conditionals to filter some of the activity pages, but my conditionals are not working correctly for my custom pages – they work to begin with but when I click the load more button, the new items are not being filtered. Here is an example to show you what is working and what is not (using the per_page filter for demonstration):

    function cm_activity_filter( $retval ) {
    
    	// The following conditionals to filter are working fine:
    
    	// Activity directory
    	if ( bp_is_activity_directory() ) {
    		$retval['per_page'] = 2;
        }
    	
    	// User profile just-me component
    	if ( bp_is_current_action( 'just-me' )) {
    		$retval['per_page'] = 3;
        }
    	 
    	 // A custom component in the members profile I setup using bp_core_new_nav_item
    	 if ( bp_is_current_action( 'custom-compenent' )) {
    		$retval['per_page'] = 10;
        }
    
    	
    	
    	// The following conditionals to filter my custom pages are not working when the load more button is clicked :
    	
    	// custom activity page 1
    	if (is_page( 'custom-page-1' ) ) {
    		$retval['per_page'] = 2;
    	}
    	
    	// custom activity page 2 
    	if (is_page( 'custom-page-2' ) ) {
    		$retval['per_page'] = 8;
        }
    	
    	
    	
        return $retval;
    }
    add_filter( 'bp_after_has_activities_parse_args', 'cm_activity_filter' );

    So the is_page() conditionals are not working when the load more button is clicked. Is there a way to get this to work correctly. Any help appreciated.

    #247840
    Henry Wright
    Moderator

    When you say posts, do you mean WordPress posts, or BuddyPress activity items? Both “streams” are different and will require different solutions.

    #247838
    ecarmona
    Participant

    Buddypress profile is completely messed up, I get a 404 everytime I try to access anything related to the user profile. Is like everything specific to the user is broken, gives a 404 (that I have as a redirect to homepage)

    site: http://pearhel.elitepreviews.com/
    Wordpress 4.4
    Buddypress 2.4.3
    Theme: wplms 1.9.9.1 child

    What is broken:
    /accounts/username/
    /accounts/username/dashboard
    accounts/username/course/course-results
    accounts/username/course/course-stats
    accounts/username/course/instructor-courses
    /accounts/username/profile
    /accounts/username/notifications
    /accounts/username/message
    /accounts/username/friends
    accounts/username/settings
    accounts/username/groups/<tabs>
    accounts/username/forums/<tabs>

    what works:
    accounts/
    accounts/username/course/
    accounts/username/activity/
    accounts/username/activity/groups/
    accounts/username/groups
    accounts/username/forums

    I noticed 8 hours ago that the user profile on the front end is broken and since then I’ve tried:
    De-installing latest update
    Deactivated multilanguage pluggins and all third party pluggins not related to the theme.
    Re-installing plugin
    Re-updating plugin
    Permalinks redo at least 20 times
    HTaccess deleted and redo at least another 10 times
    Created a new page to show members… the member list works but I can’t access any profile, it gives a 404 (that right now is setup as a redirect)
    Tried every single setting on budypress

    Need so much help… hopefully someone can help me out on time =( or I get to figure why…

    HolgerGr
    Participant

    Hello,

    I use BP 2.4.3 with my own theme that I made from scratch. Everything seems to work fine, except the cover Image function. When I upload a picture I recieve a error message, that reads: For better results, make sure to upload an image that is larger than 0px wide, and 225px tall. And because the with is 0 no picture is seen.

    To encircle the problem I switched over to the bp-default theme that vame with the pugin. There is noch cover upload option at all. I then switched over to the twentyfifteen (all themes are provided with the same additional buddypress files of course). I seen the function and the already uploaded image (that I uploaded from my own theme) in a perfect manner.

    So, I’m pretty sure that the theme locks or unlocks this function. But I can’t figure out what the diffrences are that unlocks this function in my theme.

    It would bee cool if someone had the same problems and also the solution.

    Best wishes
    Holger

    #247834
    fried_eggz
    Participant
    #247825
    reggie3
    Participant

    Hi,

    We are using an activity stream widget and would like to show only comments, not new blog posts, etc. Is there a way to do this?

    We have searched the support posts here, Googled, searched WP plugins etc and have only seen either distantly related posts and/or distantly related posts referring to legacy versions.

    We’re in the process of moving from WP 4.3 to 4.4; BuddyPress 2.3.4 to 2.3.5.

    Thanks!

    #247824
    Henry Wright
    Moderator

    In that case @fried_eggz, can you open a ticket for this on Trac?

    #247822
    Ben Hansen
    Participant

    @mercime didn’t realize those were done with buddypress thanks for sharing that fact 🙂

    #247820
    lotte01
    Participant

    Hello!

    I’m quite new with Buddypress. So I’m searching for hours already how I can do the following thing. I hope you guys can help me!

    I made some custom fields beyond ‘Profile Fields’. I would like to display the outcome of this fields on another page (on a order, within LearnPress). I tried so many PHP codes with ID’s, names etc. But none of them works… What am I doing wrong?

    Here I would like to add the custom fields (beyond the user ID)

    What kind of code do I have to place here?

    Here I made one of the custom fields ('Opleiding')

    Would love to hear from you. Thanks in advance 🙂

    Lot

    #247816
    valuser
    Participant

    The Buddypress.org site continues to improve at a steady pace and now all the archives are almost completely accessible.

    Came across a little glitch.

    Pagination on the top and bottom of Forum Replies Created is not correct.

    For example on this page

    https://buddypress.org/members/henrywright/forums/replies/

    the link to page 2 is https://buddypress.org/page/2/

    but this should be

    https://buddypress.org/members/henrywright/forums/replies/page/2/

    Cheers and thanks for the great work and support.

    #247815
    valuser
    Participant

    Suggestions in this post MAY be of some help.

    I only say MAY because the user base is shared – once a user visits another network that user is added to the Members of that network.

    However each network can have absolutely completely separate Activity Streams, Groups, Forums, and sites/blogs as well as separate plugin and theme structures.

    I fully understand that this may not not be exactly what you are looking for but it certainly is a very good start.

    #247810
    fried_eggz
    Participant

    Yes @henrywright, the settings are correct.

    Steps to repeoduce:

    1. Install vanilla WordPress 4.4
    2. Install vanilla BuddyPress 2.4.3
    3. Use default theme
    4. Post a status update
    5. Create a new user
    6. Log in as new user
    7. Comment on status

    Just to be clear, I’m talking about notifications in WordPress toolbar. Have not checked if email notifications work since I’m on localhost.

    mcpeanut
    Participant

    @henrywright yes I will add it to trac later today when I have some spare time, there is no need for me to test on the default themes again as it will be the 100th time or more I have tested this over and over and over and over and yes you guessed it over again! for the past 2 years 🙂

    It happens on every single theme that you use Buddypress on, it has never worked as I think it was intended to, its probably been completely overlooked and always has. If you test every version back to Buddypress 1.7 you will find the same issue in every single version of Buddypress up until the most recent, I havent gone further back than 1.7 so if it ever did work it was pre 1.7.

    #247806
    pryde1919
    Participant

    Hi, I’m trying to link the author’s name into their buddypress profile, but it always redirect to only the members page, what is the right code for this?

    I have read some article saying to use this http://www.sample.com/members/%user_login%

    but it seems to be it’snot working anymore, what is the best solution to this?

    Henry Wright
    Moderator

    @mcpeanut I’m unable to test right now but can you give this a try on Twenty Fifteen or Twenty Sixteen and if the problem persists, would you mind opening a Trac ticket for this? Copying and pasting some of what you’ve wrote already should be fine.

    The core devs might not see this forum topic.

    Ref: https://buddypress.trac.wordpress.org/

    #247801
    fried_eggz
    Participant

    That is wierd. It says here that this is core functionaliity: buddypress.org/about/notifications/

    By default, notifications are created as soon as one of the following things happen:

      Activity

    • A member mentions you in an update @username”
    • A member replies to an update or comment you’ve posted
    • …
    mcpeanut
    Participant

    @ubernaut , Yer maybe your right about adding it to trac directly for attention I think I will wait until morning as its so late and I need sleep, maybe in the mean-time @henrywright could take another read of this as he commented on my original thread over a year ago, but I gave up explaining as no-one was quite seeing what i was getting at back then.

    Ok, fair enough no-one is noticing the problem that this could cause yet because it seems most Buddypress sites just are not active enough to realise this yet for themselves, but I can guarentee that if a few Buddypress websites started to get really popular and used by masses of people this would become a real big issue when it comes to popular activity posts because these posts would just scroll on forever in the sitewide activity.

    mcpeanut
    Participant

    Not that I am aware, this is not a recent thing @ubernaut, it is something I have mentioned a few times over the years, this has been happening since I started using Buddypress well over 2 years ago (probs 3 years), The reason I haven’t added a trac ticket is because of how descriptive I have to be when explaining the issue, it may be better that a few mods confirm it and add the ticket to make it easier to explain, I felt like I had to write a story about it above just to explain the issue correctly and make it understandable.

    This is why I keep mentioning feeling baffled as to why after a couple of years no-one else has spotted this??? Maybe its because most websites that use Buddypress don’t often receive more than 5 comments on an activity huh? who knows.

    mcpeanut
    Participant

    Sorry I didn’t have enough space to be descriptive in the title…it meant to read, effects all users of Buddypress because it happens on every install.

    Ok guys let me explain, about 1 year and 2 months ago I made a post about strange behaviour with the Buddypress comments not collapsing and displaying the SHOW ALL link if a post has more than 5 comments when you have clicked on the LOAD MORE tab at the bottom of the page.

    I have tested this now on 5 SERVERS! with every version of Buddypress for over 2 years with same result. I cannot believe people are not noticing this when testing their builds 🙂

    Please bare with me as its such a simple thing to spot once you know what you are looking for yet so hard to explain to you guys so you understand what I am going on about. So let me do it in steps so that you understand what I have been going on about all this time.

    Ok, we all know that when someone posts an activity and people comment on it that Buddypress by default only shows 5 comments then gives you a link to click to show all the other comments. (lets just say 15 comments has been added to an activity as an example) By default Buddypress will show the latest 5 comments then add a link saying ‘SHOW ALL 15 COMMENTS’ that a user can click to see the remaining 10 comments that are out of view, this is designed to conserve space in the sitewide activity, YES? you with me so far?

    NOW THE PROBLEM! Yes this works great and works for everyone UNTIL you scroll down the sitewide activity and click on the the load more tab. any activitys that have received more than 5 comments will no longer show the SHOW ALL 15 COMMENTS (15 used as an example again). Instead all the comments will be visible and showing instead of being hidden from view taking up loads of the activity stream space which kind of defeats the purpose of having this feature in the first place, people tend to scroll down and click the load more tab if they have not logged in for a while to see previous updates they may of missed.

    Another example: if someone is browsing down the sitewide activity using the load more button to see what they have missed and one of the activitys has received lets say 200 comments on a busy website then all the 200 comments will be visible instead of having the default 5 comments visible with a show all 200 comments link. Now can you see the problem? 🙂 and can someone please take note of this and check it out, it is such an easy thing to see and recreate and i am totally still baffled as to why other are failing to spot this.

    Easiest way to see it first hand is install any theme a fresh Buddypress install with only Buddypress active, go to sitewide activity and post loads of updates until they activate the load more button, then post one last update and comment on it over 10 times, you will see after reloading the page it has 5 comments visible and a link saying show all 10 comments which is correct.

    Now scroll down to the bottom of the sitewide activity and click the load more tab and pick the bottom activity you can see and post 10 test comments on it, then reload the page so it takes you back to the top of sitewide activity, now scroll back down to the bottom of sitewide activity and click the load more button again and take note of the activity you just added 10 comments too, guess what? they are all visible with no link to show all 10 comments because they are already shown.

    Ok, did that explain everything? phew! 🙂

    #247795
    mrjarbenne
    Participant

    I don’t think there is a core functionality to accomplish this. I’ve been using this plugin to serve up those notifications with good results:

    BuddyPress Activity Comment Notifier

    #247786
    vinaysagar4u
    Participant
    #247778
    fried_eggz
    Participant

    BuddyPress does not send any notifications when a status is commented or a comment is replied to.

    No email notifications are sent and no new notifications are shown when logged in.

    Notifications do work when @mentioned.

    I’m using BP 2.4.3 and WP 4.4

    #247766
    @mercime
    Participant

    @dopeboy What shanebp said. BuddyPress powers the 8.1 Million ++ user profiles at WordPress.org https://profiles.wordpress.org/dopeboy

    #247765
    joesegal
    Participant

    Thanks @henrywright
    I have the Divi Theme activated.
    WP 4.4
    latest BP 188
    about 18 plugins activated.
    I deactivated all the plugins.
    Cropping worked.
    Reactivated each one by one.
    Cropping still worked.
    All of them!
    Then I refresh the page on the group avatar editing page and bam, not working again.

    wtf I dont get it?

    Also Im using a plugin called Buddypress Docs its like a Wiki plugin and the Visual editor doesnt work now in it just the text editor. Maybe thats related?>

    Is there a way to easily get a list of plugins I’m using to show you/others?

    #247761
    @mercime
    Participant

    @nattlyharris Required JS enqueued by BP including jquery.Jcrop.min.js are missing from source code caused possibly by a plugin. I think one culprit is the bj-lazy-load plugin but to be sure, deactivate all plugins except BuddyPress and check if you can crop the avatar. Then activate plugins one by one to see which is/are causing the issue.

    Edit – took too long to answer. didn’t know henry already posted.

Viewing 25 results - 17,051 through 17,075 (of 94,565 total)
Skip to toolbar