Hi if you have subdomains or sub-directories and user failled to be registered in the subdomain for multimeter you can have .
http://site1.example.com
http://example.com/site1/
If you choose subdomains, then you will have to configure wildcard subdomains on your server (we will show you how to do that later in this article).
On the other hand, if you choose sub-directories or path based URLs for subsites on your network, then the only thing you need to do is enable pretty permalinks on your root site.
Thread Starter
Kunal
(@kunalnc17)
no you did not understand my question.
I have setup the wildcard domain and it works but i want every user to go through some kind of wizard and to be able to choose password in wp-signup.php itself and no email confirmation.
like on worfpress.com and edublos.org i want my users to be able to choose themes also while sign-up
HI bro
There are a couple ways to accomplish this. A simple (but very clunky) way is to password protect the Product page and then provide the password to the user via the confirmation message of the form. This is a less than ideal user experience…
An alternate solution is to set a cookie when the form is submitted
Set Cookie on Form Submission
add_action( ‘gform_pre_submission’, ‘set_form_submitted_cookie’ );
function set_form_submitted_cookie( $form ) {
setcookie( ‘gf_form_submitted’, $form[‘id’], null, ‘/’ );
}
Check if Cookie Exists
add_filter( ‘the_content’, ‘maybe_hide_the_content’ );
function maybe_hide_the_content( $content ) {
if( ! isset( $_COOKIE[‘gf_form_submitted’] ) ) {
$content = ‘You do not have access to this page.’
}
return $content;
}
Thread Starter
Kunal
(@kunalnc17)
Thanks for the quick reply but how could the users choose a theme when they signup in the wp-signup.php
Hi bro this might help
Enabling registrations so people can sign up for a username and/or site using your signup page is as simple as:
Go to Settings > Settings in the network admin dashboard.
Select “Both sites and user accounts can be registered”
Use “Logged in users may register new sites”– if you want to limit site creation to only logged in users using your signup page
We recommend that you consider using the following options to reduce splogcreations on your network:
Use Limited Email Registrations to restrict who can signup to specific email domains
Install Anti-splog plugin
Click Save Changes at the bottom of the page
Adding a link to your Sign-up page on your main site
You need to create a link to your signup page from the front page of your main site so people know where they can register for a site on your network by either:
Using a theme that includes an option to add a link to your signup page
Adding a link to your signup page
Using an admin bar that includes a link to sign up for a site
Your signup page is located at http://example.com/wp-signup.php
Now anyone can sign up as follows using your Sign-up page:
Click on Sign-up link
This takes you to the sign-up page where you sign up for a username only or username and site.
The signup page on a WordPress Multisite install is located at http://example.com/wp-signup.php whereas on a BuddyPress install it is located at http://example.com/register