Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 40 total)
  • Avatar of Hope
    Hope
    Participant

    @amalsh

    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?

    Avatar of Hope
    Hope
    Participant

    @amalsh

    This is the “load more” code in global.js that deals with the comments’ hiding:
    `/* Hide excess comments */
    if ( jq(‘div.activity-comments’).length )
    bp_dtheme_hide_comments();`

    The required code is already in the called function bp_dtheme_hide_comments(); It should work :S Is there something I’m not seeing :|

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Hi @yadigit

    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? :(

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Anybody’s help will be much appreciated.. Thanks

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Hi @yadigit,

    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
    Hope

    Avatar of Hope
    Hope
    Participant

    @amalsh

    @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).

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Sorry, you’re right…

    I just added a check in the activity -> entry.php to assure that it’s not a post page:
    (if !bp_is_blog_page()).

    Maybe it’s not the perfect solution but it works for me for now..

    Thanks
    Hope

    Avatar of Hope
    Hope
    Participant

    @amalsh

    I found a solution thanks :)

    Avatar of Hope
    Hope
    Participant

    @amalsh

    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

    Thanks
    Hope

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Interesting idea! I’ll see how I can benefit from this plugin.

    Thank you very much

    Avatar of Hope
    Hope
    Participant

    @amalsh

    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?

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Anybody? how to hide non friends activity updates from activity stream?

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Hi,

    Thanks for the solution @modemlooper, I want to hide profile activity tab from non-friends, how can i do this?

    Thanks
    Hope

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Thank you aces, I ended up modifying core files :) Didn’t find another way…

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Apparently there’s no way to copy the code here :S Anyway do you know how to do this?

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Interesting!

    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
    Hope

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Thanks… I tried it actually but didn’t work :(

    Avatar of Hope
    Hope
    Participant

    @amalsh

    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

    Avatar of Hope
    Hope
    Participant

    @amalsh

    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.

    Thanks

    Avatar of Hope
    Hope
    Participant

    @amalsh

    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

    Avatar of Hope
    Hope
    Participant

    @amalsh

    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?

    Thank you

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Hi cjpascal,

    I want to do the same thing. Did you find out where to change it?

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Apparently it appears with non friends activities.. BTW, I’m using “buddypress-friends-only-activity-stream” plugin. Could it be the reason?

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Nice! I replaced global.js file of bp-default & now it’s working properly.

    Thank you.

    Avatar of Hope
    Hope
    Participant

    @amalsh

    No, I’m using “Custom Community” free theme. When I changed to the default theme, the problem disappeared. the fix is in the default theme? If so, what can I modify to fix this issue in “Custom Community” theme?

Viewing 25 replies - 1 through 25 (of 40 total)