The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[VB3 RC3] Attachments in private messages Details »» | |||||||||||||||||||||||||||
[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 |
#82
|
||||
|
||||
I like to like it
|
#83
|
|||
|
|||
I had a similiar problem with everything seeming to work fine but the attachments not actually showing in the pm's.. I finally tracked it down to the fact the forum had been upgraded from vb2, and we`d had the private attachments hack installed and so there was already a "private" table in attachments, I`d overlooked this on installation, but on removing that table and creating a new one fixed the problem with attachments not showing...
Might not work for others, but it worked for us and it gives people another option to try when attempting to get this great addon working... (haveto agree with Erwin too, this should be standard in gold! definetly get's my vote) |
#84
|
||||
|
||||
Great job!
Thanks for this excellent tool ... /me installs * |
#85
|
||||
|
||||
Found another boo-boo with this. If you add an attachment to a pm and then preview the pm, the attachment has detatched itself. Then, without saving the message, view your attachments and you will see the attachment in the listing.
|
#86
|
|||
|
|||
I installed this, and everything looks fine so far, except it keeps
telling me I don't have permission to do an attachment. I'm not clear as to what is meant here... Quote:
|
#87
|
|||
|
|||
oh, and I'm running RC3
I couldn't fine this bit of code in the "pm_newpm" Quote:
|
#88
|
|||
|
|||
OK with the checkbox mod the line look like this in the "pm_newpm"
in stead of ... PHP Code:
PHP Code:
PHP Code:
|
#89
|
||||
|
||||
Quote:
|
#90
|
||||
|
||||
Quote:
|
#91
|
||||
|
||||
Quote:
In private.php search for this Code:
$poststarttime = TIMENOW; Code:
if ($_POST['poststarttime']) { $poststarttime = $_POST['poststarttime']; } else { $poststarttime = TIMENOW; } Code:
<input type="hidden" name="posthash" value="$posthash" /> Code:
<input type="hidden" name="posthash" value="$posthash" /> <input type="hidden" name="poststarttime" value="$poststarttime" /> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|