Skip to:

Re: call register form via php tag

There isn’t exactly as counterpart to login_form() for registering because it’s not expected to be embedded I guess. If you look under register.php though, you can see the internal function template call is bb_load_template( 'register.php', $_globals ); where $_globals are set earlier in the page before some code that handles the form output (ignore them at your own peril).

The register.php template is also set up to be a full page though with calls to the header and footer functions, as well as a safety check for logged in users, so you’d probably need to cut it down and save it as a separate template to call.

I’m pretty sure there’s been some discussion of embedding a register page in a template before in the forums, so you might want to look for that too.

Skip to toolbar