sufehmi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP Image upload does not work under php suexecthe thread above solves problems related to mod_security, not suExec.
With suExec you’ll still have problems uploading, usually you’ll get the follwoing error message :
The uploaded file could not be moved to /home/myusername/myblog.com/wp-content/uploads/2008/06.
Reason being because WP created that 2008/06 dir as apache’s user (www-data / httpd / etc), but suExec require that dir to be owned by myusername – otherwise the upload will fail.
Changing the directory’s ownership to myusername fix the problem – but on the next month (when WP created the new directory for that month) you’ll encounter this problem again.
I don’t know how to fix this permanently (then again it’s 4 AM here and I’ve been debugging this and another issue for several hours now).
Ideas ?
Forum: Plugins
In reply to: Plugin wanted: Author Avatar (For site with multiple post authors)tyr – thanks for your leads.
I’ve got a strange problems though — get_the_author_email() doesn’t work (WP 2.0.4)
After looking around, I managed to get Gravatar working without any plugin with this code in my blog’s template :
<img src=”http://www.gravatar.com/avatar.php?gravatar_id=<?php global $authordata; echo md5($authordata->user_email); ?>” />
Using this code, I was able to get the Author’s gravatar to show up on each of his/her post — with no plugin.
Hope it helps someone.
Forum: Fixing WordPress
In reply to: Can’t automate email-post-checkingSame problem here – I set cron to run every 5 minutes, and wp-mail.php keeps on fetching the same email (because it didn’t delete after fetching it).
Any pointers will be appreciated.Forum: Fixing WordPress
In reply to: Blog by emailThank you … sms-wp-mail has enabled my WP (mingus / v1.2.1) to show posts that are posted by email.
I suspect it didn’t show up due to the timezone difference problem – which is fixed by sms-wp-mail.
Thanks again !
To anyone who missed it, you can download it from here:
http://mookitty.co.uk/devblog/category/sms-wp-mail/Forum: Everything else WordPress
In reply to: post by email?Thank you … sms-wp-mail has enabled my WP (mingus) to show posts that are posted by email.
I suspect it didn’t show up due to the timezone problem – which is fixed by sms-wp-mail.
Thanks again !Forum: Fixing WordPress
In reply to: Email Blog – No Category??hmm.. I’ve hacked wp-mail.php and forces it to assign 2 to $post_category, but posts by email still won’t show up.
Strangely, I can edit them on the admin console….
Any ideas ?Forum: Plugins
In reply to: post_category in posts tableAlright, I’m having problems with wp-mail.php, and I was wondering why post_category stays 0 (zero) even though I’ve specified other categories.
Thanks.