lambic
Forum Replies Created
-
Forum: Plugins
In reply to: (Plugin: User Photo) Author.phpI use this plugin:
http://geekgrl.net/2007/01/02/profile-pics-plugin-release/
And have this in my author.php:
<?php
global $wp_query, $userdata;
$memberdata = $wp_query->get_queried_object();
get_currentuserinfo();if (!strstr(author_image_path($memberdata->ID,false), “default”))
author_image_tag($memberdata->ID);
?>Forum: Requests and Feedback
In reply to: Dashboard Too SLOWMine was taking around 30 seconds, so I tinkered with the index.php file for a bit and narrowed it down to the call to technorati’s rss feed. Commented that out and it immediately dropped to 0.25 seconds.
Forum: Your WordPress
In reply to: Be Lambic or GreenI added a small border to the sidebar to delineate it a bit, colouring it wasn’t working for me.
Forum: Fixing WordPress
In reply to: Long, dark night of “the loop”…Sorry I turned the thread into an argument, I don’t like to see mis-information going un-refuted.
Just to add something productive to this post, here are other things to consider when thinking about performance:
- MySQL tuning
- Web server tuning
- Turn off plugins one by one to see if one is being bad
- Ask your service provider if they’re having problems
- Caching
I’ve had a couple of days when response time on my blog has been horrible. Both times it turned out to be a problem on the server that my provider had to sort out.
Forum: Fixing WordPress
In reply to: Long, dark night of “the loop”…I’m not sure which RDBMS you’re talking about. My expertise is only in Oracle, and I can tell you that what you’re saying is completely incorrect in that case. The Oracle optimizer treats SQL the same, whether it came from a stored procedure or an external call. In both cases it will “learn” to be better over time.
Forum: Fixing WordPress
In reply to: Long, dark night of “the loop”…Returning result sets using stored procedures will not be faster than a tuned piece of SQL on any decent RDBMS. The time it takes to parse a piece of SQL is insignificant compared to fetch times.
There are all sorts of things that make an RDBMS like Oracle faster than MySQL, but stored procedures isn’t one of them.
Forum: Fixing WordPress
In reply to: Long, dark night of “the loop”…Umm, why the obsession with stored procedures? For a simple application like a blog, straight-forward queries should be fine, and in many cases more efficient than using procedures.
Even in Oracle I wouldn’t use stored procedures to return my data in a blog app.
Forum: Fixing WordPress
In reply to: Long, dark night of “the loop”…Postgres is a better RDBMS, but it is less supported.
Forum: Fixing WordPress
In reply to: Long, dark night of “the loop”…Size means number of rows, number of columns, and volume of data, they all play a part. Number of rows is probably the most important though.
Forum: Fixing WordPress
In reply to: Long, dark night of “the loop”…It doesn’t matter how well indexed a table is, the more data that is in it the slower it will be. That’s just a fact of life in databases. You might be able to tune things up in MySQL, and the WP people might be able to tune their SQL, but MySQL isn’t the fastest RDBMS in the world by any stretch.
Forum: Fixing WordPress
In reply to: Why bother with cron for ‘post by email?’ Why not script it?cron is easy when you know how, but if you don’t want to learn it then there’s nothing wrong with alternative solutions (apart from the small performance issues)
Forum: Fixing WordPress
In reply to: Problems with IELine 254 refers to the source code of the validated page (use view source in your browser to find it)
Forum: Everything else WordPress
In reply to: Anyone Succeeding with 1.5.1?I skipped over 1.5.1 and went straight to 1.5.1.1. My upgrade went like this:
wget http://ww.wp.xz.cn/latest.tar.gz
gunzip latest.tar.gz
tar xf latest.tar
cd wordpress
rm -r wp-content
cp -r * ~/web/blog
cp -r * ~/web/nixblog
cp -r * ~/web/jenblog
cp -r * ~/petit*Then from the browser I ran upgrade.php at the four blogs.
That was it, four blogs upgraded in less than 5 minutes, and no problems so far. Putting themes in wp-content makes upgrading a breeze.
Forum: Fixing WordPress
In reply to: Two questionsWhich tags do you think you’re not allowed to use?
Forum: Fixing WordPress
In reply to: Suddenly can’t upload imagesCould be that your ISP suddenly decided to turn off file uploading in php; happened to me recently. Contact them and ask if they changed anything.