September 07, 2004

SprintPhoto v0.1

I have created a wordpress plugin/hack to allow the uploading of Sprint Picture Shares. Some of it is a little rough, but feel free to try it out.

SprintPhoto v0.1

Notes: Based partially off of code from phone2blog by LaughingLizard
To be used in addition to wp-m2.php – a modified version of wp-mail.php.

Instructions:
1. Copy wp-m2.php into the root directory of worpress.
2. Copy SprintPhoto.php into the wordpress plugins directory (typically wp-content/plugins)
3. Create a directory “moblog” in the “wp-content” directory of your blog and ensure the permissions allow the webserver process to write to it. This is where images will be stored.
4. Activate the SprintPhoto plugin through your administrative pages.
5. Follow the “How to Blog by eMail” guide, replacing the use of wp-mail.php with wp-m2.php
6. Send a picture share as usual to the email adress you have created.
7. Browse to the wp-m2.php page – it will begin processing your email.
8. Regular emails will process as normal posts.
9. The full scale image as well as a thumbnail will be downloaded to the “moblog” directory. A blog will be posted per your configuration of wp-m2.php with the thumbnail linking to the full image, the text of the blog will be the text message sent from your phone, the title will be “A Picture Share!”

To-Do:
1. Bug-fix as needed.
Known bugs:
a. Incorrect date/time stamp.
b. Permalink not working correctly.
2. Explore title settings.
3. Explore the possibility of a complete wp-mail.php rewrite (there is much room for improvement)
4. Explore using the wp-mail.php hack found here.
5. Enhancements?

Last Modified: 2004-09-07

Leave a Reply