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 |
#242
|
||||
|
||||
uh, did you read any of this? its working for it now
|
#243
|
|||
|
|||
Add a new phrase and make sure it is in the "posting" phrase type, otherwise it won't work
phrase: in_private_message Text: Private Message how do i add a new phrase |
#244
|
||||
|
||||
I get an error, wenn i attach an txt-file an klick send. :nervous:
Quote:
|
#245
|
||||
|
||||
and this:
Quote:
|
#246
|
|||
|
|||
ok.. I've installed this and reverted back to my original files (other than my template edits) like 4 times. It looks like everything works except the attachment does not show up in the pm when it's opened. I just noticed that I had the following line wrong in my pm_newpm template. And I'm curious if this would cause the attachment to not show up. I'm almost done removing it and I hate to redo everything again just to find out that this had no effect on things. Here's the line I had wrong (just missing the closing >):
Code:
<input type="hidden" name="poststarttime" value="$poststarttime" / vs. <input type="hidden" name="poststarttime" value="$poststarttime" /> |
#247
|
|||
|
|||
nm... fixed. sorry.
|
#248
|
|||
|
|||
I just upgraded to version 3.03 and I am having problems editing the attachment.php file cause it differs from 3.0 and am sure the other files are the same way. I manage to edit private.php file with no problem.
Is this hack compatiable with version 3.03 and if so, what are the file modification instructions for it? Thanx in advance |
#249
|
|||
|
|||
Thank god I read this last post.
I thought they said this was 3.0.3 compatable. I really dont like the idea of this site. Its soo cool that users help and put up hacks but It feels like we are greedy lab rats. I wish they made it that once its 100% its like a install. you click enter what ever and "patch" your site. keeps a record and ya set. that way if I make a hack that confilcts you will know. blah blah does not work with this patch. Im I crazy or does that make sense? shoot I would pay for that. |
#250
|
|||
|
|||
Ok works like a charm. Thank you. Only down side is the attachments stay. If I send a private message it should be on his/hers quota not mine. so if they want to keep it they can. also what if you want to send 3 differn people a picture of youself. you already have it saved on the site. so you cant re upload it. you have to delte your attachments. it should be a bit more seperate in that sense from forums.
|
#251
|
|||
|
|||
thanks alot for this hack i love it but i think i might of found a bug
as u can see in the attached img the file i attached in a pm shows up twice |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|