Skip to:
Content
Pages
Categories
Search
Top
Bottom

Ajax not working in BP 1.5 with custom theme


  • enderandrew
    Member

    @enderandrew

    I’m testing out BP 1.5 trunk. In the past I used the bp-template-pack which isn’t updated for BP 1.5. So I pasted the current bp-default theme files into the bp-template-pack template folder to use those. But the JS/Ajax integration isn’t working 100%.

    I can’t click on the Add Friends link, nor can I update status. Other Ajax/JS functions are working for the most part.

    Can I fix the bp-template-pack to work, or how would you normally insert the BP javascript into a custom theme?

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

  • modemlooper
    Moderator

    @modemlooper

    Try copying the folder _inc from bp-default over to your theme folder.


    valuser
    Participant

    @valuser

    or try the bp template pack download at https://github.com/boonebgorges/bp-template-pack


    archonic
    Participant

    @archonic

    I did exactly the same and found that a plugin which enques jquery incorrectly totally broke all BP interactivity – can’t update, post, reply, delete, anything. After deactivating that plugin, the site behaved as if it was working via css ajax updates but the database wasn’t actually changing. It appeared the form action wasn’t submitting properly. I’ll try the recent bp-template pack and report back.


    archonic
    Participant

    @archonic

    Works! But I still used the old method of editing 13 files instead of using header-buddypress.php, sidebar-buddypress.php and footer-buddypress.php. It seemed the files weren’t used by buddypress at all and the page source for any buddypress page was empty. Anyone else experience that?


    valuser
    Participant

    @valuser

    I also successfully used the old method (13 or so files) with the new bp template pack. Couldn’t figure out whether or not I was using the new method correctly so can’t really comment on it. But the old method with the new bp template pack does the job.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Ajax not working in BP 1.5 with custom theme’ is closed to new replies.
Skip to toolbar