Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Any idea to integrate wp and bb login forms?

“you could just copy all of wp_register() into your theme (everything from function wp_register() { to the final }”

-> do you mean copying in my theme functions.php file and then calling the fuction in the sidebar?

“WordPress sets $id to be the user ID. It should be available, so just try it. If it’s not, you will need to put global: $id; in the line of code above it, so it knows you mean the global variable $id and not a new one.”

-> I didn’t understand this. Do you mean something like this?

global: $id;

$link = $before . '<a href="' . get_option('siteurl') . '/bbpress/profile.php$id">' . __('Profile') . '</a>' . $after;

Skip to toolbar