Title: bennettscience's Replies | WordPress.org

---

# bennettscience

  [  ](https://wordpress.org/support/users/bennettscience/)

 *   [Profile](https://wordpress.org/support/users/bennettscience/)
 *   [Topics Started](https://wordpress.org/support/users/bennettscience/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bennettscience/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bennettscience/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bennettscience/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bennettscience/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bennettscience/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/users/bennettscience/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/bennettscience/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Clean Login] Additional validation](https://wordpress.org/support/topic/additional-validation/)
 *  Thread Starter [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/additional-validation/#post-11971297)
 * It’s okay.
 * I copied the base plugin and added some regex checks in the logic. Because I 
   was in a time crunch, I didn’t modify the settings page and hardcoded for our
   purposes.
 * Do you have a git repo? I’d be happy to get a general setting in there quick 
   to allow people to set a domain for whitelisting and submit a pull request.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Clean Login] Password resets](https://wordpress.org/support/topic/password-resets-2/)
 *  Thread Starter [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/password-resets-2/#post-11971291)
 * I think the main confusion is that sometimes, and I can’t find a pattern, the
   automatic login fails and the user sees the login screen again. Is there a setting
   I should check?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Clean Login] Additional validation](https://wordpress.org/support/topic/additional-validation/)
 *  Thread Starter [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/additional-validation/#post-11969674)
 * We worked out a solution that did not require modifying the plugin.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Monograph] Scrolling in the Gutenberg](https://wordpress.org/support/topic/scrolling-in-the-gutenberg/)
 *  Thread Starter [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/scrolling-in-the-gutenberg/#post-11348386)
 * The only reason I thought the theme might be involved is because I run several
   WP sites, all on the latest release, and the site with Monograph installed is
   the only one having scroll issues. Are you able to reproduce the issue at all?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Monograph] Scrolling in the Gutenberg](https://wordpress.org/support/topic/scrolling-in-the-gutenberg/)
 *  Thread Starter [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/scrolling-in-the-gutenberg/#post-11347681)
 * Yeah, it’s hard to explain. If the content editor is taller than the window, 
   I cannot scroll inside the editor. I have to move over to the block settings 
   in order to scroll the page.
 * [Here’s a short video](https://photos.ohheybrian.com/uploads/big/eb13c5f381805733da7c26b595f48ff5.mp4)(
   sorry about the weird green bar on the right).
 * I’ve disabled all the plugins with no change. This doesn’t happen on a different
   site I manage which is using a different theme, which led me here.
    -  This reply was modified 7 years, 4 months ago by [bennettscience](https://wordpress.org/support/users/bennettscience/).
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Posting featured image to background with PHP?](https://wordpress.org/support/topic/using-this-code/)
 *  Thread Starter [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/using-this-code/#post-3827586)
 * I just got it. [@alchymyth](https://wordpress.org/support/users/alchymyth/) was
   right…I was calling the wrong CSS. Thanks, both, for your help. I really appreciate
   it!
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Posting featured image to background with PHP?](https://wordpress.org/support/topic/using-this-code/)
 *  Thread Starter [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/using-this-code/#post-3827573)
 * Ok, tried that, tried adding new featured images, still isn’t working. Here’s
   my header code:
 *     ```
       <!DOCTYPE html>
       <html <?php language_attributes(); ?>>
       <head>
       	<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
       	<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
       	<title><?php hybrid_document_title(); ?></title>
       	<link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="all" />
       <?php
   
       if (has_post_thumbnail()) { //if a thumbnail has been set
   
       	$imgID = get_post_thumbnail_id($post->ID); //get the id of the featured image
       	$featuredImage = wp_get_attachment_image_src($imgID, 'full' );//get the url of the featured image (returns an array)
       	$imgURL = $featuredImage[0]; //get the url of the image out of the array
   
       	?>
       	<style type="text/css">
   
           .header-image {
               border:none;
               color:black;
               background-image:url('<?php echo $imgURL ?>');
   
       		}
   
         </style>
   
         <?php
       }//end if
   
       ?>
       	<link rel="profile" href="http://gmpg.org/xfn/11" />
       	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
   
       	<?php wp_head(); // wp_head ?>
       </head>
   
       <body class="<?php hybrid_body_class(); ?>">
   
       	<?php do_atomic( 'open_body' ); // good_open_body ?>
   
       	<div id="container">
   
       		<?php do_atomic( 'before_header' ); // good_before_header ?>
   
       		<div id="header">
   
       			<?php do_atomic( 'open_header' ); // good_open_header ?>
   
       			<div class="wrap">
   
       				<div id="branding">
       					<?php hybrid_site_title(); ?>
       				</div><!-- #branding -->
   
       				<?php get_search_form(); // Loads the searchform.php template. ?>
   
       				<?php get_template_part( 'menu', 'primary' ); // Loads the menu-primary.php template. ?>
   
       				<?php get_sidebar('header'); // Load the sidebar-header.php template ?>
   
       				<?php do_atomic( 'header' ); // good_header ?>
   
       			</div><!-- .wrap -->
   
       			<?php do_atomic( 'close_header' ); // good_close_header ?>
   
       		</div><!-- #header -->
   
       		<?php do_atomic( 'after_header' ); // good_after_header ?>
   
       		<?php do_atomic( 'before_main' ); // good_before_main ?>
   
       		<div id="main">
   
       			<div class="wrap">
   
       			<?php do_atomic( 'open_main' ); // good_open_main ?>
       ```
   
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Posting featured image to background with PHP?](https://wordpress.org/support/topic/using-this-code/)
 *  Thread Starter [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/using-this-code/#post-3827571)
 * Ok, I see what you did in the code, now I need to figure out where to put this.
   Should it go in the post template where I want it to appear on the page?
 * In other words, if I want it before the post title, I would need to insert this
   chunk in the template above the title script?
 * Thanks for your help,
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Disable comments/ping backs by default on new blogs](https://wordpress.org/support/topic/disable-commentsping-backs-by-default-on-new-blogs/)
 *  [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/disable-commentsping-backs-by-default-on-new-blogs/#post-2325142)
 * You are the best. Thank you so much for the help!
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Disable comments/ping backs by default on new blogs](https://wordpress.org/support/topic/disable-commentsping-backs-by-default-on-new-blogs/)
 *  [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/disable-commentsping-backs-by-default-on-new-blogs/#post-2325139)
 * Ok, forgive me again.
 * I copied the code and uploaded a file called “comment.php” into my mu-plugins
   folder and got this error when I went to my page:
 * Parse error: syntax error, unexpected T_FUNCTION in /home2/brianbe2/public_html/
   student/wp-content/mu-plugins/comment.php on line 6
 * I removed the file, and the page loaded fine. Did I do something wrong?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Disable comments/ping backs by default on new blogs](https://wordpress.org/support/topic/disable-commentsping-backs-by-default-on-new-blogs/)
 *  [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/disable-commentsping-backs-by-default-on-new-blogs/#post-2325127)
 * Ok, I remember seeing this one, too. Does this code just need to be a php file
   in the mu-plugins folder?
 * I got Akismet working across my entire network after reading more and more about
   how to hard code it in. I would like to go back and close comments on all posts,
   though.
 * Thanks for the help, Andrea.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Network Admin Comment Moderation](https://wordpress.org/support/topic/network-admin-comment-moderation/)
 *  Thread Starter [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/network-admin-comment-moderation/#post-2325548)
 * OK, bear with me. I know very little about php or database edits.
 * By “on the main blog,” do you mean on the login portal page?
 * [This is where the kids go to login](http://brianbennett.org/student), so should
   I be in that directory in the file manager?
 * Thanks for the help…
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Network Admin Comment Moderation](https://wordpress.org/support/topic/network-admin-comment-moderation/)
 *  Thread Starter [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/network-admin-comment-moderation/#post-2325541)
 * Do you know if there is a way to clear all current comments on the network? I
   don’t have time to go through everything one by one.
 * Also, I’m thinking about installing reCaptcha to help. Good/bad idea?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Disable comments/ping backs by default on new blogs](https://wordpress.org/support/topic/disable-commentsping-backs-by-default-on-new-blogs/)
 *  [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/disable-commentsping-backs-by-default-on-new-blogs/#post-2325026)
 * I’d also like help on this, but I’m wondering if I can retroactively do so. The
   site is already running…is there some way to go through the Network Admin dashboard
   to change the settings on all user blogs at once?
 * I found a way to do so using a MySQL database query here, [http://www.lancelhoff.com/enable-or-disable-comments-on-all-posts-in-one-step/](http://www.lancelhoff.com/enable-or-disable-comments-on-all-posts-in-one-step/),
   but I can’t seem to get it to work for the network install.
 * Thanks,
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Fatal Error with Mandigo Theme](https://wordpress.org/support/topic/fatal-error-with-mandigo-theme/)
 *  Thread Starter [bennettscience](https://wordpress.org/support/users/bennettscience/)
 * (@bennettscience)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-with-mandigo-theme/#post-2262706)
 * Oh, never mind. I missed one field. Got it back to the default. Thanks again 
   for the help.

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/users/bennettscience/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/bennettscience/replies/page/2/?output_format=md)