Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 198 total)
  • Avatar of James
    James
    Participant

    @janismo

    Testing: add the code from the link (codex) and try to select settings -> general

    Avatar of James
    James
    Participant

    @janismo

    thanks, @r-a-y, will take a look on this.

    You are right re new slug, even more, question was raised because of those multiple outdated hashtag plugins available in repository. Recently I saw that you have rewritten very first of them.

    Could you tell if you have finished your update, or not? thanks!

    Avatar of James
    James
    Participant

    @janismo

    r_a_y, could you please explain in few words, what changes were done to activity add?

    I mean this patch https://buddypress.trac.wordpress.org/ticket/3856 and the words “..(short version – plugins that insert activity items will continue to work as before, but should be good citizens and update to the new technique)…”.

    As I see, bp_activity_add wasn’t changed, so what update Boone is talking about? thanks!

    Avatar of James
    James
    Participant

    @janismo

    thanks shanebp, found the same solution, probably, should work.

    Avatar of James
    James
    Participant

    @janismo

    thanks, shanebp, however, cannot say that I understood your idea. Will explain from a different angle. I have an activity ID ’900′ and 10 users. How do I get IDs of the users, who has activity 900 as a favorite?

    Avatar of James
    James
    Participant

    @janismo

    is there a way to get activity ‘date_recorded’ outside of the activity loop? thanks!

    Avatar of James
    James
    Participant

    @janismo

    ok, I got it. You have to pass the ID.

    Avatar of James
    James
    Participant

    @janismo

    thank you, guys! prior to open a topic checked styles/directories/etc. of twenty twelve, but not functions, as always :)

    Avatar of James
    James
    Participant

    @janismo

    yeah, as always, tried tens of variations, not this one :)

    works excellent, thank you again, Brajesh!

    Avatar of James
    James
    Participant

    @janismo

    thanks Brajesh, recently wanted to write about it.

    As I understand, we should use this function as a href, but how to write the parameters in, since for some reason I cannot get it working. thanks!

    Avatar of James
    James
    Participant

    @janismo

    anyone?

    Avatar of James
    James
    Participant

    @janismo

    hi, getting back to my thread, could anyone please tell if it is possible or not?

    basic idea is to show activities of the specific groups in the site wide loop (default one). thanks!

    Avatar of James
    James
    Participant

    @janismo

    hi @djpaul ,

    separate ajax.php functions do not work as they should at the search page of “unified search” by Brajesh (without adding of this exit();). In my case bp_dtheme_new_activity_comment() returns full search page (with css from bp-default) below replies if I try to comment on activity, exit(); fixes it.

    Avatar of James
    James
    Participant

    @janismo

    if the only method is to replace full function using remove_action/add_action, no need to reply.

    Avatar of James
    James
    Participant

    @janismo

    hi @juanmaguerrero, no need in video. after deeper testing I understood the issue. Bug remains in every activity list, where you do not have enough of updates to see “load more” button. Create a group with few updates and scroll to the bottom. Script will keep adding more and more “Sorry, there was no activity found. Please try a different filter.” even without refresh.

    Avatar of James
    James
    Participant

    @janismo

    hi again @juanmaguerrero, I do not have any customizations, just child theme of bp-default (local at the moment) and your 2 steps. When I switch to “updates” in drop-down of site wide activity directory, I see my 3 activity updates. Now I press page refresh, 3 activities are still there, but every move of scroll bar returns “Sorry, there was no activity found. Please try a different filter.”

    If you won’t be able to recreate it again, will send you some video from my test site in approx. 10 hours, it’s already night here. Drop me some email. thanks!

    Avatar of James
    James
    Participant

    @janismo

    hi @juanmaguerrero, great tutorial!
    unfortunately, bug that @shawn38 has mentioned partly is still there. Go to site wide activities, switch to “updates” as drop down filter – everything still will work fine, but now refresh page and bug is back again. If you have custom bp_has_members loop on separate page, bug is always there. Have to say that for those, who really needs this functionality, it is not so terrible. thanks again!

    Avatar of James
    James
    Participant

    @janismo

    hi @ChrisClayton, bp_has_activities( ‘object=groups&primary_id=…, …’) is a working solution for custom loop. Problem is that I need this loop to appear as a drop down filter in site wide activities, e.g. Everything, Updates, etc. That’s why I want to add this “, but cannot get how to tell it to use “object=groups&primary_id=1″, and if it is possible at all, since, as Paul mentioned, bp_dtheme_ajax_querystring() uses just few parameters.

    Avatar of James
    James
    Participant

    @janismo

    thanks Paul, now it is more clearly. Taking into account that in bp_dtheme_ajax_querystring() I see only type, scope and action parameters, do I understand correctly that there is no way to add simple filter which would return loop with specific IDs, e.g. `bp_has_activities( ‘object=groups&primary_id=…, …’)`?

    Avatar of James
    James
    Participant

    @janismo

    is it bp_core_avatar_alt, how could I block it?

    thanks.

    Avatar of James
    James
    Participant

    @janismo

    ok, I got it, it is wp issue, not question to buddypress.

    Avatar of James
    James
    Participant

    @janismo

    thanks @chrisclayton! using your method I’ve been able to modify read more link too, but how could I hook into `$excerpt = bp_create_excerpt( $text, $excerpt_length, array( ‘ending’ => __( ‘…’, ‘buddypress’ ) ) );` to change ending text ‘…’?

    Avatar of James
    James
    Participant

    @janismo

    hi @sbrajesh
    could you please take a look on this, if you will have time..

    Avatar of James
    James
    Participant

    @janismo

    can it be done using these lines (?):

    `$thumb_cropped = wp_crop_image( $original_file, (int)$crop_x, (int)$crop_y, (int)$crop_w, (int)$crop_h, bp_core_avatar_thumb_width(), bp_core_avatar_thumb_height(), false, $avatar_folder_dir . ‘/’ . $thumb_filename );`

    Avatar of James
    James
    Participant

    @janismo

    @sbrajesh @mercime
    thank you guys! from example/link above I cannot agree to you mercime :) yes, Brajesh, “square for thumb but rectangular for larger image” is exactly what I want. I have just replied at your site, probably, we should use one web page for this conversation, you are welcome to chose :)

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