Title: Rauli's Replies | WordPress.org

---

# Rauli

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

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

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[User Photo] [Plugin: User Photo] Replicate photo across multisite blogs](https://wordpress.org/support/topic/plugin-user-photo-replicate-photo-across-multisite-blogs/)
 *  [Rauli](https://wordpress.org/support/users/rauli/)
 * (@rauli)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-user-photo-replicate-photo-across-multisite-blogs/#post-1857890)
 * big24fan
 * This has the changes recommended by jakobneander
 * [http://rauliweb.com/user-photo.php.txt](http://rauliweb.com/user-photo.php.txt)
 * copy and paste the text into an empty text document and save as user-photo.php
   using notepad or something similar then rename the old user-photo.php file in
   its plugins folder, then upload to the same folder and test it.
 * If it don’t work your theme might interefere with it, as I discovered with the
   Easel theme I am using on one project.
 * Enjoy it while its up!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Set screen layout number of columns to default 1 column](https://wordpress.org/support/topic/set-screen-layout-number-of-columns-to-default-1-column/)
 *  [Rauli](https://wordpress.org/support/users/rauli/)
 * (@rauli)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/set-screen-layout-number-of-columns-to-default-1-column/#post-1667621)
 * The New Post column layout by default is 2 if the usermeta data for this setting
   is otherwise (which can only be 1) does not exist in the database.
 * The following code added to your themes functions.php should update the currently
   logged in users meta data (if the field does not already exist) to set the column
   layout of the New Post screen to 1. In this way all new registrations default
   to that 1 column layout immediately:-
 *     ```
       <?php
       /*Set the default column layout in the New Post section to one column for new users*/
       global $current_user;
       get_currentuserinfo();
       $user_id = $current_user->ID;
       $prev_value = NULL;
       update_user_meta($user_id, screen_layout_post, 1, $prev_value);
       ?>
       ```
   
 * _[Please post code snippets between backticks or use the code button.]_
 * I put this code right at the bottom (after the last ‘?>’)of my functions.php 
   of my mystique theme.
 * Hope this helps, I spent ages looking for this and had to work it out myself.
 * Regards,
    Rauli

Viewing 2 replies - 1 through 2 (of 2 total)