Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Using login_form from bbPress on a WordPress site

@pagal

Participant

it takes me to local host… and my code was..

<?php

if ( is_user_logged_in() ) {

echo ”;

} else {

echo ‘

<table width=”480″ height=”90″ border=”0″ align=”right” >

<tr>

<td align=”left” >

<form class=”login” method=”post” action=”http://www.mysite.com/forums/bb-login.php”>

<div>

<label> Username

<input name=”user_login” type=”text” id=”quick_user_login” size=”13″ maxlength=”40″ value=”” tabindex=”1″ />

</label>

<label>

Password

<input name=”password” type=”password” id=”quick_password” size=”13″ maxlength=”40″ tabindex=”2″ />

</label>

<input name=”re” type=”hidden” value=”” />

<input type=”hidden” name=”_wp_http_referer” value=”/” />

<input type=”submit” name=”Submit” class=”submit” value=”Log in” tabindex=”4″ />

</div>

<div class=”remember”>

<label>

<input name=”remember” type=”checkbox” id=”quick_remember” value=”1″ tabindex=”3″ />

Remember me

</label>

</div>

</form>

</td>

</tr>

</table>

‘;

};

?>

<?php } ?>

@kevinjohngallagher please did not say this time “write your own code” :)

Skip to toolbar