Title: amonon's Replies | WordPress.org

---

# amonon

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Remove IP/Email from showing when a comment is waiting for your approval](https://wordpress.org/support/topic/remove-ipemail-from-showing-when-a-comment-is-waiting-for-your-approval/)
 *  Thread Starter [amonon](https://wordpress.org/support/users/amonon/)
 * (@amonon)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/remove-ipemail-from-showing-when-a-comment-is-waiting-for-your-approval/#post-1412629)
 * Alright, thanks to Firebug and the command ‘findstr’ in dos I was able to locate
   the IP php file. Anyway here’s the solution in case some of you might find this
   post via google.
 * It’s located in: wp-admin/includes/template.php
    search for:
 *     ```
       echo '">';
       comment_author_IP();
       echo '</a>';
       ```
   
 * replace it with:
 *     ```
       echo '">';
       if ( current_user_can('manage_options') ) {
       comment_author_IP();
       }
       echo '</a>';
       ```
   
 * or better yet, replace the entire block (starting with if ( $user_can ) with 
   this:
 *     ```
       if ( $user_can ) {
       	if ( current_user_can('manage_options') ) {
       		if ( !empty($comment->comment_author_email) ) {
       			comment_author_email_link();
       			echo '<br />';
       		}
       		echo '<a href="edit-comments.php?s=';
       		comment_author_IP();
       		echo '&mode=detail';
       		if ( 'spam' == $comment_status )
       			echo '&comment_status=spam';
       		echo '">';
       		comment_author_IP();
       		echo '</a>';
       	}
       } //current_user_can
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to remove screen options and Help from Dashboard](https://wordpress.org/support/topic/how-to-remove-screen-options-and-help-from-dashboard/)
 *  [amonon](https://wordpress.org/support/users/amonon/)
 * (@amonon)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/how-to-remove-screen-options-and-help-from-dashboard/#post-1153740)
 * Try Firebug extension for FireFox. You’ll be able to detect class/id and then
   you can add in the css rule even if it’s not already in the css file.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [force https for dashboard/login page](https://wordpress.org/support/topic/force-https-for-dashboardlogin-page/)
 *  Thread Starter [amonon](https://wordpress.org/support/users/amonon/)
 * (@amonon)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/force-https-for-dashboardlogin-page/#post-1411523)
 * Thanks, didn’t know about that simple solution. This will be handy later on but
   for now I’m on two different URLs. I wonder if it’s possible to put in custom
   URL as well as a force to HTTPS?
 * Example:
 * [http://nonsslblog/wp-admin](http://nonsslblog/wp-admin)
    [https://mysuperblog/wp-admin](https://mysuperblog/wp-admin)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [auto url redirect to wrong page after post deletion](https://wordpress.org/support/topic/auto-url-redirect-to-wrong-page-after-post-deletion/)
 *  Thread Starter [amonon](https://wordpress.org/support/users/amonon/)
 * (@amonon)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/auto-url-redirect-to-wrong-page-after-post-deletion/#post-1410054)
 * Just found out that it’s not just deleting posts, but comments as well. Strange
   bug, wonder what is going on here.
 * After a deletion whether it’s a post or a comment I’m being redirected to myblog.
   com (root)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Help with postioning divs](https://wordpress.org/support/topic/help-with-postioning-divs/)
 *  [amonon](https://wordpress.org/support/users/amonon/)
 * (@amonon)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/help-with-postioning-divs/#post-1409568)
 * Here’s another way of looking at it for beginners:
 * always wrap float elements inside a div and create a special css rule for that
   div. example:
 *     ```
       <div class='floatcontainer'>
       AND ONLY PLACE FLOATING ELEMENTS IN HERE. IF IT DOESN'T FLOAT, IT DOESN'T GO IN HERE.
       <div>
       ```
   
 * and the floatcontainer is just a clearfix hack. Second, all floating DIVs must
   have a width otherwise there’s no point in floating it.
 * Now you can go crazy with floating divs.

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