Title: janvanhoef's Replies | WordPress.org

---

# janvanhoef

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Duplicate installation in other folder](https://wordpress.org/support/topic/duplicate-installation-in-other-folder/)
 *  Thread Starter [janvanhoef](https://wordpress.org/support/users/janvanhoef/)
 * (@janvanhoef)
 * [20 years ago](https://wordpress.org/support/topic/duplicate-installation-in-other-folder/#post-377249)
 * I’ll look into that. In the meantime I installed the [preview theme plugin](http://boren.nu/archives/2005/03/08/preview-theme-plugin/)
   and it works like a charm.
 * However, I see that this isn’t 100% tamper-proof as there aren’t any user level
   checks. But you’d have to guess the name of the themes I have installed. I wonder
   if this plugin isn’t open for sql injection or other nasty tricks?
 * All my questions are answered and I’ll leave you all with a link to [my blog](http://www.tienkleineteentjes.be).
   You may allready have noticed I’m not a native English speaker, so don’t get 
   scared by the Dutch. Any comments on the theme are welcome.
 * In case you are wondering: my girlfriend is pregnant and the website is to inform
   friends and family on the “work in progress”.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Duplicate installation in other folder](https://wordpress.org/support/topic/duplicate-installation-in-other-folder/)
 *  Thread Starter [janvanhoef](https://wordpress.org/support/users/janvanhoef/)
 * (@janvanhoef)
 * [20 years ago](https://wordpress.org/support/topic/duplicate-installation-in-other-folder/#post-377245)
 * Again, thank you for such a quick reply. It’s a joy to see so many people support
   wordpress.
 * Maybe I should look into installing something to facilitate my theme editing,
   any suggestions? I haven’t been following development of those one-package-installs-
   all things.
 * However in the mean time I will check out that plugin moshu.
 * (note : I did search the codex and other resources before starting a thread here.)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Duplicate installation in other folder](https://wordpress.org/support/topic/duplicate-installation-in-other-folder/)
 *  Thread Starter [janvanhoef](https://wordpress.org/support/users/janvanhoef/)
 * (@janvanhoef)
 * [20 years ago](https://wordpress.org/support/topic/duplicate-installation-in-other-folder/#post-377242)
 * Thanks for the quick reply.
    However, I think I’ve found another way to get what
   I want, and I think it’s a bit easier.
 * I’ve found [some](http://dev.wp-plugins.org/wiki/ThemeSwitcher) information about
   [theme switcher](http://boren.nu/archives/2004/10/13/theme-switcher-plugin/) 
   plugins.
 * I thought about implementing a check so that only a specific user that’s logged
   in (me) can view this plugin and use it. It would be able to select another theme(
   the one in development) and view it with the current content.
 * Now all I need is a way to distinguish the user that’s logged in.
 * I ‘ve tried messing around with some php in the sidebar but i’m unable to see
   if i’m logged in (I based my code on the kubrick theme for comments)
 * both don’t work :
 * `<?php echo $user_identity; ?>`
    doesn’t return a thing
 * and
 * `<?php if ( $user_ID ) : ?>
    Logged in <?php else : ?> Not logged in <?php endif;?
   > always says I’m not logged in, but I am.
 * Any help?

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