js loaded but AJAX doesn't work on custom bbp theme
-
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.2I 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
- The topic ‘js loaded but AJAX doesn't work on custom bbp theme’ is closed to new replies.