Skip to:
Content
Pages
Categories
Search
Top
Bottom

js loaded but AJAX doesn't work on custom bbp theme


  • kuching
    Participant

    @substrato

    Hello

    I have a custom bbp theme. Prior to 1.7 I was running theme compatibility plugin. After upgrade (a long while ago actually) my theme still works, as I had placed already buddypress own files and directories inside my theme.

    What does not work anymore since 1.7 is ajax and javascript.

    I did declare
    add_theme_support( 'buddypress' );
    in my theme. I have WordPress 3.5.2

    I also load and enqueue the latest buddypress.js correctly. It’s loaded in my theme footer. I tried to disable other plugins, but doesn’t look like the issue. I do have bbPress as well, but not js related loaded.

    From Chrome dev tools, I could see that ajax requests are being fired on events such as typeahead inputs, or sending a reply to a private message or filtering members in the member directory page, and so on. But there’s no result (no ajax query or response), so none of these action will produce a content change. From the console, I did not see anything while triggering events.

    I did not touch classes and ids added by original theme files. Is there anything that I should double check in this regard? I do use Twitter Bootstrap for my theme and to make my theme responsive I had to alter markup of the wrappers. But I’ve read that now BuddyPress doesn’t rely anymore on markup for javascript use. Or am I missing something here?

    Can you help me figuring out what’s wrong?

    Many thanks

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

  • kuching
    Participant

    @substrato

    I did further tests.

    If I try to disable bbpress only, I still don’t get it working; however I noticed that I can attempt to send private message replies – although it will throw an error after redirect and page reload.

    If I try to disable all other plugins (including bbp) it still doesn’t work. Could it be my own theme? It’s hard to debug…Anyone ever ran across similar problems?

    🙁


    kuching
    Participant

    @substrato

    any clues?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘js loaded but AJAX doesn't work on custom bbp theme’ is closed to new replies.
Skip to toolbar