The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
[VB3 RC3] Attachments in private messages
![]() Developer Last Online: Jul 2014 ![]() ![]()
Unsupported. VB3.5 version is here:
https://vborg.vbsupport.ru/showthread.php?t=91220 Tested on 3.0.3 This hack enables you to send attachments in a private message. This feature was really useful to me in vb2 and I kind of missed it on vb3 so I rehacked it myself. When a user writes a private message they will be given the option to add an attachment, the same as when writing a post. It uses the same rules you have defined for a convencional attachment including file types, quotas, etc. It is only an extension for attachments to be used in private messages. As always it is advised to backup your files before hacking in case you want to go back, this is some big hack including modification of multiple files, some templates and adding two extra columns in the database tables. Instructions are provided in the txt, and some screenshots on where the attachment option appears. 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. Edit by MarcoH64: Because of multiple requests to make this hack work on vB3.0.7 i created upgrade instructions. These upgrade instructions can be followed after the original instructions (the 3.0.3 version). The original coder can not be held responsible for my modification. Show Your Support
|
Comments |
#92
|
|||
|
|||
![]() Quote:
It still says I don't have permission when I open the attachment window though. :surprised: |
#93
|
||||
|
||||
![]() Quote:
If you have the hack installed in an accesible board for me to take a quick peek that would help also. |
#94
|
|||
|
|||
![]()
Thanks Kentaurus!
It was in the "newattachment.php" file. I must have missed something in that file the first time around. I took a fresh copy, and tried it again. It works perfectly now. :up: |
#95
|
|||
|
|||
![]()
Is there a way to moderate PM attachments in the admincp, like
the regular attachments? |
#96
|
||||
|
||||
![]() Quote:
As for having a moderator queue for attachments that's not a feature. In fact, you do not moderate user's private messages and neither the attachments. |
#97
|
|||
|
|||
![]()
ah, I see
|
#98
|
|||
|
|||
![]()
Well I upgraded to RC4 and reinstalled this hack, but
it has put it at the top for some reason.. It still works good though. ![]() |
#99
|
||||
|
||||
![]() Quote:
|
#100
|
|||
|
|||
![]()
ah, yeah I had to move it down in the pm_newpm temp.
find Code:
$disablesmiliesoption Code:
$disablesmiliesoption $attachmentoption change a few things. |
#101
|
||||
|
||||
![]()
All seems to be working well..
![]() Just a small thing of concern, in the message itself where the attached images are shown, the "Attached Images" in the message isn't framed like your screenshot demonstrates.. I've attached a screenshot of this, hopefully you can shed some light on this.? |
#102
|
||||
|
||||
![]()
I think I found another bug. I had a member send me a photo of something. I still have the message and there is a paperclip showing there is an attachment to it but when you open the message, there is no attachment there. Now, this member erased all of her sent messages in the pm area. Could that have something to do with this since she is the one who sent it? Cause the attachment she sent me never showed up in my attachment list, only hers.
|
#103
|
|||
|
|||
![]()
Yes that'll do it. I just did the install and found that out right away. Which is a good feature if you ask me. Great hack. My install was flawless on RC4. Thanks alot.
|
#104
|
||||
|
||||
![]()
It's not a good feature if you want to hold on to an attachment like I wanted to.
![]() |
#105
|
||||
|
||||
![]() Quote:
|
#106
|
||||
|
||||
![]() Quote:
But the paperclip still showing up is a bug, I'll look into it. That should dissapear as soon as there are no more attachments. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|