The MU forums have moved to WordPress.org

Changing the registration option: "Privacy" (5 posts)

  1. oldskool9
    Member
    Posted 15 years ago #

    Hello,

    Please could someone advise me on how i could remove the option to select "show in google / hide from search engines" when they register for a blog. I would like every blog to be spiderable.

    Thank you all,

  2. tanvir
    Member
    Posted 15 years ago #

    don't see any easy to do that without putting hand into php files.

  3. benny148148148
    Member
    Posted 15 years ago #

    no guarantee with this one...but try removing:

    <label for="blog_public_on"><?php _e('Privacy:') ?></label>
    		<?php _e('I would like my blog to appear in search engines like Google and Technorati, and in public listings around this site.'); ?>
    		<div style="clear:both;"></div>
    		<label class="checkbox" for="blog_public_on">
    			<input type="radio" id="blog_public_on" name="blog_public" value="1" <?php if( !isset( $_POST['blog_public'] ) || $_POST['blog_public'] == '1' ) { ?>checked="checked"<?php } ?> />
    			<strong><?php _e( 'Yes' ); ?></strong>
    		</label>
    		<label class="checkbox" for="blog_public_off">
    			<input type="radio" id="blog_public_off" name="blog_public" value="0" <?php if( isset( $_POST['blog_public'] ) && $_POST['blog_public'] == '0' ) { ?>checked="checked"<?php } ?> />
    			<strong><?php _e( 'No' ); ?></strong>
    		</label>

    I'm not a PHP expert, but I believe that will take away their option to check a box...

    Feel free to correct me if I'm wrong...

  4. tanvir
    Member
    Posted 15 years ago #

    this may cause a error. Rather then this try to hide the table cell of the check box; as by default the check box is checked, so it'll always send a true value to installer.

  5. oldskool9
    Member
    Posted 15 years ago #

    good idea

    style display : none ;

    :)

About this Topic

  • Started 15 years ago by oldskool9
  • Latest reply from oldskool9