Version: 1.00, by Kentaurus
Developer Last Online: Jul 2014
Version: 3.5.0 Beta 3
Rating:
Released: 06-27-2005
Last Update: 07-16-2005
Installs: 45
DB Changes Uses Plugins Template Edits
Is in Beta Stage
No support by the author.
Last tested in 3.5.0 beta 4
Beta hack
With this hack you can send attachments inside private messages.
Sometimes you may want to send an image or file to another user, but
you just don't want to disclose your email or make the file public,
with this hack you can attach it to the private message.
Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.
==
I didn't think this could be done by plugins alone, but it was, although some sections were really tricky.
Please read the faq in the post below. Also please reply if you tested it and it worked for you much appreciated
v1.0.0
first release
v1.0.1
Fixed an elusive bug that deleted all your non-pm attachments.
Now in "valid file extensions" everything is correctly shown
Added vbulletin version check so you can't install the plugin in an unsupported version
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Works just fine in IE but in Firefox the 'manage attachments' button does nothing when clicked. And after testing it out in IE the attachment doesn't show up, guess I should re-do the hack.
Works just fine in IE but in Firefox the 'manage attachments' button does nothing when clicked. And after testing it out in IE the attachment doesn't show up, guess I should re-do the hack.
I'm using firefox myself, I never had a problem with the manage attachments button, it's the same template as the one in the new reply so if it works there....
The attachments should show up provided the hook for that is active, check in the plugins manager that the 4 hooks for the private attachments are currently active.
I forgot to say... I tested it in a blank, unmodified vb3.5 beta 3 installation
I'm using firefox myself, I never had a problem with the manage attachments button, it's the same template as the one in the new reply so if it works there....
The attachments should show up provided the hook for that is active, check in the plugins manager that the 4 hooks for the private attachments are currently active.
I forgot to say... I tested it in a blank, unmodified vb3.5 beta 3 installation
It works ok with FireFox here. Though, above the manage attachments button, the valid extensions are not shown; and the attachments fieldset is not shown either when a PM is received.
I've even tried to change the plugin's id in the database, but nothing changed.
Thanks Kentaurus you got me through that problem, but now some more problems.
When I do try to add a Attachment I get this
Warning: Invalid argument supplied for foreach() in \newattachment.php on line 545
the rest of the page comes out fine.
Then when I try to actually upload a file, I get this
Warning: Invalid argument supplied for foreach() in \newattachment.php on line 545
Any Ideas guys? Also I have the same problem as Johannes de León in that the list of valid extensions does not show in either in the new PM page or new Thread page.