Skip to:
Content
Pages
Categories
Search
Top
Bottom

REQ: Redirect upon logout


  • Nicki Faulk
    Member

    @nitallica

    This may not need a plugin, but I haven’t seen an easy way to implement via code …

    What I’d like is to redirect a user to the forums index page when he/she logs out. Is this possible?

    Thanks! :)

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

  • so1o
    Member

    @so1o

    this plugin will do it..

    <?php

    add_action(‘bb_user_logout’,’function_xy’);

    function function_xy() {

    global $re;

    $re = bb_get_option(‘uri’);

    }

    ?>


    Nicki Faulk
    Member

    @nitallica

    so1o, you’re a doll, thank you! :)

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar