Skip to:
Content
Pages
Categories
Search
Top
Bottom

Issues with Activity search_terms= and ”Load More”


  • 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)

  • xxx
    Participant

    @pixelflat

    No idea? (!)

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


    xxx
    Participant

    @pixelflat

    OK, Hugo, I will wait… ;)


    xxx
    Participant

    @pixelflat

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


    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?


    xxx
    Participant

    @pixelflat

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

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


    xxx
    Participant

    @pixelflat

    @djpaul OK, but how?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Issues with Activity search_terms= and ”Load More”’ is closed to new replies.
Skip to toolbar