Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to AJAX refresh on 'load more' activity stream?


  • irieside
    Participant

    @irieside

    On my ‘site-wide-activity’ page, I have a -like feature- installed (ratingswidget). Everything is working properly, but I’m having trouble finding a way to refresh the posts under the ‘load more’ button at the bottom of the page (to see older posts). The -like feature- doesn’t appear on the posts under ‘load more.’ I’ve tried looking into AJAX refresh options and codes, but haven’t had any luck. Is there an alternate way to have the page refresh after load more is clicked?

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

  • danbp
    Participant

    @danbp

    @irieside,

    sounds more like a conflict with your plugin as a BP issue. I assume you’re using this one, but the free or the pro version ?

    Have you asked on the plugin support ?
    Have you tested with one of WP’s twenty theme ?
    Have PHP errors enabled in wp-config, to get some debug information ?
    Have you compared the js files version shipped with this plugin and the existing in your theme/other used plugins ?


    irieside
    Participant

    @irieside

    The pro version.

    I’ve asked plugin support but they gave up on me. Yes I have tested multiple themes as well as disabling various plugins to eliminate the possibility of collisions. The js files are the same. I don’t see any errors, so I am a little perplexed.


    Henry Wright
    Moderator

    @henrywright

    document.location.reload( true ) will reload the current URL. Just run it on load more button click. I’m assuming that’s what you’re trying to do?

    Edit: actually, this probably isn’t what you want.


    irieside
    Participant

    @irieside

    The plugin guys sent me an ajax refresh code which didn’t work. I’m not really sure how to go about having the plugin load on the member status updates below the ‘load more’ button. The updates appear as usual, but the like feature isn’t with them.


    @henrywright
    I can try that, but where do I enter the code? Sorry php is still foreign to me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to AJAX refresh on 'load more' activity stream?’ is closed to new replies.
Skip to toolbar