BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › A few questions about the activity feed
Tagged: activity links, activity page, excerpts, images, posts
- This topic has 6 replies, 2 contibutors, and was last updated 10 years, 1 months ago by Alyssa.
-
Question
October 24, 2014 at 7:58 am #32889@milenaHi,
I have a few functionality questions about the activity feed.
1. How to change the post image that shows up on the activity page – from an embedded image to the featured one? So that the posts in the activity will look more uniform with the blog page.
2. How to increase the amount of text that is shown before the […] on the post activity update? Is it possible to make the “read more” from buddypress ( […] ) similar to the one from the buddyboss wall ( [read more=link] )?
3. How to add the group description to the “created a group” update?
4. Buddyboss Media: When you view the photo inside the lightbox and press to comment it opens on a white page . Where/ what is this page’s template? Is it possible to change it to the profile page template, or edit- to add a side bar for example?
would appreciate any ideas.
Answers
October 24, 2014 at 9:21 pm #32914@alyssa-buddyboss
AlyssaParticipant@milena 1) The easiest way to do this is to add this to custom.css:
.activity-list .activity-content img.thumbnail {display:none;}
2) I’m not sure what you mean, can you show me an example
3) You will need to contact BuddyPress on this one
4) This is the lightbox. There is no page for it. The code is located in this file: buddyboss-media/assests/js/buddyboss-media.min.js I would recommend editing CSS using inspect element tool.
October 26, 2014 at 7:32 am #32947@milenaHi @tjchester, thank you.
I am working hard, non stop to make this work. a few new and old activity related issues-that need your attention.
1-since yesterday my MOBILE user’s profile won’t display right (image 1 attached) I tried to understand what and why- but nothing i did helps.
2- activity page- the content I add won’t dislay on the front end. it’s a regular page, not front page. (tested without any plugins, but buddypress- still no content. I also tested with another theme- still no content displayed)
3- how do i reduce the space between the input box and the activity (and profile) tabs and feed?
(image attached -2)to my previous questions:
1.
The easiest way to do this is to add this to custom.css:
.activity-list .activity-content img.thumbnail {display:none;}This works- but the featured image is now shown. I just get plain text.
or if I add this code (https://www.buddyboss.com/support-forums/topic/activity-wall-show-featured-image-like-facebook/#post-32922) I get the featured image displayed in the activity comments on that post to.2. image attached (3)
4. are you sure the final destination – is the lightbox too? No the black backround, but the image on a white background – when you press comment.
5. (this is from another thread but still actual) – time shows up twice on group activity (image 4)
October 27, 2014 at 11:52 am #32976@alyssa-buddyboss
AlyssaParticipant@milena I’ll be no help on #1 only you know what changes you have made. You may want to start backing up your site on a regular schedule (hourly, every 4 hours etc.) So you can revert back if you make mistakes.
2) This is a BP issue, so if this doesn’t work you will need to contact Bp support
Add this to functions.php to increase ALL excerpt lengths. (I think 358 is default)function cc_custom_excerpt_length() { return '358'; } add_filter( 'bp_activity_excerpt_length', 'cc_custom_excerpt_length' );
Further here is more info on the exact function: http://oik-plugins.eu/buddypress-a2z/oik_api/bp_create_excerpt/
3) try adding this to custom.css:
#buddyboss-media-preview{padding-bottom:0px;}
Just gotta use inspect element tool to figure this one out.4) Yes, it’s that and CSS, that is it.
5) This hasn’t been reported before, I don’t believe it is a theme issue. Contact BP for support.
October 31, 2014 at 2:09 am #33127@milenaHi @tjchester thank you for all your advices.
I only have one of these issues left- I posted about it in another thread too.
https://www.buddyboss.com/support-forums/topic/activity-wall-show-featured-image-like-facebook/#post-33110You said here:
Add this to functions.php to increase ALL excerpt lengths. (I think 358 is default)
function cc_custom_excerpt_length() {
return ‘358’;
}
add_filter( ‘bp_activity_excerpt_length’, ‘cc_custom_excerpt_length’ );
Further here is more info on the exact function: http://oik-plugins.eu/buddypress-a2z/oik_api/bp_create_excerpt/But I don’t need to increase the excerpts, I need to change the end of them from the UN- clickable … Or […] to the [read more] link .
Please help.
October 31, 2014 at 5:48 am #33130@milenaI also found this topic- since I had the same problem (see image attached)
https://www.buddyboss.com/support-forums/topic/continue-reading-link-does-not-display/and did this: (-which fixed the issue for the blog page.)
in content.php:56 change the_excerpt() to this:
the_content( __( ‘Continue reading <span class=”meta-nav”>→</span>’, ‘buddyboss’ ) )So the blog page does have a “read more” link in the end of the excerpt now.
BUT it does not have that in the activity feed, see image second image.
October 31, 2014 at 8:26 am #33134
- The question ‘A few questions about the activity feed’ is closed to new replies.