flapane
Forum Replies Created
-
Forum: Plugins
In reply to: Exclude Trackbacks and Pingbacks from Defualt WordPress Recent CommentsCode copied from the older (and closed) thread
if ( !$comments = wp_cache_get( 'recent_comments', 'widget' ) ) { $comments = $wpdb->get_results("SELECT $wpdb->comments.* FROM $wpdb->comments JOIN $wpdb->posts ON $wpdb->posts.ID = $wpdb->comments.comment_post_ID WHERE comment_approved = '1' AND post_status = 'publish' AND comment_type IN ('comment', '') ORDER BY comment_date_gmt DESC LIMIT 15"); wp_cache_add( 'recent_comments', $comments, 'widget' ); }
Forum: Fixing WordPress
In reply to: Somebody just exploited my WP 3.1.1No, it’s a theme I wrote on my own from scratch (but the “critical” php code comes from the default WP theme, I mostly made css and graphical customizations), and the cPanel log unfortunately isn’t accessible from the customers.
Forum: Fixing WordPress
In reply to: Somebody just exploited my WP 3.1.1I didn’t see new articles in the control panel, they hardcoded the iframe in /index.php, just before the final ?>
Forum: Installing WordPress
In reply to: Upgrade to 3.1: it keeps asking the database to be updatedI just told the hosting farm that there were connection issues, and they fixed them.
Forum: Installing WordPress
In reply to: Upgrade to 3.1: it keeps asking the database to be updatedThere was a problem connecting with the sql db ??
Forum: Installing WordPress
In reply to: Upgrade to 3.1: it keeps asking the database to be updatedYes, I think that there’s a problem in connecting with the sql db, too.
I’ll try later (I can’t access phpmyadmin right now).Forum: Installing WordPress
In reply to: Upgrade to 3.1: it keeps asking the database to be updatedYes I’ve cleared the Firefox cache before logging in.
Forum: Installing WordPress
In reply to: Upgrade to 3.1: it keeps asking the database to be updatedI’ve already logged out, but nothing changed ??
@schyte
The owner has a 10 days old backup, I’ll keep it as the last try, because he’d loose a lot of posts.Forum: Installing WordPress
In reply to: Upgrade to 3.1: it keeps asking the database to be updatedHi,
I’ve just done what you wrote, and nothing changed.
ThanksForum: Themes and Templates
In reply to: From 2.9.x to 3.0.2… any change in the theme?Thanks for the help.
Forum: Themes and Templates
In reply to: From 2.9.x to 3.0.2… any change in the theme?Good point.
My theme doesn’t use particular functions (functions.php) but 3 homebuilt functions to separate and count comments and trackbacks.
Other than that, I usually compress the biggest js and css WP files just to save some bytes without using any 3rd party plugin.Hi,
great, that option in the control panel did the trick!Forum: Fixing WordPress
In reply to: Number of posts to display in the monthly or tag archiveThank you so much!
Forum: Themes and Templates
In reply to: Template used in "categories" viewHi,
not having category.php, then archive.php is the right pick.Thanks
Forum: Themes and Templates
In reply to: Every share plugin at the end of the post screws up the layoutbump