![]() |
After installing this hack, you will be able to post new attachment when editing posts, even if these posts did not have a prior attachment.
(Version 1.1 is updated for vBulletin 2.2.4 - No need to update if you're running vBulletin 2.2.3b or lower). |
Well well well, works like a charm.
|
thanks for sharing m8 nice hack
|
it's work for my forum~
thankz Tommy Boy:D |
Works for 2.03 too. :D Thank you, needed this just this morning. I had to delete a post and repost it because I didn't have this. Thanks Tommy Boy.
|
Nice hack, thanks
|
Nice and easy. Good job :)
Want to make one that allows multiple attachments on one post, and would work similar to the way you can change the number of options on a poll? :) |
Works like a charm!
|
Quote:
BTW: Thanks everybody for your feedback! :D // Edit: Yay!! I see you even installed it on this board! I'm honored, Chen! :p |
Hmmmm....everything looks fine...there's a field to add an attachment now when editing a post, but the attachment doesn't show up. :confused:
Nevermind....I just added the last part after the first piece of code...I didn't realize there were two lines of that code. :D Cool hack. |
great hack
cheers |
extremely useful hack cheers :)
i keep 4getting to post attachments on my board sometimes, no more del thread resport for me :D |
I think it'd be worth it...vB3 is a ways off(isn't it? :))
|
hi all
YES - now it is possible to add a new attachment to a thread which hasn't got one ... BUT - if you want to exchange an existing one - this code change doesn't work ... it only exchanges the name of the attachment, but if you klick on it you'll still get the old (previous one) can you please check again? THANX A LOT from vienna! NoPain |
hi all
YES - now it is possible to add a new attachment to a thread which hasn't got one ... BUT - if you want to exchange an existing one - this code change doesn't work ... it only exchanges the name of the attachment, but if you klick on it you'll still get the old (previous one) can you please check again? THANX A LOT from vienna! NoPain |
Quote:
You can find it here. |
THX!!!
cash problem is solved now. |
Quote:
|
And if you DIDN'T, let us in on the secret! :D
Quote:
|
They kind of compliment each other so I installed both! Thanks, Tommy.
:up: Quote:
|
Does this work under vB v2.2.2? I applied exactly as specified, and attaching a file does nothing.
|
works perfect, no problems, thanks
|
works for 2.2.2
But after edit it did not update as like a reply would. Is there a way to bring to the front like a reply? |
does this work with 2.2.4?
|
Well I dunno about other people but this hacked rocked.. well I did a little edit for it, to work for vbulletin 2.2.3 - 2.2.4 on a Reverted Template System, or fresh install..
Credits go to Tommy.. |
I believe the hack works fine on version 2.2.4 as well, without this modification...?
|
no it doesn't, if smart people would revert there templates to the original form, and then remake their style.. So you can get the full benifit of the upgrade..
John also recommends this.. Quote:
Ok well thats juts my 2 cents.. |
The code you are changing back, is actually part of the update of vBulletin, and is part of an important security fix. Reverting it back to its previous state, may endanger you and your users, as you are open to the PHP vulnerability regarding file uploads.
Therefore, you should leave the the editpost template untouched. vBulletin know what they're doing, and it doesn't affect this hack at all. You will have to apply the changes to the editpost.php file of course, but leave the template untouched. |
Does anyone know how to make this hack work with 2.2.4 then? Or is it lost in the wild blue yonder...
|
I applied the ORIGINAL hack on 2.2.4 and it doesn't work. The attach file field comes up and I attach the file, but it doesn't come up. The effect seems like it doesn't get uploaded at all (too fast when submitting).
Tommy please take a look at it, this hack will be really useful when I'll get it to work. Thanks... |
Seems like you're right, I was under the impression that the new version of vBulletin doesn't affect the hack, but apparently it does.
Therefore, I have updated the attachment in the first post. It is now compatible with version 2.2.4. |
thanks!
|
Thanks for the fix Tommy, and thanks for the great hack...
For everyone who wanted to know, v1.1 of this hack *WORKS* on vB 2.2.4. |
Works great, Thanks!
|
Freddie said it will be built-in in vB3! Isn't that great? :)
|
Work fine on vb 225 but i have notice a little problem .In the thread table the "attach" field is not update
when i make a new attachment (using this hack on a old post without attachment) .If i open a new thread without attachment and i attach a new file , the icon "paperclip.gif" is not showed in the forumdisplay near the thread title but the attachment now is in the thrad . Can you help me please ? :) |
Hi,
I opened the txt file and was about to edit my template and founf out there is no string PHP Code:
I am also useing the php3 set. So i inserted it like so in the search and still nothing PHP Code:
|
Preasidium, you need to edit the editpost.php file, not the template.
|
Anyone have this updated for 2.2.6? I noticed there are some changed within its coding.
- SaintDog |
i can not found this part on vB 2.2.6. Please help me.
if (function_exists('ini_get')) { if (ini_get('file_uploads')) { $enctype = 'enctype="multipart/form-data"'; } } else if (get_cfg_var('file_uploads')) { 'enctype="multipart/form-data"'; } |
All times are GMT. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|