dchase
Forum Replies Created
-
Forum: Plugins
In reply to: Business directory with multiple locations using custom post typesSounds 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. Very robust.
Forum: Hacks
In reply to: Different Sidebar on PagesYou can register as many sidebars 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
In reply to: Sub domain posts and pages redirect to primary siteLooks 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
In reply to: Facebook Connect WordPress PluginHi 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
In reply to: Comment ErrorI 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
In reply to: Comment ErrorBump.
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
In reply to: Comment ErrorUpdate:
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
In reply to: Is Profiler compatible with Register PlusThis 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….