Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • @pixelflat

    Participant

    @djpaul

    `function redirect_feed() {

    header( ‘Location: http://example.com’ ) ;
    }
    add_action(‘bp_activity_sitewide_feed’, ‘redirect_feed’, 1);`

    Is also not working…
    I think you need to overwrite a core function, to make it work.

    @pixelflat

    Participant

    @aces Looks like it’s not woking in 1.6

    Any idea how to do a `bp_core_redirect` maybe to 404.php?

    @djpaul

    My code:
    `function disable_feed() {

    bp_core_redirect(get_option(‘siteurl’));
    }
    add_action(‘bp_activity_sitewide_feed’, ‘disable_feed’, 1);`

    is not working…

    @pixelflat

    Participant

    @djpaul Well, your code will remove just the RSS Link in the browser, but not the feed itself.. any idea for a function that makes `bp_core_redirect` work?

    @pixelflat

    Participant

    @djpaul Posted a ticket.. Looks like a important bug… Could you maybe take look at this https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/problem-with-activity-search_terms-and-load-more/ also a bug or just a coding problem?

    @pixelflat

    Participant

    @djpaul default theme v1.6 and 1.5.5

    And jep just sign-up on testbp.org and the bug is there. Reproduce it by viewing your or the global activity, post something and the last activity item will appear a second time when clicking ‘Load More’

    @pixelflat

    Participant

    @djpaul OK, but how?

    @pixelflat

    Participant

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

    @pixelflat

    Participant

    @djpaul I think this should be fixed in the next release, maybe in 1.6 because you can’t hide the bug on the site… Should I post a ticket?

    @pixelflat

    Participant

    Tested on 1.6 and 1.5.5 still there… I think `ajax.php` need to renumber the hidden updates when posting an new one.

    @pixelflat

    Participant

    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?

    @pixelflat

    Participant

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

    @pixelflat

    Participant

    OK, Hugo, I will wait… ;)

    @pixelflat

    Participant

    No idea? (!)

Viewing 13 replies - 1 through 13 (of 13 total)
Skip to toolbar