Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Unresolved] Big Issues with Activity search_terms= and ”Load More”

  • Avatar of xxx
    xxx
    Participant

    @pixelflat

    - Load More request ignores search_terms -

    Currently I’m working on a BuddyPress Site with some cool features. But there is a problem… Let me give you an example:

    You got on your BP Site a Page with the Name, let’s say “Stuff” – So the address would be example.com/suff
    In your child-Theme you got a Template for that with the name stuff.php . Inside you call the Activity Loop. You are linking to a copy of the original activity folder and in activity-loop.php you add ‘search_terms=#stuff’, to ` `. Because you want to list all activity item with the Hashtag stuff on the Page Stuff.

    So now there is the problem…
    Everything is working but when you got to much items you will see the “Load More” button, but when you click it, it will load the rest of the #stuff and (!) all other activity item also without the Hashtag Stuff.

    So here my question, how can I add the search_terms to the Loop, that the “Load More” Button will only load the activity matching the search_terms?

    Maybe with my functions.php? (It is quite important because it’s for an exam)

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of xxx
    xxx
    Participant

    @pixelflat

    No idea? (!)

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    @pixelflat

    It’s really a bit too early to be bumping your post fabi also when you do that it sends the @mention email a further time. mentioning people to try and attract their direct attention is not considered the thing to do really. Paul, myself, and mercime all work and have to earn a living our time is limited and you must have patience someone will get around to your thread in due course.

    Avatar of xxx
    xxx
    Participant

    @pixelflat

    OK, Hugo, I will wait… ;)

    Avatar of xxx
    xxx
    Participant

    @pixelflat

    Oh, really nobody?
    Maybe I need to filter `bp_activity_has_more_items()` … But how?

    Avatar of xxx
    xxx
    Participant

    @pixelflat

    I tested the search_terms the last hours on a local server with 1.5.5 and 1.6 and on an web server with 1.5.5 and 1.6.. The bug won’t go away… But one thing I found out: The Plugin BuddyPress Hashtags make it work… but I is also using `search_terms=`… What is the trick?

    Avatar of xxx
    xxx
    Participant

    @pixelflat

    I need to bump this, it is just too important.. Come on help me ;)

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    Load More is javascript powered, so you need to change the javascript, and perhaps the AJAX receiver.

    Avatar of xxx
    xxx
    Participant

    @pixelflat

    @djpaul OK, but how?

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.