Support
Support forums can be found here
Notes
fMoblog is a moblog plugin for Wordpress 1.5.x which enables the user to post images and a description from a cell phone. Pictures can also be uploaded by email. Creation of thumbnails is automatic and the image are displayed in a image gallery sorted by month. A dropdown list makes it easy to change month to display. Please check out my own moblog for a demo. fMoblog is valid XHTML.
The fMoblog must be on a static page, not in a post.
Requirements
- Wordpress 1.5+
- Some plugin for running PHP code in posts.
- Exec PHP at http://soeren-weber.net/
- RunPHP at http://www.nosq.com/
- PHP support for imap_open() on your host.
- Note: Please consider that running PHP code within posts is a security risk.
- GD library
Installing
- Unzip to a directory.
- Put fmoblog.php, fmoblog_manage.php and fmoblog_options.php in your wp-content/plugins directory.
- Create directories fmoblog_pictures and fmoblog_thumbs in your wp-content folder and change permission to 755.
- Create a secret email account at your host for use only for fMoblog. (Ex. fMoblog@domain.com).
- Go to Wordpress admin->plugins and press activate.
- Go to Wordpress admin->options->fmoblog and input your incoming email server something like (incomingserver.domain.com), username and password. Input the size you want the image to be resized to and the number of thumbs to be displayed from fmoblog_get_latest() and the update intervall, and finally the thumbnail size for the sidebar. You can choose to show a quick tag for fMoblog.
- Press update options.
- Create a page and press the fMoblog quicktag or manually input
<!--fmoblog-->where you want the photos to appear.
- You can include an image in a post with this function call:
<?php fmoblog_get_image('imagename', [thumb], [align]);?>
imagename should be the name of the full size image without the path and the thumb should be true or false (optional), defaults to false. and image alignment (optional), defaults to ‘default’.
Ex 1. Thumbnail version of img.jpg left aligned.<?php fmoblog_get_img('img.jpg', true, 'left');?>
Ex 2. Full version of img.jpg center aligned.
<?php fmoblog_get_img('img.jpg', false, 'center');?>
Ex 3. Full version of img.jpg default aligned.
<?php fmoblog_get_img('img.jpg');?>
- Start posting.
Posting images
You can either post from your cell phone as an email with the image attached or from your regular email. Simply attach (inline images are not supported)the picture and write as subject the title for the image and a image description in the email body contained within #-signs. Ex. #My text#. Or you can upload images from WordPress admin area, got to manage->fmoblog.
The image must be of jpg type, and only one image per e-mail.
Send and the next time the page is shown the emailed image will apperar. Post your images to your secret email account.
Deleting images
In the WortPress admin interface go to manage->fmoblog, here you can upload and delete images.
Changelog
- Version 1.0.1
- 2005-09-18: Adding slashes to subject line.
- 2005-09-19: Option added to specify image size for resizing.
- 2005-09-19: Added deleting images when logged in as administrator.
- 2005-09-20: Fixed problem involving foreach().
- Version 1.0.2
- 2005-09-23: Fixed problem with permalinks.
- 2005-09-24: Changed folders to be in wp-content
- Version 1.2
- 2002-09-30: Added support for more images from fmoblog_get_latest().
- Version 1.3
- 2005-10-05: Added update intervall for e-mail checking.
- Version 1.4
- 2005-10-13: Added function for image inclusion in posts.
- Version 2.0
- 2005-10-13: Added support for image description.
- Version 2.1
- 2005-10-13: Added WordPress admin interface for uploading and deleting images
If you’re updating from earlier version please go to admin->plugins and press “deactivate” and then press “activate” to update installation.
Support
If you are asking for support from me by comment or email please provide a link to your blog so I can see for myself. It sure makes support and debugging a lot more easy. And please do read the FAQ and the other comment before asking for support.
FAQ
- Q: Why don’t I see the latest images in my sidebar?
A: You need a plugin for running PHP in posts, see requirements. - Q: Why do I get a red error in my blog?
A: Your host do not support the imap_open function in their PHP-installation. - Q: Why do I get “no permission to write image. quitting ‚Ķ “?
A: You need to set permission for the folders as 775. - Q: Why is the image desription not showing?
A: The text in the e-mail body must be within #-signs. - Q: Why is the images not appearing?
A: The images must be as attachments, not as inline elements in the email.

