Search Results for 'buddypress'
-
Search Results
-
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.
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 childWhat 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/forumsI 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 budypressNeed so much help… hopefully someone can help me out on time =( or I get to figure why…
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
HolgerHello!
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?



Would love to hear from you. Thanks in advance 🙂
Lot
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.
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?
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! 🙂
Topic: No notifications for replies
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
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!