Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Yes, that’s by design. No, I don’t plan to change it. Since you’re creating an account on the NETWORK and being added to the subsite, I feel that full disclosure trumps everything.

    Also emails are coming from the network (so your main domain). This prevents confusion later.

    Thread Starter zipperfly

    (@zipperfly)

    When you put it that way I guess it makes sense.

    My intention was not to hide full disclosure, but to make it less confusing to the user.

    In my case I will be changing it to something like “Create your account on this site”.

    Just as an example, what if the main Network site is selling a membership for subsites and let’s say a teacher joins to have one place for her classroom to go to communicate with her and other classmates. When the classmates go to her site at thebestteacher.com (because she mapped here domain to the subdomain of the subsite) to signup to become a user and right above the form it says “Create your account on subsitesrus.com”. That would make a user think twice about where they are.

    I know where your coming from, but in my case I can’t see how showing the name of the subsite would interfere with full disclosure.

    Thanks Mika for the time you dedicated to this plugin and the support you give people like me.

    Edit:
    Ooooo I just thought of a good one I can use “Become a member of this site”
    I like that.
    That’s the one.

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Keep in mind, it SHOULD be grabbing the info from your network settings. Just look at the screenshots: https://www.ads-software.com/plugins/join-my-multisite/screenshots/

    See how it says “Trunk Testing Sites” ? Thats set at /wp-admin/network/settings.php as the Network Title

    So in your case, I’d make my Network Title “The SchoolTeacher Network” and then use the before_signup_form() hook:

    <?php
    //Add Style
    function zipperfly_register_stylesheet() {
    	?>
    	<style type="text/css">
    		.mu_alert { font-weight:700; padding:10px; color:#333333; background:#ffffe0; border:1px solid #e6db55; }
    	</style>
    	<?php
    }
    add_action( 'wp_head', 'zipperfly_register_stylesheet' );
    
    //Add Message
    add_action('before_signup_form','zipperfly_registration_custom_msg');
    function zipperfly_registration_custom_msg() {
        global $blog_id;
        $blog_details = get_blog_details($blog_id);
        echo '<div class="mu_alert">In order to join '.$blog_details->blogname.' you will need to create an account on '.$current_site->site_name.'. This is a network of related sites. Don't worry, your account will only be added to '.$blog_details->blogname.'!</div>';
    }

    And thus you have a warning too!

    Thread Starter zipperfly

    (@zipperfly)

    Thank you Mika, until we meet again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Title of form under subsites’ is closed to new replies.