Comments
DoverGeek
Hi, I got your fMoblog plugin installed on my site. Great work! Just got one question, how does the email account work out.
write now I have it set up as
mail server: xxxx@joliver.org
username: xxxx
password: xxxx
is this correct and how frequently will the fMoblog receive the images?
Fredrik Fahlstad
Great hope you like it. Make an email address specially for the fmoblog and use it to post images to. Your mail server should be something like incomingmailserver.joliver.org and not your email address. The script gets the mail from the account at every page view.
If there are any problems please let me know.
Brendan
Hi there. I’ve followed the install instructions, and have even reinstalled Wordpress and fMoblog twice just to make sure it’s not a fault on the server but I keep getting the same problems. It doesn‚Äôt look like fMoblog is checking the e-mail address and to top things off on each page in Wordpress I get an error “Warning: Invalid argument supplied for foreach() in wp-content/plugins/fmoblog.php on line 231″ Any ideas? Thanks, Brendan
Fredrik Fahlstad
Sorry Brendan I found an error about the email checking, I have corrected it now and you can download the new script.
Let me know if there are any problems.
Brendan
Hi Fredrik. I’m still not having any luck! Do you have any other ideas?
DoverGeek
Fredrik, your the man! that worked wonderfully and I now it fully functional. Thanks again.
Also, w/ version 1.0.1, the foreach string has been moved from line 231 to 271, since you need to upgrade to get it working.
Again GREAT JOB!!!!
DoverGeek
Quick change for the sidebar.php entry… In order to successfully get this code to work you will need to format like such so that it is read as php code.
DoverGeek
Oops, looks like it got taken literally…
“”
DoverGeek
Ok, well I am on fire… lets try it again..
[?php fmoblog_get_latest(); ?]
Please change teh “[" and "]” to { and }
DoverGeek
Instead of { and } it needs to be - Sorry for the typo.
Ok, Frederik, i’m sorry for litering your comments with my mistakes… Please delete the err’ed entries and combine in to one.
DoverGeek
Argh.. i’m done, since it won’t let me enter the damn less than and greater than signs.
On the keyboard its [SHIFT-,] and [SHIFT-.]
Fredrik Fahlstad
Yea it’s confusing. I’m glad you got it to work.
buggs
How, I uploaded the zip file on the above link Download: “fMoblog v. 1.0.1,” it appears to be empty.
Fredrik Fahlstad
Oops.. I made a poo, forgot to add the files to the zip-file. They are there now.
Sorry about that.
thesuperstar
Warning: imap_open(): Couldn’t open stream {:110/pop3/notls}INBOX in /home/thesup3/public_html/webblog/wp-content/plugins/fmoblog/fmoblog.php on line 110
could not connect to mailserver. quitting …
that is what my website looks like after i activate plugin. when i try to go to options, i get a 404 error.
Fredrik Fahlstad
I do get that kind of error on my site too and that happens when my host’s email server fails to open my inbox. Or there could be some restrictions on your host regarding applications using the imap_open function. Please download the latest version.
thesuperstar
hi, I downloaded the latest.
i can now activate plugin, go to options and make adjustments. but when i go to view my site:
Warning: imap_open(): Couldn’t open stream {mail@thesuperstar.org:110/pop3/notls}INBOX in /home/thesup3/public_html/webblog/wp-content/plugins/fmoblog.php on line 113
could not connect to mailserver. quitting …
Fredrik Fahlstad
Yoy should not input your email adress in the server it should be your email server. Something like:
mailserver.superstar.org
sam
hi,
I am trying to use your picure post, but am having trouble editing the homepage to include the pictures. I am using this code:
fmblog_get_latest(10);
but i am not sure i am putting it in the right place or that it is coded properly…please advise…
sam
//
// fmblog_get_latest(10);
//
//
sam
‘
‘fmblog_get_latest(10);
‘
‘
sam
sorry…i can’t get the code I am trying to put up to show up!
Fredrik Fahlstad
This is what u supposed to put in there.
[?php fmoblog_get_latest; ?]
Just change the [] to <>, Ok?
ben klinger
first of all - thanks for the plugin, it’s really useful.
when I send an email from my computer, everythink is OK.
but when i use my phone (nokia 6820), this is what comes out:
after that, everything gets back to normal, and it adds an empty picture to my gallery. any ideas why?
btw, the “delete this picture” and your credit is not clickable on my site…
Fredrik Fahlstad
Ben:
It looks as you have some sort of permission problem. I will send you a new scritp for you to test. Please let me know how it goes.
rob
hey, hi i am a newbie in this all…where do i have to put the “fmblog_get_latest(x);” in? I mean in which file!
grettings
rob
Fredrik Fahlstad
Put this in your “sidebar.php” somewhere. But skip the “x” in fmoblog_get_latest(); OK.
rob
okay thanks i will try it…can i put a number instead of the “x” to set the numbers of pictures shown?
rob
ah next problem: the plugin “has no permissions to write” in the folders i created….but i put them both to 777! hows that???
Fredrik Fahlstad
Please download the fMoblog again and try, I have made some changes.
Mark a.k.a. The OX
Hi,
Just recently got into WordPress and have installed your plug-in which is so close to working………I hope. Resolved a number of problems but now stuck with the following, I have tried to debug the code as I have many years codig experience but not in PHP or the framework of WordPress.
The first problem is I am managing to connect to mail server to retrieve pictures but they are not getting processed fully. For example there were 2 messages to retrieve, both were processed as there were 2 entries in the wp_images table with subject that matched the e-mails. But there was only one image in the fmoblog_pictures folder and nothing in the fmoblog_thumbs.
Second problem but unsure if related I am getting the following message which is displayed at bottom of main page:
PHP Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in c:\Inetpub\wwwroot\wp-content\plugins\fmoblog.php on line 254
HELP PLEASE
Mark a.k.a. The OX
Hi again,
In trying to get this resolved I took your function create_thumbnail and hardcoded some values in a test.php as follows and ran it:
and that worked apart from the last line!!! But it took test.jpg and created a t_test.jpg thumbnail in thumbnails directory ok.
I have also noticed that the names of the images in the fmoblog_pictures folder are like follows 26cf4d06db34e7298de5480a2743b34c_1.jpg. But in the database like 11280410717154.jpg which implies they are not being renamed properly?
HELP AGAIN
Mark a.k.a. The OX
Ooops code did not appear prob because of the PHP tags, here it is again:
$original = imagecreatefromjpeg(”C:/Inetpub/wwwroot/wp-content/fmoblog_pictures/test.jpg”);
$twidth = 128;
$owidth = imagesx($original);
$oheight = imagesy($original);
$ratio = $owidth / $twidth;
$theight = $oheight / $ratio;
$thumbnail = imagecreatetruecolor($twidth, $theight);
imagecopyresampled($thumbnail, $original, 0, 0, 0, 0, $twidth, $theight, $owidth, $oheight);
imagejpeg($thumbnail, “C:/Inetpub/wwwroot/wp-content/fmoblog_thumbs/t_test.jpg”);
imagedestroy($original);
imagedestroy($thumbnail);
re(”Test”);
Dan
HI. What is the minimum permissions that need to be set on the fmoblog_pictures and fmoblog_thumbs?
Thanks.
Dan
Dan
I can’t get the sidebar to show photos. I’ve added
[?php fmoblog_get_latest; ?] (changing the end caps to ) but nothing shows. I’m putting that code in sidebar.php. Is there something I’m missing? Thanks.
Mark a.k.a. The OX
Hi Dan,
Sorry to use this to reply but it should be fmoblog_get_latest(); i.e. you’re missing the ()
Did you get your permissions sorted? I am still having problems with renaming the files, for example I have put the following line in a seperate php file:
rename(”wp-content/fmoblog_pictures/e11648c650b08784ee80473b17047143_1.jpg”,
“C:/Inetpub/wwwroot/wp-content/fmoblog_pictures/temp.jpg”);
but it gives the error:
PHP Warning:
rename(wp-content/fmoblog_pictures/e11648c650b08784ee80473b17047143_1.jpg,
wp-content/fmoblog_pictures/temp.jpg)
[function.rename]: Permission denied in wp-content\plugins\test.php on line 4
Despite setting ALL permissions correctly, I think!
Any help appreciated.
Regards
Mark
Fredrik Fahlstad
Mark: I have some idea what your problem could be. IIS servers use the rename function a little diffrent then Apache. I have made some changes in the script for this resason but I have no IIS to test on. I can send you the script for you to test.
Erica
# Create a page and press the fMoblog quicktag or manually input [!–fmoblog–] just change the [] to where you want the photos to appear.
Exactly what does that mean?
Fredrik Fahlstad
Erica:
It means that you go to wp-admin and create a page. Where you write your text write this [!--fmoblog--] change the [] for . I can not write as it should be, if I did a fmoblog would appear here in the comment.
OK?
Erica
Scratch that, I’ve got it, sort of.
Erica
no permission to write image. quitting … wp-content/fmoblog_pictures
Fredrik Fahlstad
You need write permission on those folders.
chmod 775.
Erica
i did that and still am getting that error.
Erica
i had to chmod to 777 to get it to work. thats not very secure is it?
deano
I have installed it but on my page it always says:
“No pictures this month, please check out the archives.”
I have e-mailed it about 5 times, but it never shows anything, any help would be great.
If anyone has yahoo messenger and can help, my name is: tkvisions
Cheers
deano
I am getting this now:
Warning: imap_open(): Couldn’t open stream {mail.ohwhatanight.info:110/pop3/notls}INBOX in /home/night/public_html/wp-content/plugins/fmoblog.php on line 128
could not connect to mailserver. quitting …
Fredrik Fahlstad
Have you set the update interval in WPadmin->options->fmoblog?
“could not connect to mailserver. quitting ‚Ķ” Exactly what it says, the email server do not respond try a little later.
deano
As a test i set the update intervals to 1 minunte.
Still doesnt worh though
Don Quixote
Everything seems to be going okay, but I too am getting the:
no permission to write image. quitting … wp-content/fmoblog_pictures
I’ve chmod to both 775 & 777 with no results. Any suggestions as to where else I might look to solve this problem?
Thanks again!
Travis
Great plug-in, works great. I was just wondering if there was a way to change the title “Latest in gallery” to something else?
Fredrik Fahlstad
Sure Travis check to fmoblog.php in line 337.
Travis
Thanks, worked wonderfully!!!
Travis
He Fred, had another question. Was wondering if there was a way to add a description to the pictures after you post them?
Don Quixote
Just a note - I solved my problem.
Your script is hard coded so that if someone has their wp-content folder somewhere other than http://www.theirsite.com/wp-content/ they will get that error.
Travis
He Fred, had another question. Was wondering if there was a way to add a description to the pictures after you post them?
Jordy
Hello.
I’ve installed fmoblog.
Almost everything works. But all “fmoblog pages and foto’s” are having the link:
http://www.myweblog.com/II This is my weblog II/wp-content/fmoblog_pictures/test.jpg
This “II This is my weblog II” appears everywhere. Only my “front-fmoblog” page is ok (http://www.myweblog.com/index.php?page_id=10)
How, and where can I remove the title of my weblog, so that my links will work properly?
Thanks very very much !!
Greetz from Holland
Brian
what would be cool is a function that the user can show a specific image in a post with a [!-–fmoblog_imgXX–-] and have that image show.
Fredrik Fahlstad
Brian-
That’s a good idea.
Harry
I am using your great plug-in at http://mblog247.com/
I want to have a VERY SIMPLE index page for cellphone browswers so I created a cell directory and placed both a html and a php index page in this folder. SO you can visit either
http://mblog247.com/cell/index.html or
http://mblog247.com/cell/index.php
EVEN if its hardwired code - can someone tell me what will the http://mblog247.com/cell/index.php page need to get rid of that error?
thanks
Harry
Fredrik Fahlstad
Harry-
I guess that you have the cell folder outside your wordpress installation and therefore the function cannot be found. The plugin requires that the script that requests the functions are inside the wp-installation.
Jeff
Great plugin! While I’m a complete newbie at blogs and am just getting my first one set up, I’ve had no problems installing plugins. I think I’ve set your’s up correctly - it appears in both the sidebar and on a page, the only problem that I’m having is that no pictures show up (a minor detail)! I’m not seeing any error messages and it appears as if the pictures I am sending to the e-mail account are being received and then collected by fMoblog. After that, they just seem to disappear entirely. I installed ExecPHP too and that seems to be working just fine. Any other ideas?
Thanks!
Fredrik Fahlstad
Jeff-
Thanks, It would make debugging much easier for me if you could provide me with a link to your blog so I can see it for myself.
Jeff
Wow, that was fast!
The blog is located at:
http://www.bassoonman.com/blog
Fredrik Fahlstad
Jeff-
You should put [!--fmoblog--] on a page of it’s own and not in the sidebar.
You shold put [?php fmoblog_get_latest(); ?] in the sidebar.
Jeff
Thanks! I’ll try that.
Jeff
Brian
Fredrik, thanks for the update! I’ve modified the code to allow a user to pass in the imageID instead of a filename to show a single image. Makes it a bit easier now, since I don’t have to remember filenames, just get hte ID from the Pages that was created in step 8 of the installation process.
George
Fredrik, Travis had a good question. Is there a way to add descriptions to pictures from your blog instead of your phone?
maxim matthew
hi fredrik. I lloked for a lot of days for an solution.
and I think your one is the best for my work.
I have two questions.
first: I have installed runPHP and execPHP. also i installed yor script. I installed open_imap, I have the mail account.
great. It works.
I send an mail. It will automaticly drop in the folder fmoblog_pictures & fmoblog_thumbs. It will show in the sidebar in “Latest from my moblog”.
but the overview page. nothing will happen.
what is going wrong ?
question 2:
is there an other way to send images to yor script without email ?
I like to have an gallery under ech normal post.
I am a photograher. and i wan’ to write about each shooting and want to show some pics like you do with your script.
please help.
kind regards
maxim
peter
[Your host do not support the imap_open function in their PHP-installation.]
So do they have to switch something on to get it going
http://mightysplace.com/wordpress/
Fredrik Fahlstad
peter-
Yes they do need to switch something on.
peter
Hi Fredrik looks like i cant do it, this is the reply i got from my host [ Unfortunately that script is not supported at this time. I would recommend using a system that does not require IMAP access to the mail servers.]
Henrik
Hi! I have set up fMoblog at my blog, but it does not seem to work. I have tried to post to it several times, but nothing appears. Can you give me any pointers to what I can try?
Fredrik Fahlstad
No error messages?
1. Do you have the correct setup for your email server?
2. Check the update interval in admin->options->fmoblog.
3. Are you attaching the images in ther email message? No inline images.
Please read the FAQ.
Henrik
1. Yes.
2. I have changed it several times, but it does not seem to help.
3. Yes. I have tried sending the pictures as MMS and email from my phone. I am not sure how the phone handles pictures in MMS, but I know they are acting as attachments when sending email.
Are there any ways to find out if the script runs or not (like a debugging tool)?
Henrik
The problem was that the server didn’t have imap_open installed. So even though I think I know the answer to this question, but is it possible to use the moblog without using imap_open, or by using some other function?
Travis
Fred,
Great addition to v2.0!! I love the description addition!! Also, I saw the faq that the picture has to be an attachment. I’ve included my pictures in the message itself many times and it was added to my moblog. Just wanted to say THANKS.
Fredrik Fahlstad
Travis-
Thanks, yes it does work with inline too but it’s not what I recommend.
Jan Houer
Hi Fred,
I use your plugin to send pics from my pocketpc. therefore i soon asked myself the question if your code allows to attach multiple images to the mail?
I tried to do that but only the first one showed up.
Maybee it might be something for the next version?
We could e.g. seperate the descriptions and titles like this:
#1# Description Image 1 #1#
#2# Description Image 2 #2#
Anyway thx for this great plugin which it already is at this time!
Fredrik Fahlstad
Jan-
Yes the plugin can only manage one picture at a time. And yes i’ts a very good idea for the next release. Thanks.
neil
Hi,
I am testing out your plugin at the above address and have not been able to retrieve an uploaded picture although I know that the email has arrived at the specified address.
I just get the ”no pictures this month message”.
What could I be doing wrong?
Fredrik Fahlstad
neil-
Please read the install section above at #8. The fMoblog must be on a page, not in a post.
neil
OK,
I have made a page but I still am unable to get any photos to show.
I have checked folder permissions.
My host runs imap_open.
Any clues?
Neil
existentia
[...] Okay, this is almost certainly going to get me into trouble at some point but I like this because it’s neat. I’ve just added the quite excellent fMobLog plug-in for WordPress which now allows me to e-mail photos I take with my camera phone directly to this web site so they appear to the right of this very post - automatically. As I have a habit of only taking very dubious photos with my camera phone then I can only being to imagine the chaos and wonder that will result when people discover that the photos I’m taking are ending up on this very web site. Enjoy. [...]
RHO
I really like your Plugin, Thank you! I use it for mi minidigitalcamera pics. I have just one question.
Is there a way to put a commentform under the pics, so that visitors can comment pictures. I mean a commentbox for every single picture, not for the whole fmoblog.
thanx
Fredrik Fahlstad
RHO-
No not at the moment.
RHO
Thank you!
Hi!!
Hi!! I have tested your plugin, and it’s great!! But I’m having some problem with adding description to my pictures. I¬¥m writing some text in the body ,#some text#, but only the image is showing up, any suggestions?
I’m using my SonyEricsson 750i.
ken
Hi. Thank you fot the great plugin.
I got a question. Is it possibe to run the fMoblog if the IMAP server is different from the php server?
My host server does not support IMAP but my ISP supports it. Do I have to resign this awsome plugin?
Fredrik Fahlstad
ken-
No I’m sorry it is not possible, fMoblog require that PHP support IMAP.
Dave Berzins
Hello.
Thanks for the plugin. So far so good. But I do have one issue I can’t figure out.
I am new to WordPress and I have the plugin installed and working (grabs pics, etc), and in-fact I have the sidebar working as well. But when you click on the small pictures it is trying to open http://domainame.com/?page_id=&id=2, which for me opens the main site. Now I tried to make a page with the [!-fmoblog->] tag on it, but it just displays the tag when you go to that page.
So I guess my question is how do you get the small picture links to bring up the larger image? I know it’s something small I just can’t get it yet. Ideas anyone? Thanks!
Dave…
Dave Berzins
Ok well scratch the last question, just figured it out.
Fredrik Fahlstad
Dave Berzins-
The tag is
Jason
Hello,
Downloaded your plugin. Got it to display on the sidebar and it is uploading files. 2 problems I’m having. First let me say, I’m quite the novice @ this, still learning things, I’m a graphic designer so I have SOME exp @ web.
1). when the photos show in the sidebar… it creates a HUGE gap between the photos and my “archives” section… any ideas on how to eliminate that?
2). I’m having difficulty with the page… do I put inside the body of the page? I assume when you said create a page, you meant to create a new page from WP?
Any help would be greatly appreciated… I’ve tried other MOBLOG plugins and I have to say yours is thus far, very easy.
Many Thanks and Kind Regards,
Jason
Fredrik Fahlstad
Jason-
On some themes you must put the fmoblog_latest() inside
tags.
Jason
Tried that… I got the page to finally work. But, however, I still have a huge gap if I place the fmoblog_latest before the “archives” or any other list. If I place it @ the bottom, it’s fine. But, I would like to have it @ the top… the “li” tag you told me to use didn’t help. *scratches head*
Thanks
Jason
Jo
There’s a file called fmoblog-manage.php in your installation package. What do we do with that???
Jo
managed to find out where managa.php goes… but i’m getting a fatal error Fatal error: Call to undefined function: get_option()
Asda
I’m getting the same problem. I put the fmoblog-manage.php into my admin folder. So the fmoblog manage function does work.
Any idea’s?
v.nice plug in btw!!!
fri
hi, i seem to have a problem with permissions, it says something like ‘cannot write to wp-content/fmoblog, then when i refresh the message goes away. both folders are set to 755. also on the gallery page when i wrote the code, it just shows as text, no pics. sure its a dumb mistake from me but any info appreciated. ta.
Fredrik Fahlstad
fri-
Try to change the
Asda
edit ->
So the fmoblog manage function doesn’t work.
Fredrik Fahlstad
All files should be in the plugin directory.
Asda
Yep thats works
Cheers for your help
fri
thanks for teh reply, seems to make no difference. i’ve just pasted the snip into the main page body is that right?! also it hangs the root page and the gallery page with a write-permissions error… should i change the entire wp-content to 755?
thanks for any help
http://taotonic.com/gallery/
hoyter
hey I have been messing with your plugin and finally got it to pull email from my account. The only problem is when I go to gallery it displays
“Fatal error: Call to undefined function imagecreatefromjpeg() in (mywebroothere)\wp-content\plugins\fmoblog.php on line 30″
and the image is posted again every time I refresh the page. and it shows only the little x for a placeholder. the picture is there as i can click on it though.
thanks for any help you can give
hoyter
hoyter.net
hoyter
just an edit.
it appears that it is pulling the pictures correctly, it is not creatign the thumbnails though as there is nothing in the thumb folder
hoyter
sorry for all the commenting
I found i was running 1.3 so i downloaded the new version 2.1? and it is still giving me the same issues but a few more. now it is still showing the little x instead of the thumb nail but the thumbnail no longer links to the full size picture
when I go to the manage page and try to upload an file i get
“Warning: unlink(../wp-content/fmoblog_thumbs/t_113368723655.jpg) [function.unlink]: No such file or directory in c:\Hoyter.net\wp-content\plugins\fmoblog-manage.php on line 104″
and when I try to delete and image, it deletes it from the list but gives me ”
Warning: unlink(../wp-content/fmoblog_pictures.jpg) [function.unlink]: No such file or directory in c:\Hoyter.net\wp-content\plugins\fmoblog-manage.php on line 103
Warning: unlink(../wp-content/fmoblog_thumbs/t_.jpg) [function.unlink]: No such file or directory in c:\Hoyter.net\wp-content\plugins\fmoblog-manage.php on line 104
Fredrik Fahlstad
hoyter-
It sounds to me that you don’t have the GD image library in your PHP installation.
Daron
I just discovered your great plugin but for some reason i can’t get pics to show (http://www.nyportfolio.com)
One other stupid question…in the mailserver setup…should it be the imap..pop or smtp address? I tried them all and I can’t get it to work…thanks!
D
elisanobe.net » Blog Archive » moBlog is here
[...] I added a mobile blog, moBlog (or a gallery of my mobile images) and you can find it on the sidebar under Pages. I’m using a self modified WordPress plug-in called fMoblog which is a fantastic plug-in that enables you to post mobile images via e-mail or through your WP Admin interface. [...]
my weblog » no mo-bloggin’
[...] I tried to setup fmoblog but it requires the imap_open PHP function. I sent a little support inquiry and was told it’s not enabled for security reasons. Boo. Anyone know of a good moblogging plugin that doesn’t require imap_open? [...]
Ainslee Hooper
Hi, i’ve installed fmoblog. As you can see, the image doesn’t seem to show up. This is an image I emailed rather than MMS. With MMS for some reason it doesn’t grab the file from the server. I logged into webmail and it’s still sitting there. The file is as an attachment. Thanks in advance, Ainslee
thomas m.
love the script… but one little problem (prob not but its worth a try right?)
so ive looked around and cant find any information regarding my issue.
i can successfully email myself images and they do display on a page. but is there anyway i can have it create a new post on the frontpage with that one image?
please help me solve my problem! thank you very kindly in advance… tom.
btw: links.
script dir: http://infinitetwo.com/blog_alone/
page file: http://infinitetwo.com/blog_alone/?page_id=68
thomas m.
love the script… one little issue though.
ive looked around the site and googled my problem but cant find anything. please help.
i want to display the picture i send as a post and not just one one page. how can this be done?
please let me know, thank you in advance…
btw: links…
blog dir: http://infinitetwo.com/blog_alone/
page file: http://infinitetwo.com/blog_alone/?page_id=68
Notes of Future Master » Backup Mysql Database
[...] „ÇDŽŮ„ÇDŽŮ„ÅØ„Åì„ÅÆ„ÄÅ”WP-DBManager 1.00 ÔºàDatabase Manager For WordPressԺⓄŮ„ÅÑ„ÅÜ„Éó„É©„Ç?„ǧ„É?„ÇífMoblog„Å®„ÅÑ„Å܄ɢ„Éñ„É?„Ç?„Éó„É©„Ç?„ǧ„É?Ôºà„Åì„Çå„ÅØÁµê±ÄIMAP„ÅÆ‰?øÁî®Áí?¢ɄÅ߉?ø„Åà„Å™„Åã„Å£„Åü„ÅåÔºâ„ÇíÂ?éÂÖ•„Åó„ÅüÈöõ„Å´„ÄÅÂêåÊôDŽŴ‰?ø„Å£„Ŷ„ÅÑ„Åü„ÄÇ„Åß„ÇÇ„Äʼn?ï„ÅÆ„Åü„ÇńŴ„ÅÇ„Çã„ÅÆ„Åã„Ű„Å£„Å®„ÇÇËߣ„Çâ„Å™„ÅÑ„Åß„ÅÑ„Åü„ÄÇ [...]
..::RHOblog::.. » Welches MoBlog Script?
[...] Den fMoblog hab ich beim MiDiCa-Blog benutzt und auch das ist eigentlich nicht was ich suche. Dieser hat zwar die gew?ºnschte Thumbnail Gallery, jedoch nur Kommentarm??glichkeit unter allen Fotos und nicht f?ºr jedes einzelne,… . [...]
DoverGeek
Hey Fredrik, I just reinstalled fmoblog on my WP 2.0 install. Plugin activated and I was able to successfully upload the image, but I can not get the page created. I added the required page tag, but it seems to ignore it with the new editor. Got any suggestions?
DoverGeek
Hey what do I need to do in order to get my sidebar.php and gallery pages to have the same size thumbnails with different proportions of course? Exactly like it is here.
Juan Antonio
Could you implement this on next versions ?
http://www.huddletogether.com/projects/lightbox/
Blogging Pro China » Blog Archive » WordPress Plugin: fMoblog
[...] „ÄÄ„ÄÄ fMoblogÔºåÂèØ‰ª•ËÆ©ÊâãÊú?Áõ¥Êé•ÂèëÈÄÅÂõæÁâáÂà?Blog‰?äÔºåËá™Âä®ÁîüÊàêÁº©Áï•ÂõæÂ??‰?îÂ?íÁ±ªÔºåÂæàÈÄÇÂêàmoblog„ÄÇ mobile moblog ÊâãÊú? [...]
Fredrik Fahlstad
Juan Antonio-
I could sure do that.. if I could find a reason.
Stian H
Is there an update for WordPress 2 on the way?
DoverGeek
In regards to: “Hey what do I need to do in order to get my sidebar.php and gallery pages to have the same size thumbnails with different proportions of course? Exactly like it is here”
It looks like all your images were of the same size when they were uploaded to the fmoblog. Is there a parser called to resize the images once fmoblog takes them, or does it only reduce by a percentage of the original when it creates a thumbnail? Reason i’m asking, I just want to know if I should keep all my fmoblog stuff at the same size so that I have a neat presentation on my sidebar and fmoblog page.
Fredrik Fahlstad
Yes I do upload the images with the same witdh height ratio.
Juan Antonio
Well I do not know if you will find a reason
but making the script more customizable to be use for all the “fans” is not a bad idea… I like the way that script shows it in big resolution
You are not attach to the height/weight desing on the WP theme…
Eric
Don’t you think you should give the original author of the actual imap/pop3 program the credit? Semsi or simse was the original name from whence the code came (even the same variables are used)
Eric
You should really give credit to the original simsi author. If you don’t, I will expose you on the wordpress forum.
tom mcginn
first i must say that this is an awesome idea. some parts broke, missing… after a while i decided to mod it… and have done so quite a bit so far.
if anyone is interested my blog url is :
http://infinitetwo.com/getmegone/
example of post here :
http://infinitetwo.com/getmegone/01-20-2006/Buy-My-Car-Please/
what i changed was the posting to a page, i made it as a post instead. also adds it to a category and all that jazz…
most of the backend php code is direct with my server information. some rather. i will add config options as a menu so everyone can use it like i am.
(Fredrik Fahlstad: if you want to see what i have mod’ed ill send you a copy first. dont want to step on anyones toes here)
Fredrik Fahlstad
tom mcginn-
Cool, you may change as much as you like. I’m glad it’s a handy plugin.
Mal
Is there a way to get this to work with SprintPCS phones?
Fredrik Fahlstad
Mal-
I’m sorry but I have no idea.
Sandbox Education » Blog Archive » WordPress Plugins Database
[...] * Author: Fredrik Fahlstad * Plugin Site: http://www.fahlstad.se/wordpress/plugins/fmoblog * Author Site: http://www.fahlstad.se * Compatibility: WP 1.5 * License: GPL * Download URL: http://www.fahlstad.se/wp-content/downloads/fmoblog_1_3.zip [...]
Sandbox Education » Blog Archive » Tutorial: fMoblog
[...] Fahlstad.se » fMoblog fMoblog is a moblog plugin for Wordpress 1.5.x which enables the user to post images and a description from a cell phone. Pictures can also be uploaded by email. Creation of thumbnails is automatic and the image are displayed in a image gallery sorted by month. A dropdown list makes it easy to change month to display. Please check out my own moblog for a demo. fMoblog is valid XHTML. [...]
Beller
Hello,
This seems to be a great plugin for WP. But, I’m having some trouble setting it up.
When I try to upload through the WP admin I get the following error:
Warning: move_uploaded_file(../wp-content/fmoblog_pictures/greenaaron.jpg): failed to open stream: Permission denied in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 71
Warning: move_uploaded_file(): Unable to move ‘/tmp/phppl5h7t’ to ‘../wp-content/fmoblog_pictures/greenaaron.jpg’ in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 71
ERROR: Unable to upload file.
Warning: imagecreatefromjpeg(../wp-content/fmoblog_pictures/.jpg): failed to open stream: No such file or directory in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 23
Warning: imagesx(): supplied argument is not a valid Image resource in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 25
Warning: imagesy(): supplied argument is not a valid Image resource in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 26
Warning: Division by zero in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 28
Warning: imagecreatetruecolor(): Invalid image dimensions in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 29
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 30
Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 31
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 32
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 33
Warning: imagecreatefromjpeg(../wp-content/fmoblog_pictures/.jpg): failed to open stream: No such file or directory in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 40
Warning: imagesx(): supplied argument is not a valid Image resource in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 43
Warning: imagesy(): supplied argument is not a valid Image resource in /home/doughboy/aspears-www/asBlog/wp-content/plugins/fmoblog-manage.php on line 44
Fredrik Fahlstad
Beller-
Change the permission for the upload folders to 755.
Beller
I did. I Ftp’d to my site through the terminal and ran the chmod command. Chmod 755 . Do i have to do the whole wp-content directory? Thanks for the quick response
Fredrik Fahlstad
Beller-
No just set permission on fmoblog_thumbs and fmoblog_pictures. All this can be found in the installing and FAQ above.
jake
i have installed fmoblog on a site http://www.tonybatman.com
and it used to work just fine then one day the images stopped being “clickable” (i can still upload and see the thumbs)
..i have evne tried switching themes and added the code but cannot seem to get it back the way it was (perfect).
any suggestions?
jake
never mind i fixed it…
my stupid mistake
its late i am tired …sorry for the post
www.jammo.net » fmoblog
[...] http://www.fahlstad.se/wordpress/plugins/fmoblog/ [...]
mark
Has anyone been able to successfully get INLINE image in MMS messages to save using imap_open?
fri
worked out the initial problem was a gallery2 installation and calling the fMoblog page gallery…
now its uploading pics from ‘manage’ in wordpress2 but say if I upload an image called cmb125.jpg with a title ‘tester’ then in the online ‘fmoblog_pictures’ folder it appears as ‘11401533374961.jpg’ and doesnt come up on the display page at all. meanwhile if i try to delete the image from the manage section, it gives the errors: ‘Warning: unlink(../wp-content/fmoblog_pictures11401533374961.jpg): No such file or directory in /home/taotonic/public_html/wp-content/plugins/fmoblog-manage.php on line 103′. is it missing a ‘/’ after the fmoblog_pictures’ folder or sth? any suggestions appreciated…
team » Blog Archive » Ressources
[...] Galerie photo fmoblog [...]
Henrik
I have installed fmoblog and I get no errors, but it does not seem the script checks the email. Any pointers to what I can try to make it work?
Spacecaptain
tried everything, installed the plugin, activated it, set up a dedicated email account, created the page etc.
when I send an email to this account, it shows up there (as planned) but then the plugin grabs the email (also as planned) and sends it into nirvana (NOT as planned) - no traces in any of the created directories and (of course) not on the wordpress page as well.
not a single image ever made it to the page, which can be found under “Fotos von unterwegs”.
Any idea?
Thanks for your help!
Spacecaptain
Addendum: Direct upload via Wordpress/Manage works great, but it seems that everything sent by mail is considered not to originate from $ALLOWED_SENDERS (which is currently set to @).
Please advise.
Fredrik Fahlstad
Spacecaptain-
Please download again, I have made some changes.
Spacecaptain
Fredrik,
thanks for the update, unfortunately it still does not work. I don’t get any error messages (and manual upload using WordPress/manage still works well), but all emails sent to the “secret” account dissapear.
It seems that your plugin checks the account, and then deletes the whole email without processing it. I know that the email reaches the account (because I have set up a automatic CC: for this account to another account for testing purposes). Image is attached (no inline) and everything seems to be ok, except that the images do not show up on the WordPress page.
Does your script inlude some check for allowed senders? If yes, can I switch it off?
My WordPress installation is completey standard, no other paths, just a few translation changes.
Thank you for your kind help.
Spacecaptain
By the way, I am running WordPress 1.5.2
Giles
Hi Fredrik
Your moblog rocks. All i would like to ask is if there is anyway for the pictures to be resized, as the full pics currently are too big for my main page and cover up the side bar. Any ideas?
Chris
I have a quick question. I’m setting up a WP2 blog and am interested in this plugin. Reading through the installation instructions I came across “Please consider that running PHP code within posts is a security risk.”
Isn’t WordPress running php within posts all the time? Would this script be any less secure than using PHP to pull data from SQL? Sorry if this is so simple that its eluding me, I’m just trying to understand if I’m opening any security holes with this plugin.
Thanks in advance.
rocking amigo » Blog Archiv » Fahlstad.se ¬ª fMoblog
[...] Hab auf fahlstad.se ein sehr interessantes Mobblog-Script entdeckt, muss ich demn?§chst mal ausprobieren: Fahlstad.se ¬ª fMoblog [...]
John Vanderbeck
I’m having the same problem as spacecaptain. The email gets sent from my phone fine, shows up in the email fine, is retrieved from the email fine bt fMoblog, deleted from the email server, but no image ever gets added to fMoblog. Adding an image manually through the manage function works fine.
John Vanderbeck
Well i’m not certain, but based on what i’m seeing through trial and error with heavy use of debug statements, fMoblog simply doiesn’t work properly with how my phone sends picture mail. My provider is Sprint and i’m using a Samsung a900 phone. It works fine with Flickr but doesn’t seem to work here. I’d much rather use fMoblog if theres anyway to get it working, but for now it looks like i’ll have to go back to Flickr
John Vanderbeck
Sorry to flood the comments but wanted to let you know what I found. In the end what I found was the problem was the way the Sprint picture mail works. The image is NOT attached, but rather an HTML email is sent to the email address containing a standard img src markup tag pointing to the image on the Sprint Picture Mail website. Hence the reason fMoblog doesn’t parse it properly.
I’ve pretty much totally rewritten the mail handling code in fMoblog, and I still have more code to write to handle descriptions properly, but I do now have it working on Sprint picture mail. Its very specific to Sprint picture mail though so won’t work on anythign else. However if there is anyone else out there who uses Sprint, i’d be more than happy to share the code with Fredrik.
Moose
Hey Fredrik….
I installed this today.. and everything seems to work ok except 2 things…..
one… the descriptions don’t show when I email from my phone… I put everything between # signs and still nothing….
two… I can’t get my sidebar to show the latest image… I put in the code [?php fmoblog_get_latest; ?] in my sidebar.php.. but it seems to not be working…. and I did put in the runPHP plugin and made sure the runPHP box is checked in the page I created… any ideas?
Lars
An excellent plugin!…however, I am facing one problem. As far as I can see, it has not been brought up in the communciation above. The first and second time I sent to my blog (from a Nokia phone) appeared perfectly correct. After that, nomatter what I try, it will not update with additional images. I originally used RunPHP and has now installed ExecPHP, but with the same result. I do not know if my provider supports imap_open () , but considering it worked at first, I presume they do. There are no signs of error, just no updates to the moblog page. Would greatly appreciate your comments.
Nissse
Does the moblog work with the newst Wordpress 2.0.2?
Chris
Hello,
I’m a huge moblog fan and i always wanted to have one for my own. So i installed fmoblog and set the permissions for the folders. But still i get de message “no permission to write image. quitting … wp-content/fmoblog_pictures”. What can it be? Where can i fix the problem? In fmoblog-manage.php, change the $PICTURE_FOLDER = ..//wp-content/fmoblog_pictures/? My weblog is in de following path: weblog/wordpress/wp-content/fmoblog_pictures.
Thank u!
Chris
Fredrik Fahlstad
Chris-
Check your permissoin again, some ftp programs doesn’t get it right.
The path is correct, perhaps your webhotell does not allow these kind of file manupulations. Check with them.
Chris
Fredrik
I Checked the permissions and tried another program but the problem is still:
Warning: unlink(../wp-content/fmoblog_pictures/.jpg): No such file or directory in /www/nl.klicked/public_html/weblog/wordpress/wp-content/plugins/fmoblog-manage.php on line 103
Warning: unlink(../wp-content/fmoblog_thumbs/t_.jpg): No such file or directory in /www/nl.klicked/public_html/weblog/wordpress/wp-content/plugins/fmoblog-manage.php on line 104
This is when i delete a file in the fmoblog admin. When i trie to uload the file it says upload succesful. In the frontend i get de same error with the permissions.. en no image. Same story with sending with my mobile.
adam
Great plugin! Got it installed, the images are showing up in the side bar, though Im having the same problem as Chris was last October. When I click on a thumbnail from the sidebar it goes to the blog homepage. I have setup a page for the moblog and put in . Im sure Im missing a really simple step, but I just cant figure it out.
If anyone has any advice, Id love to hear it!
Thanks again for this great pluin!
adam
whoops, above I wanted to say I have added the less than exclamation dash dash fmoblog dash dash greater than piece of code.
khaosx » Blog Archive » Couple of changes on the website…and some more upcoming.
[...] I’ve upgraded Wordpress to version 2.02, and all is working great. I’ve ditched rumgallery in favor of fGallery, as it seems more stable, and more recently worked on. Fredrik helped me out by modifiying some CSS problems, and all is happy! Additionally, I’ve started using fMoblog to manage photos I take on the road with my cell phone. Pretty neat stuff. Also, alas, the digg script in the sidebar is gone. [...]
Patrik
Hi!
After a little bit of tinkering i got your plugin to work. Love it!
But im missing a feature. I would like to have my moblog posts to be posted in my blog as a standard post, and that you could choose in wich category the moblog post should fall under.
Hope you understand my thoughts. Im not that good at english. Maybe we shoud discuss it in swedish
regards
/Patrik
Knapste
Hi !
I’m having a few problems aligning the latest thumbnail, I would like to align it to the right, but it keeps coming up in the centre
Can you help!?
If you look at my site you’ll know what I mean, I want it to look like a Polaroid picture
Regards
Nap
Saran
ermm.. i tried everything.. all i get when i upload image from.. the wpadmin -manage- fmoblog is
ERROR: Unable to upload file.
Thats all?? i dont get it why.. i followed exactly as the instruction said..
plz help..
Fredrik Fahlstad
Saran-
First of all you have
on your fMoblog page, this is wrong it should say
. Check permissions on your folders.
Tech^CF
Thanks! Better than running Gallery with integration plugin for my use.
Some install trouble for me: Crashed during activate, caused by wp-admin/upgrade*.php was deleted.
And why would anyone do that? I thought I was beeing safer when deleting files I thought was only used to upgrade to 2.x
maxim matthew
hi fredrik,
its me again
the one who want to change so much on your script.
what I try to whant is to send .3gp video files via mail to the script.
I have a good quicktime embed code to display the files on a website.
I failed to mofify the script.
I replace all .jpg with .3gp
replace the img tag with the embed tag.
the big problem ist the automatic thumbnail and rezise function.
do you see a way to modify the script for using it with video files ?
kind regards from germany
maxim
Kristian Moon
I installed the plugin, but I don’t get any response.
The page only shows “No pictures this month, please check out the archives.”
I tried to write a wrong mailserver address, but I don’t even get an error message.
Kristian Moon
small info update: I tried to put an echo in the function fmoblog_getmail() and it doesn’t print out. Seems that it doesn’t run the function at all…
fri
Is this plugin not working for anyone else in the new wp update?
In the plugins page it seems to fill the screen with the plugin code, although it seems to still pump out the pictures.
Jeremy
I also would like to integrate Lightbox into this excellent moblog software. I’m using the Lightbox plugin for WP that automatically changes all links to images to Lightbox popups.
All I need to make this work is for the thumbnails to link directly to their full size counterparts. I have been tinkering with the PHP, but I can’t figure it out. Is this harder than it seems? Any help is appreciated.
Great work, Fredrik. Really love your stuff.