View Full Version : One upset blogger...deleted entry
Fellow Eskimo
08-16-2006, 06:56 PM
I wrote an entry for half an hour...and I forgot to title my image. The result?
Missing data
You need at least a title for your image, and an image. Please note, that no image was uploaded because of the missing information!
And, no entry was uploaded. And it was gone. Damn it. Is this a bug or a life long annoyance?
Connie
08-16-2006, 08:18 PM
hi, which browser are you using?
because I remember I did not loose the text when that happened to me..
but I must admit also that I write only short texts ;=)
This isnt a bug. We must think about this issue.
I had same situation few times till today.
jaywilliams
08-25-2006, 12:03 AM
It wouldn't be too difficult to echo the form fields back into the form would it?
Even if you only echo back the description and title, that would solve the problem. (just make sure you clean the vars before echoing them back. You don't want them to break the form fields.) ;-)
jdleung
08-25-2006, 01:58 AM
in any form, I always copy what I write before press "submit". ;)
this happens to me frequently... i am too lazy to copy. :)
would be a great idea to keep the data intact for when you need to reenter the title or something like that.
Dennis
08-28-2006, 07:06 AM
Geos: perhaps I'm going in to too much detail here but it can be quite easily fixed.
Posting is done through a form which saves the variables. If upon checking some contents are missing display the form again with the contents of the variables. I've made similar solutions and I'm willing to help with it.
Second that there should be an easy solution, I think all you need to do is add a "value" field to the form.
So:
<input type="text" name="headline" style="width:450px;" />
becomes:
<input type="text" name="headline" style="width:450px;" value="<?php print $_POST[headline] ?>"/>
Not sure how form handling is done, but if the same new image page is loaded after an image is post, just need to blank out all the values used in the form on image upload success.
It is in my todo list. Ill add it in near future (when Ill get time to do something more and go sleep earlier then 2AM).
OK,
this feature is added to CVS version.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.