Title: dchase's Replies | WordPress.org

---

# dchase

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

 *   [Profile](https://wordpress.org/support/users/dchase/)
 *   [Topics Started](https://wordpress.org/support/users/dchase/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dchase/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dchase/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dchase/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dchase/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dchase/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: [Business directory with multiple locations using custom post types](https://wordpress.org/support/topic/business-directory-with-multiple-locations-using-custom-post-types/)
 *  [dchase](https://wordpress.org/support/users/dchase/)
 * (@dchase)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/business-directory-with-multiple-locations-using-custom-post-types/#post-1805868)
 * Sounds like you want one custom post type called ‘Restaurants’ with custom fields
   for address, city etc…
 * As for meta boxes, I use the [Verve Meta Boxes plugin](http://www.avenueverve.com/verve-meta-boxes/).
   Very robust.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Different Sidebar on Pages](https://wordpress.org/support/topic/different-sidebar-on-pages/)
 *  [dchase](https://wordpress.org/support/users/dchase/)
 * (@dchase)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/different-sidebar-on-pages/#post-1805867)
 * You can [register as many sidebars](http://codex.wordpress.org/Function_Reference/register_sidebar)
   as you would like and then call them by name in the theme files:
    `<?php get_sidebar('
   main_sidebar'); ?>`
 * So, many themes will have a ‘main sidebar’ that is on all the blog pages and 
   then a ‘page sidebar’ that gets called in the page.php file and is only displayed
   on ‘pages’
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Sub domain posts and pages redirect to primary site](https://wordpress.org/support/topic/sub-domain-posts-and-pages-redirect-to-primary-site/)
 *  Thread Starter [dchase](https://wordpress.org/support/users/dchase/)
 * (@dchase)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/sub-domain-posts-and-pages-redirect-to-primary-site/#post-1805861)
 * Looks like vhost was set to no. Must have happened last month when I was restoring
   some files after I broke the site, not sure why it took so long to find…
 * Thanks for helping me track that down. By the way, is it worthwhile to update
   the MU config variables to the new MS variables?
 *   Forum: [Your WordPress](https://wordpress.org/support/forum/your-wordpress/)
   
   In reply to: [Facebook Connect WordPress Plugin](https://wordpress.org/support/topic/facebook-connect-wordpress-plugin/)
 *  [dchase](https://wordpress.org/support/users/dchase/)
 * (@dchase)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/facebook-connect-wordpress-plugin/page/3/#post-858503)
 * Hi all,
 * First, GREAT plugin! It works perfectly right out of the box!
 * However, I am never satisfied with any new shiny toy 😀
 * I want to make it so that when you click on someone’s photo or name, instead 
   of going to the fbconnect profile I want it to go to their author page.
 * So, I went though the plugin pages and changed every instance of fbconnect_action
   =myhome&userid=XX to author=XX and that worked great when permalinks were turned
   off. However, once permalinks were turned on (as I want them to be) click on 
   the users that were created soley by FB connect return a 404 error.
 * They redirect to /author/FirstnameLastname. Now, WP author pages are at /author/
   username so I thought that might be the problem. So, I changed the FB connect
   registration to register the username as FirstnameLastname (which is much better
   then FB_FacebookID) but I am still getting a 404 error.
 * Also, when I got directly to /author/username (where username is the default 
   FB_FacebookID) I get the 404 error as well.
 * The weirdest part is that when I have permalinks on and I click on a link for
   a FB Connect user that is attached to a WP user that I manually created it goes
   to their profile just fine. And when permalinks are off, everything works just
   perfectly…
 * Anyone have any ideas? Basically I cannot find the author pages for those FB 
   Connect users when permalinks are on…
 * Thanks in advance for your help!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comment Error](https://wordpress.org/support/topic/comment-error-4-2/)
 *  Thread Starter [dchase](https://wordpress.org/support/users/dchase/)
 * (@dchase)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/comment-error-4-2/#post-966329)
 * I uninstalled 2.7 and installed 2.6 and that did not solve the problem. Then 
   I replaced the comments.php file in my theme (which was an enhanced version of
   the default theme) with a fresh copy from the default theme.
 * That seems to have done it. Of course I lost all of my customization but it seems
   that some of that customization was causing some problems with the commenting.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comment Error](https://wordpress.org/support/topic/comment-error-4-2/)
 *  Thread Starter [dchase](https://wordpress.org/support/users/dchase/)
 * (@dchase)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/comment-error-4-2/#post-966235)
 * Bump.
 * Please help, I really don’t know what to do. Should I reinstall WordPress? Is
   it likely a database problem or a error in one of the core files?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comment Error](https://wordpress.org/support/topic/comment-error-4-2/)
 *  Thread Starter [dchase](https://wordpress.org/support/users/dchase/)
 * (@dchase)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/comment-error-4-2/#post-966071)
 * Update:
 * The comments seem to be being added to the whatever post is 4 posts behind it.
   Also, it shows whatever the latest comments are on each post. So if I put two
   comments on my latest post, those and only those two comments show up on every
   single post…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Is Profiler compatible with Register Plus](https://wordpress.org/support/topic/is-profiler-compatible-with-register-plus/)
 *  [dchase](https://wordpress.org/support/users/dchase/)
 * (@dchase)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/is-profiler-compatible-with-register-plus/#post-832300)
 * This is great!
 * Af3, I did need to add:
 * `$vars['birthday'] = get_usermeta($id, 'birthday');`
 * Here is what my code for the profile looks like:
 *     ```
       $vars['country'] = get_usermeta($id, 'country');
       	$vars['age'] = get_usermeta($id, 'age');
       	$vars['favorite_animal'] = get_usermeta($id, 'favorite_animal');
   
       	$output .= "<p>$display_name<br />";
       	if(get_option('pf_show_emails') == 'yes')
       		$output .= "Email:  <a href=" . "mailto:" . $user_email . ">" . antispambot($user_email) . "</a><br />";
       	if($user_url != '' && $user_url != 'http://')
       		$output .= "Website:  <a href=" . $user_url . " rel=\"nofollow\">$user_url</a><br />";
       	if($vars['age'] != '')
       		$output .= "Age: " . $vars['age'] . "<br />";
       	if($vars['country'] != '')
       		$output .= "Country: " . $vars['country'] . "<br />";
       	if($vars['favorite_animal'] != '')
       		$output .= "Favorite Animal: " . $vars['favorite_animal'] . "<br />";
   
       	$output .= "Join date:  " . pf_format_datetime($user_registered) . "</p>";
       ```
   
 * That adds the three custom fields (age, country and favorite animal) in the profile.
 * Thank you all! now I just need to figure out how to get bbPress to point to this
   profile….

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