MMS Server Drop-in for WordPress 1.5 version 0.31
Update: Latest version is now available HERE
This version includes some new features as well as a couple of bug fixes (gmt time offset should be correct now). Most notably is an option to determine if a cellphone user is allowed to post. If you turn this option off then anyone can post. (not a great idea) Version 0.1 allowed this so beware!!!
This is accomplished by requiring the user to register using their 10 digit cell # as their login. Each incoming MMS message is checked to see if it’s 10 digit phone number has already been registered as a login. Remember that their nickname is published on the blog so their cellphone number is not out there for all to see. They will have to do this using a browser and go through the normal email verification process to create the account.
The wordpress security is then checked against the incoming MMS cellphone # and will only allow registered users with a high enough user level to post via MMS just like with regular posts.
An option to select thumbnail size for both max width and max height is easily changed in the user options. (default is 400X300) Thumbnailing is accomplished using php only and does not require installing Image Majic or the like.
The subject of the incoming MMS is parsed and attempts to locate a category to place the post in. A subject line like (Photos) Me Skydiving would search WordPress to see if a category called Photos exists and if so the post will be placed in it otherwise it goes to the WordPress default category. The (Photos) gets stripped off the subject and the remainder Me Skydiving becomes the post title. Also works for numeric category entry like (3).
Any text accompaning the photo is placed below the photo thumbnail in the post. If an audio file was also attached a link to it is also placed in the text area below the photo.
An example of an MMS post is HERE
[…] ndow. Had the original photo been larger it would have appeared at it original size.
See this post for more info.
This entry was posted
on Sunday, March 27th, 2005 at 7:30 am […]
Pingback by Grin ‘N Bare It » Blog Archive » MMS Hack for Wordpress — 4/11/2005 @ 2:14 pm
I am not able to sent posts to : www.kido.nl/mms.php and ther is je user whte the ten # pone number but mij Phone is saying: “sanding failed” unsuppportted content.
what ame i doeing wrong ????
Comment by Jasper — 5/13/2005 @ 6:36 pm
www.kido.nl/wp-mms.php
Comment by Jasper — 5/13/2005 @ 6:38 pm
Have you set that 10 digit phone number account to a high enough user level
in word press to allow posting? Also what is your phone setup to send MMS
to http://www.kido.nl/mms.php ?
Comment by Otis Riggins — 5/14/2005 @ 11:25 pm
I have a Sony Ericsson P910i and it does not seem to permit a http:// as the to: address part of an MMS message. Is this “normal”. I can probably get a hack to work with email redirection (e.g. send the message as email to @mysite.com and have the email redirect to the wp-mms.php script.
Any suggestions appreciated.
GB
Comment by Gerard Byrne — 6/19/2005 @ 9:23 pm
If your just looking for an email solution take a look at John Blade’s excellent wp-mail drop in for word press. http://blade.lansmash.com
I think a hack would be required to allow you to switch your MMS link.
Comment by Otis Riggins — 6/23/2005 @ 4:42 pm
I have everything set up OK (I think) and I’ve changed the APN in my cellphone (SonyEricsson K750i) profile to: http://www.mysite.com/wp/wp-mms.php. I then create a mms and send it to my own number (is this correct?). The mms gets sent and I also recieve it after a while, but nothing gets published in my blog? I have a user (level 3) with my 10 digit cellphonenumber. I also noticed that if i send a mms to my email adress to sender is presented as: +46701111111@mms.telia.com. Is it the number preceding the ‘@’ i need as a user? In that case my uid should be 12 digits, do I have to edit wp-mms.php?
Ok, many questions but I would be realy thankful if you could help me out. Thanks in advance!
Comment by Magnus — 8/11/2005 @ 8:38 am
Hi Magnus,
You would not sent to your own phone number. I am not real familiar with the 750i but on most you would just send as you would to your cell companies pix server but since you changed the APN the message would instead be sent to http://www.mysite.com/wp/wp-mms.php. I just tried pointing my browser to http://www.mysite.com/wp/wp-mms.php if the software is correctly installed you should get a message saying that this page is for use by MMS. I got a 404 not found message which indicates that something must be wrong with the installation. Please double check the install.
Otis
Comment by Otis Riggins — 8/11/2005 @ 4:23 pm
Hi Otis,
and thanks for your reply. So I shouldn’t change my APN to point to the ‘wp-mms.php’ file?
The mysite.com in my comment is wrong. The correct url is http://www.borstnas.net/wp-mms.php. Pointing a browser to this address results in the info you refer to.
Anyway, I’ve tried sending the mms to http://www.borstnas.net/wp-mms.php but get a: “message couldn’t be sent” in return. This is regardless of the APN that I set, my own or my provider: Telia (sweden).
How about the user? If I send a mms to an email-account the sender is: +46701111111@mms.telia.com. Is it the digits preceding the ‘@’ that should be used as a userid in wordpress? In my case i have 12 digits. In your code you refer to 10 digits?
regards / Magnus
Comment by Magnus — 8/11/2005 @ 4:45 pm
Hi Otis,
there seems to be a problem posting MMS to “http://”-addresses. I think this is a limit that comes with my swedish provider (Telia), they don’t provide a picserver like your provider does.
However, I was able to find a modified verion of John Blade’s updated ‘wp-mail.php’ here: http://www.wavestyle.ch/content/technik/code/wp-mail.htm
This script works fine and I am now able to post MMS from my cellphone.
Again, thank you very much for your efforts to help me solve this.
Comment by Magnus — 8/12/2005 @ 3:48 am
I got 3650 with MMS function
but i don’t know how to send pic to URL
i can only send to phonenumber
or I just change APN for mms to this URL
http://www.siamcellphone.com/wordpress/wp-mms.php
Thanks
Narakorn
Comment by narakorn — 9/5/2005 @ 12:44 am
trying to setup my verizon phone so the APN is set to my website http://www.MuslimStories.com/blogs/suleiman/
So far haven’t been successful. Any tips?
Comment by suleiman — 11/5/2005 @ 7:05 pm
Hi Suleiman,
It appears that the path to your mmslib.php is not correct. Just point your regular computer browser to http://www.muslimstories.com/blogs/suleiman/wp-mms.php then correct the path to the mmslib.php on line 86 of wp-mms.php to where ever you have placed it.
Comment by Otis Riggins — 11/7/2005 @ 4:53 am
Hi otis I change the APN server to http://www.2803.com/wp-mms.php on my phone (samsung e730) could you tell what’s the number to send the mms? because I can’t upload any pic on the blog.
I need your help on this
Thanks
Henri
Comment by henri — 12/9/2005 @ 6:42 pm
For the latest version please go to http://gnbi.com/blog/?p=430
Comment by Otis Riggins — 12/20/2005 @ 12:46 am