Forums

Join
bbPress Support ForumsInstallationMerge registration pages

Info

Merge registration pages

  1. Is it possible? when wp and bbpress is so tight, i would like to use 1 reg page.

  2. 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).

  3. 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?

  4. 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

  5. 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?

  6. 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

  7. Thanks chrishajer - that's just what I need it. I had tried the other hidden field, expecting that to work...

    :D

  8. You must log in to post.