Title: rich_c's Replies | WordPress.org

---

# rich_c

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Display Last Post(s)] Can't edit page after using shortcode](https://wordpress.org/support/topic/cant-edit-page-after-using-shortcode/)
 *  Thread Starter [rich_c](https://wordpress.org/support/users/rich_c/)
 * (@rich_c)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/cant-edit-page-after-using-shortcode/#post-2061817)
 * Thank you alchymyth. That worked.
 * I guess the functions `get_permalink()`, `the_title()`, etc., change the _POST
   data, in addition to returning the data. I noticed that ALL the last post shortcode
   examples I found on the internet did the same thing.
 * Odd that no one had ever noticed that when you try to edit a page with the code
   in it, it “takes over” the edit and redirects you to the post itself, not the
   original page.
 * If the author updates his plugin he will have something unique.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] 3.0.97 breaks in WP 3.0.5](https://wordpress.org/support/topic/plugin-events-manager-3097-breaks-in-wp-305/)
 *  Thread Starter [rich_c](https://wordpress.org/support/users/rich_c/)
 * (@rich_c)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-events-manager-3097-breaks-in-wp-305/#post-2035325)
 * No warnings in PHP error file. When I get a chance to put it back on a test server
   I will post the error here.
 * I reverted to 3.0.95. Is there a data format change between the two versions?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Facebook Connect] [Plugin: Simple Facebook Connect] Some of it works, some of it doesn't](https://wordpress.org/support/topic/plugin-simple-facebook-connect-some-of-it-works-some-of-it-doesnt/)
 *  Thread Starter [rich_c](https://wordpress.org/support/users/rich_c/)
 * (@rich_c)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-some-of-it-works-some-of-it-doesnt/#post-1886190)
 * OK here’s what the problem was:
 * The URL in the application was correct.
 * However the site was not yet live. On IIS, you can set several index documents,
   and set the preferred order. Before any of my PHP sites goes live, I set the 
   order as follows:
 * index.html
    index.php index.htm (kept for some people who still use this archaic
   extension)
 * Then, when you visit ‘[http://www.domain.tld&#8217](http://www.domain.tld&#8217);,
   you get the “splash page” rather than the full site. The site can be tested by
   specifying ‘[http://www.domain.tld/index.php&#8217](http://www.domain.tld/index.php&#8217);.
 * I changed the order of the index documents in the middle of the night as a test,
   and the Publish, Upcoming Events, and other sub-plugins started to work.
 * I had previously tried setting the application URL to ‘[http://www.domain.tld/index.php/&#8217](http://www.domain.tld/index.php/&#8217);
   both with and without the trailing slash, and neither worked.
 * So for anyone else in this situation, the facebook application seems to need 
   a URL that ends in a directory with a default index document in order to work,
   not JUST a valid and correct URL.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] [Plugin: NextGEN Gallery] Gallery Thumbnails on sidebar don't show in Chrome](https://wordpress.org/support/topic/plugin-nextgen-gallery-gallery-thumbnails-on-sidebar-dont-show-in-chrome/)
 *  [rich_c](https://wordpress.org/support/users/rich_c/)
 * (@rich_c)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-gallery-thumbnails-on-sidebar-dont-show-in-chrome/#post-1772897)
 * I could not see the thumbnails in my custom theme either. I traced it down to
   plugins/nextgen-gallery/css/nggallery.css line 312. I commented out “overflow:
   hidden;” and my thumbnails appeared.
 *     ```
       /* ----------- Sidebar widget -------------*/
       .ngg-widget,
       .ngg-widget-slideshow {
       	/* overflow: hidden; */
       	margin:0pt;
       	padding:5px 0px 0px 0pt;
       	text-align:left;
       }
       ```
   
 * I like to comment out stuff at first rather than just deleting it, in case it
   causes a problem somewhere else and I need to revisit it later on. Maybe in some
   other themes there is a reason for it. 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] Widget does not work on IIS](https://wordpress.org/support/topic/plugin-events-manager-widget-does-not-work-on-iis/)
 *  Thread Starter [rich_c](https://wordpress.org/support/users/rich_c/)
 * (@rich_c)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-events-manager-widget-does-not-work-on-iis/#post-1855790)
 * I don’t know why it didn’t work on my 5.2.4 version of PHP, but it didn’t. Eliminating
   empty() also solved other problems I was having in getting the widget to display
   the correct data on the page.
 * If you search through the PHP changelog for empty() you will see that there have
   been enough issues with it that I think it’s worth avoiding.
 * Anyway your new solution is very elegant. 🙂
 * Did you also fix the errors on line 35 where it should be
 * `$events_link = ( $instance['all_events_text'] != '' ) ? em_get_link($instance['
   all_events_text']) : em_get_link(__('all events','dbem'));`
 * instead of
 * `$events_link = ( $instance['all_events_link'] != '' ) ? em_get_link($instance['
   all_events_link']) : em_get_link(__('all events','dbem'));`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] Widget does not work on IIS](https://wordpress.org/support/topic/plugin-events-manager-widget-does-not-work-on-iis/)
 *  Thread Starter [rich_c](https://wordpress.org/support/users/rich_c/)
 * (@rich_c)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-events-manager-widget-does-not-work-on-iis/#post-1855751)
 * The problem is that you apparently can’t use empty() on an array element. For
   array elements with a value of ” empty() will return false. Not sure if this 
   is a bug in PHP or not, but converting the tests to good old (instance[‘element’]
   == ”) works fine.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] Widget does not work on IIS](https://wordpress.org/support/topic/plugin-events-manager-widget-does-not-work-on-iis/)
 *  Thread Starter [rich_c](https://wordpress.org/support/users/rich_c/)
 * (@rich_c)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-events-manager-widget-does-not-work-on-iis/#post-1855747)
 * I’m not getting any errors. However it looks like the form data is not getting
   saved to the database. The defaults are being written, and if I change the default
   that’s what I get back in the form after saving. The new default is also what
   goes into the database for that instance.
 * So it seems like there’s something hinky in the $new_instance array when update()
   is called.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] Widget does not work on IIS](https://wordpress.org/support/topic/plugin-events-manager-widget-does-not-work-on-iis/)
 *  Thread Starter [rich_c](https://wordpress.org/support/users/rich_c/)
 * (@rich_c)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-events-manager-widget-does-not-work-on-iis/#post-1855738)
 * Hi, Thanks for responding. I’m using 3.0.9.
 * Also it seems that the calendar widget does work; it’s only the events list widget
   that doesn’t.

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