Title: marcopolo's Replies | WordPress.org

---

# marcopolo

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: NextGEN Gallery] nggallery.css link not written to header](https://wordpress.org/support/topic/plugin-nextgen-gallery-nggallerycss-link-not-written-to-header/)
 *  Thread Starter [marcopolo](https://wordpress.org/support/users/marcopolo/)
 * (@marcopolo)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-nggallerycss-link-not-written-to-header/#post-1269085)
 * Thanks for the suggestions.
 * I ultimately fixed it with a low-tech hack: I added the missing styles from nggallery.
   css to my main theme stylesheet. Looks fine now.
 * See the fixed gallery here:
    [http://www.coastalsurvey.com/mag/album/](http://www.coastalsurvey.com/mag/album/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [how do i find out my hostname?](https://wordpress.org/support/topic/how-do-i-find-out-my-hostname/)
 *  [marcopolo](https://wordpress.org/support/users/marcopolo/)
 * (@marcopolo)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/how-do-i-find-out-my-hostname/#post-1258617)
 * some ISPs generate a unique host name for security reasons. ‘localhost’ is the
   default name given in most installations.
 * check the hosting administration section of your ISP to see if alternate names
   for your database are being used.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Auto Theme Switch — PHP syntax ?](https://wordpress.org/support/topic/auto-theme-switch-php-syntax/)
 *  Thread Starter [marcopolo](https://wordpress.org/support/users/marcopolo/)
 * (@marcopolo)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/auto-theme-switch-php-syntax/#post-497043)
 * OK, finally got the syntax right for the PHP — I’d dropped a bracket. Here’s 
   the working code:
 * <!–the following bit is the browser/platform detect –>
 * <?php if (eregi(“MSIE”,getenv(“HTTP_USER_AGENT”)) ||
    eregi(“Internet Explorer”,
   getenv(“HTTP_USER_AGENT”))) { ?><link rel=”stylesheet” type=”text/css” href=”
   <?php bloginfo(‘stylesheet_directory’); ?>/stylewinie.css”/>
 * <?php } elseif (eregi(“MACOS”,getenv(“HTTP_USER_AGENT”)) ||
    eregi(“Safari”,getenv(“
   HTTP_USER_AGENT”))) { ?><link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘
   stylesheet_directory’); ?>/stylemac.css”/>
 * <?php } else { ?>
    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘
   stylesheet_directory’); ?>/stylewinfox.css”/> <?php } ?>
 * <!– end of browser/platform detect –>
 * You can check the result here: [http://www.pratt-union.org/](http://www.pratt-union.org/).
 * I’ve spent days on this problem and I think this is by far the cleanest solution.
 * Even if there were CSS hacks that could discern Firefox from Safari from IE7,
   there are no CSS filters for platform. And Firefox renders differently when it’s
   running on a Mac OS than when it’s based on Windows. Until that problem is solved(
   probably never), you’re better off using PHP to interrogate the User_Agent.
 * Thanks for the help.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Auto Theme Switch — PHP syntax ?](https://wordpress.org/support/topic/auto-theme-switch-php-syntax/)
 *  Thread Starter [marcopolo](https://wordpress.org/support/users/marcopolo/)
 * (@marcopolo)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/auto-theme-switch-php-syntax/#post-497003)
 * Yea, I tried the CSS hacks first.
 * There are not sufficient filters to sort out browser/platform issues I encountered.
   For example, Firefox 1.5 interprets the theme/css differently depending on whether
   it’s running on Windows or a Mac.
 * For reference, the site I’m working on is here: [http://www.pratt-union.org/](http://www.pratt-union.org/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [tiny-mce](https://wordpress.org/support/topic/tiny-mce/)
 *  [marcopolo](https://wordpress.org/support/users/marcopolo/)
 * (@marcopolo)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/tiny-mce/#post-384418)
 * Another great image wsywig editor is raj prasad’s editor monkey — [http://www.rajprasad.net/plugins/editormonkey](http://www.rajprasad.net/plugins/editormonkey).
 * although it’s no longer supported, it worked fine for me right out of the box
   for modifying a wp 2.0.3 installation. the plugin offers a nice blend of features
   and flexibility.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [how is sidebar called in pool theme ??](https://wordpress.org/support/topic/how-is-sidebar-called-in-pool-theme/)
 *  Thread Starter [marcopolo](https://wordpress.org/support/users/marcopolo/)
 * (@marcopolo)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/how-is-sidebar-called-in-pool-theme/#post-269256)
 * i never thought to look in the footer.
 * the get_sidebar call was in the footer. thanks.
 * issue resolved.

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