PDA

View Full Version : Attach File while editing post


gmatelich
04-27-2003, 03:12 PM
I only seem to be able to remember to attach a file to my post about half the time. Unfortunately, I can't add the attachment when I edit my post. Is this another vBulletin attempt to protect us from ourselves, or is it possible to turn on the ability to add a post on edit?

In the mean time, I've been posting another reply, adding the attachment to that and deleting the original post. This seems to work OK as long as I notice the attachment's absence soon after posting.

John Scheffel
04-28-2003, 09:10 AM
I think this is just a feature that was never added to vbulletin. I can't think of any reason to not allow it. Maybe it will be added in version 3.

There is no standard way to turn this on in version 2.3.0. I did a search of the vbulletin forum and it turned up the following.

http://www.vbulletin.com/forum/showthread.php?threadid=28670

So it can be done, but it requires hacking the PHP code. I usually prefer to avoid hacking the code, but if enough people feel this is worthwhile I can try it.

John Scheffel
05-02-2003, 03:29 PM
I checked out the hack to add the Attach feature to Edit Post. It seemed pretty straight forward so I gave it a try. It seems to work fine. Now you should be able to add an attachment when editing a post that does not have one.

While I was hacking the editpost code, I figured I might as well add a feature I've always wanted, a button to Preview when editing. I found a hack for this too, so I have added it as well.

Let me know if these changes cause any problems.

FYI, both of these are standard features in vBulletin version 3, which is currently in beta testing.

gmatelich
05-04-2003, 07:08 PM
Thanks John, glad to see the new hacks, including the search last xx days.