Unified login page for a Multisite/BuddyPress site

You could you do this with redirects through the root .htaccess file; Something like this perhaps: # Redirect to new login <IfModule mod_rewrite.c> # For security reasons, Option followsymlinks cannot be overridden. # Options +FollowSymLinks Options +SymLinksIfOwnerMatch RewriteEngine on RewriteCond %{HTTP_HOST} ^subdomain.mysite.com/login.php [OR] RewriteCond %{HTTP_HOST} ^www.subdomain.mysite.com/login.php [NC] RewriteRule ^(.*)$ http://www.my-main-site.com/login.php/$1 [L,R=301] </IfModule> # Redirect end … Read more

Multisite ‘Welcome User Email’ SITE_NAME returns ‘network’ name, not the name of the blog

The technique is basically the same as in the case of wpmu_signup_user_notification(). function wpmu_welcome_user_notification($user_id, $password, $meta=””) { global $current_site; $welcome_email = get_site_option( ‘welcome_user_email’ ); $user = new WP_User($user_id); $welcome_email = apply_filters( ‘update_welcome_user_email’, $welcome_email, $user_id, $password, $meta); // Get the current blog name $blogname = get_option( ‘blogname’ ); $welcome_email = str_replace( ‘SITE_NAME’, $blogname, $welcome_email ); $welcome_email … Read more

How to automatically create an index of child sites at the root url for a multisite installation?

For create the links to your child sites use this function elenco_sotto_siti(){ global $wpdb; $blogs = $wpdb->get_results( $wpdb->prepare(“SELECT * FROM $wpdb->blogs WHERE public=”1″ AND archived=’0′ AND mature=”0” AND spam=’0′ AND deleted=’0′ ORDER BY blog_id “),ARRAY_A ); return $blogs; } For question 2 and 3, i use the option framework plugin, and i grab the description … Read more