Austin Matzko
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Uploaded images automatically rotate?WordPress currently does not take into account exif rotation data, but if that’s something you’d like to see, you should add your voice to this support ticket, as it doesn’t seem to have gotten much traction so far.
Forum: Fixing WordPress
In reply to: 2 ‘blogs’ – 1 database – common usersWhat you want to do is share the users database table, but use different table prefixes for 2 of the 3 blogs. So I’d recommend using the default table prefixes for one install and custom prefixes for the others.
To change the tables’ prefix, change the
$table_prefixvariable found in your wp-config.php file. Underneath that, for the two installs for which you’re changing the prefix, define the custom users table so that it points to the shared users table:define('CUSTOM_USER_TABLE', 'wp_users');Forum: Themes and Templates
In reply to: is_home conditional helpKeep in might there is a difference between the front page and the home page. Basically, the “front” page is the top level of your site; the “home” page is wherever the latest posts are listed, which when there’s a static front page is not the top level page. One of
is_home()oris_front_page()should do what you want.Forum: Fixing WordPress
In reply to: Getting user id from username?$user = get_userdatabylogin('admin'); var_dump($user); echo $user->ID; // prints the id of the userForum: Fixing WordPress
In reply to: Quotation Marks Not Appearing CorrectlyForum: Fixing WordPress
In reply to: Quotation Marks Not Appearing CorrectlyActually, this is a bug.
″, on the right, should be”I’ll create a patch for core files, but to get around it for now, just put
”in the markup next to 9, instead of"Forum: Installing WordPress
In reply to: Blank page after upgradeA blank page probably means that there’s a PHP error, which right after an upgrade suggests that either not all of 2.7’s files were correctly uploaded (likely) or there’s something wrong with the theme (less likely). Try fixing the former possibility by re-uploading all of the 2.7 core files.
Forum: Fixing WordPress
In reply to: Getting user id from username?Do
var_dump($user);to see if any data is being returned fromget_userdatabylogin. Ifmyusernameis the user name of a user, it will work, unless a plugin has redefinedget_userdatabyloginso that it doens’t work (unlikely).Forum: Fixing WordPress
In reply to: Quotation Marks Not Appearing CorrectlyI don’t see a problem: the quotation marks around “9” seem to be correct, and I don’t see any others.
Forum: Plugins
In reply to: Auto post to both Twitter and Facebook?There are seemingly a million Twitter plugins for WordPress; here’s a popular one that lets you post automatically.
You don’t need a plugin to post to Facebook, as Facebook has an option to automatically post notes from a given RSS feed: just use your blog’s feed.
Forum: Plugins
In reply to: Contact Form 7 v.1.9 Captcha not working?imagettftext is part of the GD image functions library, which is not always part of PHP (the code WordPress runs on).
You need to contact your host and ask them to install the PHP GD library. It’s really simple for them to do and is fairly common, so if they give you a hard time about it, I would seriously consider switching to another host.
Forum: Themes and Templates
In reply to: is_home conditional help<?php if ( ! is_home() ) : ?> <a href="#top"><img src="<?php bloginfo('template_directory'); ?>/images/top.png" id="toplink"/></a> <?php endif; ?>Forum: Requests and Feedback
In reply to: WordPress 2.x just doesn’t scale.There is work being done on the archives queries at WordPress’s bug tracker.
I’m not sure what queries you’re referring to with “COUNT_NUM_ROWS”, but trac would be the best place to post examples of slow queries and other performance issues, as it’s really a development/bug issue, not support.
Also, if there’s really a search engine bot requesting every archive page simultaneously, that’s going to be a problem for almost any platform (see Cuil in mid-2008) and might need to be addressed separately.
Forum: Plugins
In reply to: Checking PHP Functions (passthru(), ; should to disbale .Your host has probably provided PHPMyAdmin in the control panel; use that.
Forum: Plugins
In reply to: Checking PHP Functions (passthru(), ; should to disbale .Probably not. It would defeat the purpose of your host’s security measures if they could be overridden in .htaccess: the point is they don’t trust you not to misuse those functions.
By the way, my backup plugin was written with avoiding such restrictions, but admittedly it doesn’t have all the whiz-bang features of the one you’re referring to.