TDO Mini Forms v0.8 avaliable - Now with Upload, Categories and Tags!
Yep. Last night I made version 0.8 of TDO Mini Forms (a Wordpress Plugin) available (download it now from Wordpress.org). It contains a major new feature, the ability to upload files. I’ve promised this a while, so I’m glad to finally be able to deliver it. I also sneaked into two other new features; tagging and some category support.
The category support currently only allows a user to select one category not several. It’s a start. Allowing a user to select more than one requires creating my own internal version of wp_dropdown_categories(). This way I was able to release “something”.
I hope the new upload feature does what people need. If it doesn’t, please tell me. Uploading works like this. BTW the storage area should be somewhere not public, TDO Mini Forms will control who can download file. This is to prevent your site from becoming the next illegal file-sharing site without you know.
A user must first upload files before submission. These files are stored in a temporary directory, normally under either their username or IP (if not logged in). If they are not moved in an hour, they will be deleted. Once the files are uploaded, the user can then submit his post where they get moved out of the temporary directory and into another directory for that post. If the post is deleted, so are the files. There is little or no management required to handle uploads. Files associated with a post that is draft (not approved) can only be downloaded by the admins (so they can preview the content). Once the post is published (approved) the files can be downloaded by everyone. The Upload Files widget also gives a number of options. Files can be automatically added as links or images to the post content. They can also optionally be added as a Wordpress attachment to the post or the link can be added as a Custom Field. I also added an option to allow a command to be run, once the file is claimed for a post. You could use this to run a virus scanner automatically for example. I was using the unix command “stat” to get more detailed info about the file. The command output gets added to the admin email automatically. You can see it in action on the demo site!
I plan to take a little break from TDO Mini Forms. I have another project I need to get back to (Reboot!) and right now with our four month old baby and our demanding three year old toddler, it’s the best I can do to support one personal project at a time. However, if there are bugs or other fixes required, I will release new versions as appropriate. Of course, if you feel like donating you can help encouraging me back (but do note, I’m doing this plugin for free anyway).
What’s next for TDO Mini Forms? More widgets I think. Improvements for existing widgets like quicktags for post content and selecting multiple categories. New widgets like URL submission and Custom Fields. Any and all ideas are welcome (just drop a comment or head over to the forum).
This is my current TODO list.
- Allow moderators append a message to the approved/rejected notification
- Allow admins to modify messages to user for…
- Submitted post awaiting moderation
- Submitted post automatically published
- Banned IP, Banned user and other insufficient privileges messages
- Multiple copies of the same widget - not applicable to all widgets but a generic widget, say like a descriptive text, this would be very useful.
- Widget Manager Menu
- Info about loaded widgets
- Disable loaded widgets?
- Add/select custom styles for form
- Multiple form support - some day, in the far future…
- Edit post support - actually quite possible though how to support unregistered users?
- AJAX support - maybe not
- Spam Protection - integration with Aksimet? This will only cover post-content though. Is spam a problem yet?
- Force Preview - user must preview first before submission
- Allow newly submitted posts be set to “Post ready for review” (Wordpress 2.3 feature) or alternatively also include “Post ready for review” in the moderation screens too.
- A “manage download” menu (like manage users and IPs)
- Some general improvements on widgets including documentation on creating your own.
Anything in particular you’d like to see? Ideas? feedback?
Administrator
November 15th, 2008 at 9:54 pm
What do you mean? Besides the standard automatic upgrade that Wordpress 2.6 provides?
Guest
November 12th, 2008 at 11:42 pm
Hi
Is there an automatic upgrade available?
I am extremely interested in posts including website urls.
PS, TDO Mini Forms is a very userfriendly wordpress plugin
Guest
November 6th, 2007 at 1:37 pm
It must have been the PC I was using, because I tried dragging and dropping it there and it wouldn’t budge, but when i came to this pc it moved as expected. Thanks for the help and the plugin, appreciate it, I’ll be sure to follow its development.
Administrator
November 5th, 2007 at 12:25 pm
Hi Jason,
I don’t know. Can you not just drag it off and place it in the Widget Pool area? Failing that, you can always go to the uninstall option (just options, not the full install and please use 0.9.1 first as 0.8 has a bug about uninstall) then recreate your form on the Widgets page. “Upload Files” should not be included by default on the form.
Guest
November 4th, 2007 at 2:06 am
I can’t get the file upload option to come off in the widgets area… i don’t want file uploads to be available but it won’t come off the form, any ideas?
Administrator
November 2nd, 2007 at 6:28 pm
Hi Adam, your comment wasn’t lost. It’s just that WP-Cache can take a few seconds before allowing the comment to appear. I can certainly see a long comment by you right now.
The “tdomf-upload-functions.php” file mentioned in the log should have zero impact. I see the same error and have fixed it in the upcoming release of TDOMF.
How so? What steps do you take to reproduce it? BTW you can try creating an account on the demo site and seeing if the same steps reproduce it.
I’ll drop you a mail early next week about it. I have your eamil address from the comments.
Guest
November 2nd, 2007 at 5:35 pm
I just wrote out a rather lengthy response to you mark, but it seems to have been lost to the ether of cyberspace. Long story short: still not working
Guest
November 2nd, 2007 at 5:28 pm
“The image you posted, thats from the Wordpress user page isn’t it? What file does the log say the error is coming from?”
It is from the user page, the log now mention:
[][02-11-07(6:37:07)] Headers are already sent before TDOMF could call session_start in file /home/mcs1/public_html/wp-content/plugins/tdo-mini-forms/include/tdomf-upload-functions.php on line 146
[admin][02-11-07(9:16:28)] session_start() has not been called before generating form! Form will not work.
[][02-11-07(9:16:49)] session_start() has not been called before generating form! Form will not work.
“The error in the image points to wp-admin/admin-header.php. This file seems to generate the header for admin pages. What you can do, to get rid of the error, is to put session_start() at the top of that file.”
Just tried this, and still receiving the error. At least I’ve figured out how to get the error routinely
“This should fix it. Still like to know what it is happening though… it sounds very odd.”
Sadly that did not fix…and yes, I would love to figure this out too. If you’d like to e-mail or IM me, I can give you admin priv on one of my sites that’s having trouble with the script, instead of bouncing around your poor comments area, lol. Contact info: http://www.myconfinedspace.com/about/contact/
Thank you mark!