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 |
#212
|
|||
|
|||
![]() Quote:
Change: PHP Code:
PHP Code:
![]() |
#213
|
||||
|
||||
![]() Quote:
I have done what you said to do above and it still doesnt work |
#214
|
||||
|
||||
![]()
Something I just realized
It breaks all the thumbnails and images that were uploaded before the pm hack was installed. But if I upload a new image on the forum it works fine. Basically all my old attachments show up as red x's and give a no permission when clicked. But if I add a new attachment to a thread then it works fine |
#215
|
||||
|
||||
![]() Quote:
It still does it with what you posted in your lsat post as well |
#216
|
||||
|
||||
![]()
Yea same here, it breaks all previously uploaded attechments to the forum (thumbs and permissions to view).
|
#217
|
||||
|
||||
![]() Quote:
Start with a fresh attachment.php (or one without the modifications for pms) Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Hope this helps. |
#218
|
||||
|
||||
![]()
It worked!!!
Thanks |
#219
|
||||
|
||||
![]()
Good job, the simplest solution is always the best, huh?
|
#220
|
|||
|
|||
![]() Quote:
|
#221
|
||||
|
||||
![]()
I am sorry, but can someone summarize all the steps I need to do to get it work? Or does the file in the first post contain complete solution?
Thank you. |
#222
|
||||
|
||||
![]() Quote:
|
#223
|
|||
|
|||
![]() Quote:
|
#224
|
|||
|
|||
![]()
the same problem occurs with the attachments for calendar hack. the same missing $postid code etc...
Ive posted a message there as well |
#225
|
||||
|
||||
![]()
This Hack concept sounds sensational. But I am having a problem with the install. I have got down to the section where I need to modify the attachment.php file and I have been asked to find:
PHP Code:
PHP Code:
|
#226
|
|||
|
|||
![]()
Many others are in the same boat
![]() The problem gets worse when your trying to implement the calendar hack as well because modify identical bits of code, which i sort of had working apart from the fact the attachment disappears after a while ![]() We really need a genius to come along and sort it all out for us. Unfortunately im not that genius ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|