Title: elvix's Replies | WordPress.org

---

# elvix

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Descending comments?](https://wordpress.org/support/topic/descending-comments/)
 *  [elvix](https://wordpress.org/support/users/elvix/)
 * (@elvix)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/descending-comments/#post-35152)
 * Instead of mucking with program code, which makes upgrading a pain, just edit
   your comments.php script.
 * Under: <?php if ($comments) : ?>
 * Add this:
    <?php $comments = array_reverse($comments,true); ?>
 * This reverses the order of the comments array, achieving the descending order
   without changing the db call.
 * You could have different comments.php templates (one ASC and on DSC, for example)
   and just call the one you want into your single templates as you like.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Registered Only Plugin : Restrict entire blog to r](https://wordpress.org/support/topic/registered-only-plugin-restrict-entire-blog-to-r/)
 *  [elvix](https://wordpress.org/support/users/elvix/)
 * (@elvix)
 * [21 years ago](https://wordpress.org/support/topic/registered-only-plugin-restrict-entire-blog-to-r/page/3/#post-69819)
 * I just installed v.01 on 1.5.1.3 — I got same header errors as frogmoses above,
   caused by another plugin. (v0.4 didn’t work for me)
 * All you have to do, however, is trigger this plugin earlier in the sequence. 
   By default actions are applied with a level of 10. So, just make it less than
   10 (or even less, if you still have problems). Add a ‘9’, for example, to the
   add_action statement at the end of the script, and you’re good to go.
 * add_action(wp_head, reject_unverified,9);
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Email Post to someone](https://wordpress.org/support/topic/email-post-to-someone/)
 *  [elvix](https://wordpress.org/support/users/elvix/)
 * (@elvix)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/email-post-to-someone/#post-91126)
 * SMTP does *not* seem to be required for wp-email.php to work! I just discovered
   this. I commented out the smtp lines (63-66 in wp-email.php) and it worked. The
   php-mailer class is designed to work with php’s mail functions (by default), 
   sendmail or smtp, so I think smtp is really an option. There may be other issues,
   but there doesn’t seem to be anything tricky involved in Lester’s code, so I 
   think PHP’s mail() functions are probably sufficient.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to remove the dashboard? (or go directly to other page)](https://wordpress.org/support/topic/how-to-remove-the-dashboard-or-go-directly-to-other-page/)
 *  [elvix](https://wordpress.org/support/users/elvix/)
 * (@elvix)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/how-to-remove-the-dashboard-or-go-directly-to-other-page/#post-144164)
 * easiest way to speed up the dashboard is to comment out the technorati rss line
   in wp-admin/index.php.
 * find line 88 (or so):
    $rss = @fetch_rss(‘[http://feeds.technorati.com/cosmos/rss/](http://feeds.technorati.com/cosmos/rss/)…
 * and comment it out:
    //$rss …
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Overriding posts_per_page in 1.5](https://wordpress.org/support/topic/overriding-posts_per_page-in-15/)
 *  Thread Starter [elvix](https://wordpress.org/support/users/elvix/)
 * (@elvix)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/overriding-posts_per_page-in-15/#post-142980)
 * actually, i don’t want to display a specific post, rather one post (vs. several,
   i.e. 10 or 15). I’m trying to generate a slideshow of posts: one post displayed
   with the nav links (prev and next posts).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Overriding posts_per_page in 1.5](https://wordpress.org/support/topic/overriding-posts_per_page-in-15/)
 *  Thread Starter [elvix](https://wordpress.org/support/users/elvix/)
 * (@elvix)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/overriding-posts_per_page-in-15/#post-142751)
 * For clarity: setting $posts_per_page =1 does limit the page to 1 post. However,
   I’m getting a MYSQL syntax error. (Obviously, I don’t get this error normally)
 * Quoted:
    **WordPress database error:** [You have an error in your SQL syntax.
   Check the manual that corresponds to your MySQL server version for the right 
   syntax to use near ‘ORDER BY post_date ASC LIMIT 0,1’ at line 1]
 * `SELECT ID,post_title FROM wp_posts WHERE post_date > '' AND post_date < '2005-
   02-10 16:55:40' AND post_status = 'publish' AND ID != ORDER BY post_date ASC 
   LIMIT 0,1`

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