Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to share the nonce between BuddyPress and bbPress


  • Greg
    Participant

    @rebootnow

    I am restarting this thread because the other one has disappeared from the forum (akismet issue?). To recap, I am trying to put a call to the WP logout function in bbPress (WMPU 2.7.1, BP 1.0, BBP 1.0 RC1).

    I have verified that the nonce is what I am missing. It seems that WPMU won’t accept the logout unless the URL includes the correct nonce value.

    I have verified this by hardcoding the nonce (which only works once of course). bb_create_nonce() generates a different value, so that doesn’t work.

    So how does this BuddyPress.org forum generate the correct nonce value? Is Andy using deep integration on this site in order to call wp_create_nonce()?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes, deep integration, then you should just be able to use the existing nonce that is generated by WordPress.


    Greg
    Participant

    @rebootnow

    Thanks Andy. So I need to figure out whether having the logout accessible from everywhere is important enough to incur the overhead of loading WP in bbPress.

    The BuddyPress forum seems pretty responsive, but I’m on a shared server.

    Great work on BP. Amazing what you’re empowering people to do with their sites.


    Jeff Sayre
    Participant

    @jeffsayre

    Rebootnow-

    If your issue is resolved, please set the light to green above and we’re good to go!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to share the nonce between BuddyPress and bbPress’ is closed to new replies.
Skip to toolbar