Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Private Messages Attachments Details »
Private Messages Attachments
Mod Version: 1.53, by Stoebi (Member) Stoebi is offline
Developer Last Online: Feb 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.1 Rating: (15 votes - 4.80 average) Installs: 251
Released: 20 Sep 2006 Last Update: 23 Sep 2006 Downloads: 1216
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

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
  1. private attachments - can view the attachment attachment_start
  2. private attachments - get & show attachments postbit_display_start
  3. private attachments - get posthash and allow attachments private_newpm_start
  4. private attachments - update attachment info private_insertpm_complete

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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Afterwards, add

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save

Open the template pm_messagelistbit:
Search for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Afterwards, add

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save

Open the template pm_newpm:
Search for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Afterwards, add

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Search for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save

!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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	attach.jpg
Views:	2565
Size:	146.1 KB
ID:	53805  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Attachments in private messages Kentaurus vBulletin 3.5 Add-ons 65 19 Jan 2010 11:25
[VB3 RC3] Attachments in private messages Kentaurus vBulletin 3.0 Full Releases 308 22 Nov 2005 12:24
Private Attachments! (Attachments in Private Messages) Chen vBulletin 2.x Full Releases 117 22 Jan 2004 18:35

Comments
  #2  
Old 20 Sep 2006, 16:33
Spiceworld Spiceworld is offline
 
Join Date: Apr 2006
Cheers for this - installed

Richard
__________________
For all your Pet Supplies and Info
http://www.southcoastpetsupplies.co.uk/catalog/
Reply With Quote
  #3  
Old 20 Sep 2006, 16:57
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
will this work for 3.60?
Reply With Quote
  #4  
Old 20 Sep 2006, 17:08
lmurawski lmurawski is offline
 
Join Date: Sep 2004
This is the update for v3.6
Reply With Quote
  #5  
Old 20 Sep 2006, 17:24
bashy bashy is offline
 
Join Date: Nov 2005
Hi m8, dont work for me, I see no options to add attachment, permissions were already set to yet as default, Also i have rebuilt the bitfields in case, I have done the dits, although this 1


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

was not in there i could only find this

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

it also says when creating a new pm "Send New Private Message" twice now, see image please

So i added the code after that.... any ideas what might be wrong?
Attached Images
File Type: jpg pmattachment.JPG (33.9 KB, 323 views)
__________________
Bashy

Bashys Place ~ Bashys Hosting

Last edited by bashy; 20 Sep 2006 at 17:27.
Reply With Quote
  #6  
Old 20 Sep 2006, 17:36
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Hi bashy,

the style you use, is it for free? Can i download this? Will install and look into it.


Regards, Stoebi

Originally Posted by bashy
Hi m8, dont work for me, I see no options to add attachment, permissions were already set to yet as default, Also i have rebuilt the bitfields in case, I have done the dits, although this 1


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

was not in there i could only find this

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

it also says when creating a new pm "Send New Private Message" twice now, see image please

So i added the code after that.... any ideas what might be wrong?
Reply With Quote
  #7  
Old 20 Sep 2006, 18:03
bashy bashy is offline
 
Join Date: Nov 2005
Hi m8, yeah its in the styles section here m8 its the MNS 7
__________________
Bashy

Bashys Place ~ Bashys Hosting
Reply With Quote
  #8  
Old 20 Sep 2006, 18:23
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Originally Posted by bashy
Hi m8, yeah its in the styles section here m8 its the MNS 7
For 3.5.4 only. Hm, okay, will see what i can do for you.


Regards, Stoebi
Reply With Quote
  #9  
Old 20 Sep 2006, 18:41
bashy bashy is offline
 
Join Date: Nov 2005
Ok Stoebi, thanks a lot m8
__________________
Bashy

Bashys Place ~ Bashys Hosting
Reply With Quote
  #10  
Old 20 Sep 2006, 20:20
Gripemaster Gripemaster is offline
 
Join Date: Oct 2005
Installed, followed instructions to the letter, no errors or problems. Tested by sending a PM with attachment to a regular user account from my admin account. Attachment does not show, only placeholder box with red X.

Tried to send a PM from a regular user account to my admin account and got the same results. (See Screenshot)

HOWEVER...the attachments show up in the Sent Items box PM's as having been sent. They just don't show on the received PM

Suggestions?
Attached Images
File Type: jpg pmattach.jpg (24.0 KB, 202 views)

Last edited by Gripemaster; 20 Sep 2006 at 20:25.
Reply With Quote
  #11  
Old 20 Sep 2006, 21:00
KevNJ KevNJ is offline
 
Join Date: Jan 2005
* clicks install *

awesome!! now if someone can get the super pm feature to work. maybe you can take a look at it since you know how the PM system works?
http://www.vbulletin.org/forum/showthread.php?t=100314
Reply With Quote
  #12  
Old 20 Sep 2006, 21:24
dknelson dknelson is offline
 
Join Date: Oct 2004
OK....I've installed this and did all the template edits. I'm running 3.6.1.

I got no errors on the install but I cannot see any place to add an attachment in the PM.

Usergroup settings are set to "YES". I'm not sure where you are talking about "user manager".

Don

Last edited by dknelson; 20 Sep 2006 at 22:47.
Reply With Quote
  #13  
Old 20 Sep 2006, 22:40
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Real name: Mark Anthony
I installed 3.6 to the tee i see no opition to add file in the PM any s uggestions?
Thxs
Reply With Quote
  #14  
Old 20 Sep 2006, 22:43
Kuimera's Avatar
Kuimera Kuimera is offline
 
Join Date: Aug 2005
Originally Posted by dknelson
OK....I've installed this and did all the template edits. I'm running 3.6.1.

I got now errors on the install but I cannot see any place to add an attachment in the PM.

Usergroup settings are set to "YES". I'm not sure where you are talking about "user manager".

Don
Same thing here, no errorsand the premisions are on but no menu to add the attachments :S im also running 3.6.1
Reply With Quote
  #15  
Old 20 Sep 2006, 22:43
dknelson dknelson is offline
 
Join Date: Oct 2004
Yea...it has really frustrated me. I've checked the template edits 4 times, re-uploaded the files.....beats me.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:20.

Layout Options | Width: Wide Color: