Title: Dr C's Replies | WordPress.org

---

# Dr C

  [  ](https://wordpress.org/support/users/dr-c/)

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Site crashed after MailPress upgrade](https://wordpress.org/support/topic/site-crashed-after-mailpress-upgrade/)
 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [17 years ago](https://wordpress.org/support/topic/site-crashed-after-mailpress-upgrade/#post-1221362)
 * Exact same problem. Hoping for a quick fix!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Pretty Permalinks](https://wordpress.org/support/topic/pretty-permalinks-1/)
 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/pretty-permalinks-1/page/2/#post-994135)
 * Ok, I got it working for me with the help of some excellent websites and tech
   support.
 * My host was running Zeus not Apache, so the server needs a file `rewrite.script`
   to do the task of `.htaccess`. The contents are given in several websites, but
   here’s [one](http://www.anujgakhar.com/2009/01/23/wordpress-htacces-on-zeus/).
 * Hope that helps somebody.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Pretty Permalinks](https://wordpress.org/support/topic/pretty-permalinks-1/)
 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/pretty-permalinks-1/page/2/#post-994134)
 * I too have the **exactly** the same problem. Also, adding either
    `Options FollowSymLinks`
 * or
 * `Options FollowSymLinks+`
 * hasn’t helped as was suggested [here](http://wordpress.org/support/topic/192184)
 * I note that this topic is marked [resolved] does that mean we should start a 
   new one to get this problem sorted? Thanks for the help.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Automatic upgrade to 2.7.1 problem](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/)
 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-985064)
 * Exactly the same here.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [current_page_parent, current_page_item but what about three-level menu ?](https://wordpress.org/support/topic/current_page_parent-current_page_item-but-what-about-three-level-menu/)
 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/current_page_parent-current_page_item-but-what-about-three-level-menu/#post-648921)
 * Hmmm.. sorry man – just saw this now. Don’t know how I missed your post the first
   time!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Execute brackets [] tags in theme files?](https://wordpress.org/support/topic/execute-brackets-tags-in-theme-files/)
 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/execute-brackets-tags-in-theme-files/#post-800135)
 * Hey object81,
    Just saw this now. MFS uses the WP hook as follows (line 154 of
   MFS code):
 * add_filter(‘the_content’,’multifeedsnap_function’);
 * This means that the MFS brackets are only processed when WP is about to display‘
   the_content’. If yoiu check out the filter/hooks [references ](http://codex.wordpress.org/Plugin_API/Filter_Reference)
   you might find one that suits your needs. I had a quick look but couldn’t find
   one that was obvious.
 * When you find one that suits you, replace the ‘the_content’ part of line 154 
   above with your preferred hook, and it *should* work like a dream 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Members only sections](https://wordpress.org/support/topic/members-only-sections/)
 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/members-only-sections/page/5/#post-784520)
 * Surely everyone just sprinkles those </div> tags around like confetti, right?!!
   Oh the shame :p But I can’t see the rogue tag – perhaps you could tell me what
   line it’s on?
 * Good luck Talia…good things come to those willing to work weekends 😀
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Members only sections](https://wordpress.org/support/topic/members-only-sections/)
 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/members-only-sections/page/5/#post-784516)
 * [@talia](https://wordpress.org/support/users/talia/) and others. I followed the
   directions and things seemed to work for me:
 * 1. I created a members.php file which I then put in my theme’s folder in wp-content\
   themes\TheTheme\:
 *     ```
       <?php
       /*
       Template Name: Members Only
       */
       ?>
   
       <?php get_header(); ?>
       <div id="content">
   
       <?php if (is_user_logged_in()) { ?>
   
       <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
   
       <h2><?php the_title(); ?></h2>
       <div class="contenttext">
       <?php the_content(); ?>
       </div>
   
       <?php endwhile; ?>
       <?php endif; ?>
       <? } else { ?>
   
       <h3>Sorry But You Must Be Logged in to View This Page</h3>
       <div class="post">
       Sorry, but this area is only for registered, logged-in users. If you are a registered user,
       please login to the site.  If you would like to register, please email <a href="mailto:info@colincaprani.com">info@colincaprani.com</a>.
   
       <form name='loginform' id='loginform' action='<?php echo get_bloginfo('wpurl');?>/wp-login.php' method='post'>
   
           <label>Username
           <input type='text' name='log' id='log' value='' size='20' tabindex='1' />
           </label>
   
           <label>Password
           <input type='password' name='pwd' id='pwd' value='' size='20' tabindex='2' />
           </label>
   
           <label>
           <input name='rememberme' type='checkbox' id='rememberme' value='forever' tabindex='3' />
           Remember Me</label>
   
         <p class='submit'>
           <input type='submit' name='submit' id='submit' value='Login &raquo;' tabindex='4' />
           <?php //use a hidden field to return them to the page they came from ?>
           <input type="hidden" name="redirect_to" value="<?php echo $_SERVER["REQUEST_URI"]; ?>" />
   
       </form>
   
       </div> <!-- /post -->
   
       <?php } ?>
       </div><!-- /content -->
       <?php get_sidebar(); ?>
       <?php get_footer(); ?>
       ```
   
 * 2. In the WP admin section, when writing or editing a page, a new box appears
   in the Advanced Options section, “Page Template”. Here, choose which template
   your page is to belong to, “Members Only” or default.
 * 3. To hide the members only pages from the navigation menus I used the [Hide Pages](http://www.instinct.co.nz/hide-pages-plugin/)
   plugin.
 * My aplogies if you’re annoyed that a lot of the code could ‘obviously’ be hacked
   to gether from the other posts, but I thought it useful to assemble it in one
   place.
 * One last thing: wouldn’t it be great if after a member has logged in that the
   pages that were hidden from the naviagtion menus became visible?! I looked at
   the Hide Pages code but it’s not tremendously hack friendly to a php newbie like
   me. Any suggestions?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP Super Cache] Cannot delete cache folder after uninstall](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/)
 *  Thread Starter [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772415)
 * Thanks for replying Donncha. When I went back to apply your fix the permissions
   had been changed and I was able to delete it directly – I was not previously 
   able to do this. Perhaps the host has changed something in the meanwhile?
 * Anyway, thanks for you help. I presume that between Otta’s and your fix this 
   topic is now resolved?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP Super Cache] Cannot delete cache folder after uninstall](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/)
 *  Thread Starter [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772413)
 * Thanks for the solution Otto. I had hoped that going through the host’s tech 
   support could be avoided but ah well…
 * I agree with passegua on the issue being with WP Super Cache in a more global
   sense, since it is what created the problem folder in the first place. It’s not
   that I don’t completely and utterly respect Donncha O Caoimh’s excellent work,
   but there surely must be a way that this folder can be created without having
   to revert to the host everytime it needs to be uninstalled?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Displaying Google News Feeds on WordPress](https://wordpress.org/support/topic/displaying-google-news-feeds-on-wordpress/)
 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/displaying-google-news-feeds-on-wordpress/#post-671653)
 * Anyone any ideas on this? I’ve just hit the same brick wall!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [current_page_parent, current_page_item but what about three-level menu ?](https://wordpress.org/support/topic/current_page_parent-current_page_item-but-what-about-three-level-menu/)
 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/current_page_parent-current_page_item-but-what-about-three-level-menu/#post-648913)
 * 10 hours of work, several plugins later and I find that it all comes down to 
   one little variable:
 * `current_page_ancestor`
 * Genius! Knowledge really is a powerful thing.
 * So with that input my horizontal menu is finished [http://www.colincaprani.com](http://www.colincaprani.com)
   If it would help people I could blog about the solution?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP-dTree 3.3.2] dTree plugin on wp 2,5,1](https://wordpress.org/support/topic/plugin-wp-dtree-332-dtree-plugin-on-wp-251/)
 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-332-dtree-plugin-on-wp-251/#post-751785)
 * Me too. I get the following error:
 * `Fatal error: Cannot redeclare wp_dtree_load_javascripts() (previously declared
   in ...wp-content/plugins/wp-dtree-30/wp-dtree.php:113) in .../wp-content/plugins/
   wp-dtree-30/wp-dtree.php on line 112`
 * I’m being lazy and am not in the mood to try debug it!

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