Title: RobotHero's Replies | WordPress.org

---

# RobotHero

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Making custom admin page for use in Thickbox?](https://wordpress.org/support/topic/making-custom-admin-page-for-use-in-thickbox/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/making-custom-admin-page-for-use-in-thickbox/#post-5867968)
 * If I’m following you I’d create a dummy page using this custom template and then
   use the path for that page?
 * I can pass any path I want to tb_show() so yeah, calling window.location.assign
   seemed to be addressing the least difficult part of my problem. 🙂
 * I would have done just an inline Thickbox with an AJAX form but I have to deal
   with media attachments which is simpler through a non-AJAX form.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Making custom admin page for use in Thickbox?](https://wordpress.org/support/topic/making-custom-admin-page-for-use-in-thickbox/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/making-custom-admin-page-for-use-in-thickbox/#post-5867916)
 * That’s not quite what I meant. The only javascript I’m calling is for the Thickbox,
   and that works fine.
 * I’m trying out approaching from the other direction like they’re talking about
   here:
    [http://wordpress.stackexchange.com/questions/97742/bare-minimum-to-include-in-php-file-to-use-wp-functions](http://wordpress.stackexchange.com/questions/97742/bare-minimum-to-include-in-php-file-to-use-wp-functions)
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Media Library list?](https://wordpress.org/support/topic/media-library-list/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/media-library-list/#post-5867306)
 * Okay, it turns out the three entries were being created by another plugin.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Media Library list?](https://wordpress.org/support/topic/media-library-list/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/media-library-list/#post-5867114)
 * The obvious thing would be to search for post_type=’attachment’ but every media
   file has three entries in wp_posts plus the wp_postmeta data _wp_attached_file,
   wpml_media_processed, _wp_attachment_metadata so I would assume there’s some 
   proper channels I should go through that makes sense of all that.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mailchimp List Subscribe Form] Disable style](https://wordpress.org/support/topic/disable-style/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/disable-style/#post-4290528)
 * Well, in the meantime, I’ve removed it and set the plugin to version 100.9 so
   it doesn’t get updated. I’ll keep an eye out if it’s removed in later versions
   I can change the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [List category shortcode w/ custom formatting](https://wordpress.org/support/topic/list-category-shortcode-w-custom-formatting/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/list-category-shortcode-w-custom-formatting/#post-4133313)
 * I’ve rolled my own using instructions from this page:
    [http://www.wprecipes.com/wordpress-shortcode-display-the-loop](http://www.wprecipes.com/wordpress-shortcode-display-the-loop)
 * That seems to do the trick.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AlphaOmega Captcha & Anti-Spam Filter] [Plugin: AlphaOmega Captcha & Anti-Spam Filter] A session had already been started?](https://wordpress.org/support/topic/plugin-alphaomega-captcha-anti-spam-filter-a-session-had-already-been-started/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-alphaomega-captcha-anti-spam-filter-a-session-had-already-been-started/#post-3085907)
 * I am using a custom theme, but I briefly tested it in Twenty Ten, Twenty Eleven,
   girl from ThemesPackm, and Strawberry Blend By Maruf Rahman, and it still gives
   me the error message. I’m sure you’d have tested at least one of those.
 * And I also mentioned I temporarily disabled the other plugins.
 * So, since I’ve ruled out plugins and themes, what’s left? What else is there 
   that could possibly be conflicting with this plugin?
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [drupal Error establishing a database connection = what?](https://wordpress.org/support/topic/drupal-error-establishing-a-database-connection-what/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/drupal-error-establishing-a-database-connection-what/#post-1757573)
 * And I found a thing in my hosts stuff what says I had to use:
    localhost:/tmp/
   mysql5.sock
 * I don’t know why Drupal never needed that but WordPress did. But it works, now.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [drupal Error establishing a database connection = what?](https://wordpress.org/support/topic/drupal-error-establishing-a-database-connection-what/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/drupal-error-establishing-a-database-connection-what/#post-1757568)
 * Okay, I got it to work on the second site by changing ‘localhost’ to the actual
   domain name. But that didn’t work on the original site I had a problem with.
 * On the first one, I’ve tried thedomain.com, [http://www.thedomain.com](http://www.thedomain.com),
   the IP address, local, none has worked. And I would have expected ‘localhost’
   to work fine, because that’s what Drupal was using without any problem.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [drupal Error establishing a database connection = what?](https://wordpress.org/support/topic/drupal-error-establishing-a-database-connection-what/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/drupal-error-establishing-a-database-connection-what/#post-1757513)
 * I’ve now tried it on another site where I wasn’t concerned about losing the drupal
   install, and I cleared all that out, emptied the database, and got the same error.
 * It’s a different host, same problem.
 * I get the full error on
    wp-activate.php and wp-admin/install.php
 * Just the one line on index.php
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [drupal Error establishing a database connection = what?](https://wordpress.org/support/topic/drupal-error-establishing-a-database-connection-what/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/drupal-error-establishing-a-database-connection-what/#post-1757501)
 * It says “Create, Alter SP, Execute SP, Update, Delete, Show View, Lock, Create
   View, Drop, Create SP, Select, Alter, Insert”
 * I think that’s all of them, plus I went to phpMyadmin and created and dropped
   a table.
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [editnew.php isn’t same as edit.php](https://wordpress.org/support/topic/editnewphp-isnt-same-as-editphp/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/editnewphp-isnt-same-as-editphp/#post-187167)
 * wp-blog-header.php seemed a likely source for the difference, because that’s 
   where $posts gets filled.
 * But the only mention of ‘edit.php’ it contains is about gzipcompression, which
   doesn’t seem relevant.
 * I also tried admin-functions.php, functions-post.php, and a few others, and didn’t
   see anything that looked like it would account for the difference.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [date functions?](https://wordpress.org/support/topic/date-functions/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/date-functions/#post-171761)
 * function rrh_add_days ($date, $days){
 *  $days_adj = strtotime($date) + $days * 3600 * 24;
    $date = date(‘Y-m-d H:i:s’,
   $days_adj); return $date; }
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [date conversion](https://wordpress.org/support/topic/date-conversion/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/date-conversion/#post-181316)
 * I found my own answers.
 * strtotime($date);
 * and
 * date(‘Y-m-d H:i:s’, $days_adj);
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [.htaccess and arithmetic](https://wordpress.org/support/topic/htaccess-and-arithmetic/)
 *  Thread Starter [RobotHero](https://wordpress.org/support/users/robothero/)
 * (@robothero)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/htaccess-and-arithmetic/#post-141356)
 * I suppose I could. Like, if I have 9 comics in there already, I’ll put the number
   0 comic in post number 9. I’ll handle comics 1 through 8 as I already do, and
   have an extra rule for comic 0. Somehow that hadn’t occurred to me. I think I
   have a prejudice against exceptions.
 * But I still would like to know how to do arithmetic. I’m sure it will come in
   handy some day.

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

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