Forum Replies Created
Thank you guys for your quick responses…
Actually it’s not a Ning site, It’s a student information system & I want to export its users (who are students) in a format that could be imported into buddypress; so I can create them accounts with the specified fields that i already defined in Buddypress (program, term , year, etc..)
I installed BuddyExport on my test site, there’s Buddypress Import option but not accomplished yet as appears (nothing appears when clicking on it) or I missed something?
This is the “load more” code in global.js that deals with the comments’ hiding:
`/* Hide excess comments */
if ( jq(‘div.activity-comments’).length )
The required code is already in the called function bp_dtheme_hide_comments(); It should work :S Is there something I’m not seeing
Thanks a lot for your quick reply.. Actually I’m aware of the code in global.js file & I changed the number of shown comments to 2 instead of the default (5) but this is not my problem.
I’ll describe the problem in more details:
After changing the number to 2 in global.js file, comments appear on the activity stream just as I want (2 shown comments & the rest are hidden) but when I click on “Load More” buttom, the comments of the newly loaded activity updates are shown totally (no hidden comments).
So what could the problem be?
Thanks for the solution! I have a question maybe you can help me with:
When “loading more” activity stream, hiding comments doesn’t work i.e. all comments for activity updates appear which is not lovely!
Why is that happening? How to fix this?
Thank a lot
@verteus This functionality is already included in buddypress: in _inc -> global.js change the number in the following 2 lines:
1- if ( jq(this).children(‘ul’).children(‘li’).length < 5 )
2- if ( i < comment_lis.length – 5 )
In this way the latest 5 comments will be shown and a link “show all comments” will appear above comments. Of course this will happen when number of comments is above 5 (change the number to what you want).
Sorry, you’re right…
I just added a check in the activity -> entry.php to assure that it’s not a post page:
Maybe it’s not the perfect solution but it works for me for now..
Thanks @transmission… I decided to use this plugin, it’s very useful & now things are more logical… but i had one issue, Maybe you can help me with it.
I installed “RS Buddypress Activity Refresh” plugin to have live activity stream updates but when using it, all the activity updates appears on the commenting stream of the post!
How can I prevent this from happening? I only want “new blog comments” to appear in the post related stream
Interesting idea! I’ll see how I can benefit from this plugin.
Thank you very much
The problem in the plugin is in the row:
$activities->pag_num = $activities->pag_num -1;
When it takes 0 value.
What does pag_num refer to in activity?
Anybody? how to hide non friends activity updates from activity stream?
Thanks for the solution @modemlooper, I want to hide profile activity tab from non-friends, how can i do this?
Thank you aces, I ended up modifying core files Didn’t find another way…
Apparently there’s no way to copy the code here :S Anyway do you know how to do this?
I want to add dropdown list to choose between showing all or unread messages, how could this be applied? I added the following code but nothing happens:
Thanks in advance
As I see using “Firebug”, the taken users’ avatars are thumbnails with default size 50×50 and enlarged to 80×80, that’s why its quality is low but the question is how to use the original avatar instead of the thumbnail? What file should be modified for this? I couldn’t find it :S
No, I haven’t done any modification on the size via css & I’m looking at it from a normal resolution screen (from my laptop )…
It’s not like the avatars here, same size but lower quality.
Thank you both… I’m using Buddypress Version 1.6.3 but the avatars on forum page appear with low quality…
I tried your solution modemlooper but nothing changed :S
Yes it is but What may caused this issue in it? and if I wanted to not use it, how can I restrict activities to friends’ activities only?
I want to do the same thing. Did you find out where to change it?
Apparently it appears with non friends activities.. BTW, I’m using “buddypress-friends-only-activity-stream” plugin. Could it be the reason?
Nice! I replaced global.js file of bp-default & now it’s working properly.