Skip to:
Content
Pages
Categories
Search
Top
Bottom

Merge registration pages

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

  • mattbaehr
    Member

    @mattbaehr

    Me too. My main page is WP. I would like users to be able to click the register button and get the BB registration that both would ideally share (once I get that bug fixed).


    Andy Warburton
    Member

    @hellweaver666

    You can just change the register links in the wordpress template to point to the bbpress login and registration forms… that’s easy enough (you can even copy the login form code into the template directly and it seems to work).

    The problem is, how to get users back to the URL they came from after they login (by default they seem to get bounced to the forum home page instead)… any ideas?


    chrishajer
    Participant

    @chrishajer

    Could you do this (hidden form field named “re” with the value of the URL to redirect to after submitting the form):

    http://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login#post-14268


    mattbaehr
    Member

    @mattbaehr

    How do I change the reg links? In my theme, here is the reg code:

    <li id="meta" class="widget">

    <h2><?php _e('Members') ?></h2>

    <ul>

    <?php wp_register(); ?>

    <li><?php wp_loginout(); ?></li>

    <?php wp_meta(); ?>

    </ul>

    </li>

    What would I do to get it to redirect to the bbpress registration page?


    chrishajer
    Participant

    @chrishajer

    Instead of this WordPress function:

    <?php wp_register(); ?> 

    You would have a link to bb-login.php. Then bb-login handles the whole thing. In the login form, you would add that hidden form field to redirect then after login, as explained here.

    http://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login#post-14268


    Andy Warburton
    Member

    @hellweaver666

    Thanks chrishajer – that’s just what I need it. I had tried the other hidden field, expecting that to work…

    :D

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

You must be logged in to reply to this topic.