Registration Page
Solved this, all it is is a missing define( ‘NOBLOGREDIRECT’, ‘http://www.domain.com’ ); from wp-config.php
Solved this, all it is is a missing define( ‘NOBLOGREDIRECT’, ‘http://www.domain.com’ ); from wp-config.php
You have to copy the original wp-signup.php file, do the changes you need and use it in your theme as a custom template.
You could combine your two ideas- generate a code and send them a link to a sign up form with that code as a query string in the url. match the code with the email address they enter when they sign up, then delete it once sign up is complete so it can’t be used … Read more
I think some user stuff changed in 3.2 and perhaps user meta works a bit differently now… function do_stuff( $user_id ) { $first_name = get_user_meta( $user_id, ‘first_name’, true ); $last_name = get_user_meta( $user_id, ‘last_name’, true ); echo $first_name . $last_name; } add_action( ‘user_register’, ‘do_stuff’ );
It looks more like a SQL injection attack. The ‘/0–+-(( +):(*:*- part that is…
It is a strange and rare bug. While publishing our last post we checked the “Blog” and some other categories in the category section. In our previous posts we never checked the “Blog” category. Initially, when I tried to reproduce the bug, I didn’t noticed it. We again tried to reproduce the bug and this … Read more
Go with Theme My Login. Well written and very functional
This may be good starting point for you: http://codex.wordpress.org/Integrating_WordPress_with_Your_Website http://codex.wordpress.org/Developer_Documentation (see function reference for admin-related functions list)
You could hook into template_redirect and check a cookie. Just an idea, not tested: add_action( ‘template_redirect’, ‘t5_force_login_after_time_span’ ); function t5_force_login_after_time_span() { $cookie_name=”first_visit”; $now = time(); if ( is_user_logged_in() ) return; if ( empty ( $_COOKIE[‘first_visit’] ) ) { setcookie( $cookie_name, $now, $now + WEEK_IN_SECONDS ); return; } $first_visit = (int) $_COOKIE[‘first_visit’]; if ( ( $now … Read more
You need to implement your function earlier than you are. It seems that the “real” wp_new_user_notification() (from wp-includes/pluggable.php) is getting created before yours is. To test, remove the if ( ! function_exists( ‘wp_new_user_notification’ ) ) : from your code. You should be getting an error. You could create a plugin: //Plugin Name: blahblah function wp_new_user_notification() … Read more