The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Private Messages Attachments Details »» | |||||||||||||||||||||||||
Attachments in private messages ################################################## ################# # Original by Rigel Kentaurus (http://www.cemzoo.com) # Fixed by BluPhoenix for vb3.5.0 RC 2 # # Fixed and port to vBulletin 3.6.1 by Stoebi # # For distribution in vbhacks-germany and vbulletin.org at least # # # Thank you very much to Rigel and BluePhoenix # # Lot of thanks to KirbyDE for his help, hints and tips. ################################################## ################# 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.vbhacks-germany.com and www.vbulletin.org at least, please don't pm me asking for permission. Some portions of the code are (c) Jelsoft Enterprises Ltd. ################################################## ################# Note! For users they have an earlier version of private attachment installed. Before import, delete the following plugins and cron entries: AdminCP -> Plugins & Produkte -> Plugin Manager
AdminCP -> Scheduled Tasks -> Scheduled Task Manager: Search for Private Attachments Cleanup Delete Private Attachments Cleanup Installation instructions: Extract the archive you've downloaded. (FTP) Copy file privateattachments.php from includes/cron to your forum -> /includes/cron folder (FTP) Copy file bitfield_pma.xml from includes/xml to your forum -> /includes/xml folder 1. AdminCP -> Plugins & Products Click on Manage Products and on the right the [Add/Import Product] link. We are now here: Import Product -> EITHER upload the XML file from your computer. Search your file product_pma_160906.xml and click the Import button. Ready. 2. Import english phrases AdminCP -> Languages & Phrases Click on Download / Upload Languages and on the right check: Import Language XML File -> EITHER upload the XML file from your computer. Set option Overwrite Language to English (US) Serch your file phrases_en_pma_160906.xml and click the Import button. Ready. 3. 3 template edits: AdminCP -> Styles & Templates Click on Style Manager and on the right the "Expand Templates" button. Next screen on the right click the "All Template Groups" button. !Edits necessary for all installed Styles! Open the template newattachment: Search for Code:
<input type="hidden" name="posthash" value="$posthash" /> Code:
<input type="hidden" name="type" value="pm" /> Open the template pm_messagelistbit: Search for Code:
<span style="float:$stylevar[right]" class="smallfont">$pm[senddate]</span> Code:
<if condition="$pm['attach']"><img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" alt="<phrase 1="$pm[attach]">$vbphrase[x_attachments]</phrase>" /></if> Open the template pm_newpm: Search for Code:
<input type="hidden" name="s" value="$session[sessionhash]" /> Code:
<input type="hidden" name="posthash" value="$posthash" /> <input type="hidden" name="poststarttime" value="$poststarttime" /> Code:
<fieldset class="fieldset"> <legend>$vbphrase[miscellaneous_options]</legend> Code:
$attachmentoption <fieldset class="fieldset"> <legend>$vbphrase[miscellaneous_options]</legend> !Edits necessary for all installed Styles! Nothing more to do. You'll find 2 options in Usergroup Manager and User Manager: Check heading PM Attachments Permissions Can Download PM Attachments -> Yes/No Can Upload PM Attachments -> Yes/No Update - 23-09-2006 * Fix with new registered user and welcome pm (Thx to Redlabour) * Attachment (AJAX) now included in newpost_attachment template, see image, no edits necessary. Import and overwrite the new 1.53 file if you 1.52 installed before Regards, Stoebi Show Your Support
|
Comments |
#162
|
|||
|
|||
OK, I have VB 3.6.8 PL1 installed, I can't get this to completely work.
I have the "manage attachments" option on the bottom of PMs, but there is no paperclip showing up on the top. I can attach pictures but when they are received there is nothing attached. I've uninstalled, reinstalled, checked everything as well turning rights on/off. Any ideas? |
#163
|
|||
|
|||
I see Stoebi has been on recently... is he helping with this MOD anymore?
|
#164
|
|||
|
|||
How can I see the attachments from other users?
A statistic as the normaly attachments stats would be great! The administrator should have the permission to view, download oder delete the attachments. |
#165
|
|||
|
|||
I quote that!
|
#166
|
||||
|
||||
Quote:
one p[roblem i do have tho whenever i get an attachment it shows 2 images, does not show 2 attachments tho in the PM |
#167
|
|||
|
|||
Quote:
I am having a similar problem. I think it might have to do with the fact that I have the Show PM Postbit rewrite mod installed. Has anyone figured this out? |
#168
|
|||
|
|||
I tried it on 3.6.8 PL2 for the hell of it. Finally did the NO to YES thing, and the Attach Files box finally appeared when sending a PM. Now I can attach a file and send it, but there is no pic thumbnail in the PM when it is received. Pain in the ass. Uninstalled until someone can help.
|
#169
|
|||
|
|||
I just noticed a bug with this mod....granted I didn't get it working 100% but I don't think it matters.
As soon as I installed this mod, my users complained that they were no longer able to edit their attachments in threads. They were presented with a no permissions page. I uninstalled the mod and now the users can edit their attachments. fyi. |
#170
|
|||
|
|||
Quote:
|
#171
|
|||
|
|||
Quote:
This can be important to see if someone upload illegal files and send them to other users. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|