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

  #16  
Old 20 Sep 2006, 22:46
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Real name: Mark Anthony
same here mates??? 4 times andstill no add attachments???Any clue Im going back in!
Reply With Quote
  #17  
Old 20 Sep 2006, 22:50
Kuimera's Avatar
Kuimera Kuimera is offline
 
Join Date: Aug 2005
Originally Posted by dknelson
I'm not sure where you are talking about "user manager".
This means that you have usergroup and individual user premissions, you will find them when editing a user @ the bottom.

I check them too and they are on... but it still dosent show the menu to add the attachments in the PM :S
Reply With Quote
  #18  
Old 20 Sep 2006, 22:54
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Real name: Mark Anthony
Any support for this hack or are we on our own?
Reply With Quote
  #19  
Old 20 Sep 2006, 22:56
dknelson dknelson is offline
 
Join Date: Oct 2004
Originally Posted by Kuimera
This means that you have usergroup and individual user premissions, you will find them when editing a user @ the bottom.

I check them too and they are on... but it still dosent show the menu to add the attachments in the PM :S

OK...I found where you mean. That doesn't make sense I don't think...well...since they are all "yes" at default, I guess it does. If somebody abuses it I guess you can turn it off for that individual.

So....still doesn't solve this problem huh.
Reply With Quote
  #20  
Old 20 Sep 2006, 23:03
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Real name: Mark Anthony
Well she dont work mate?
Reply With Quote
  #21  
Old 20 Sep 2006, 23:04
dknelson dknelson is offline
 
Join Date: Oct 2004
Yea...I've pretty much given up on it. Haven't uninstalled but probably will.
Reply With Quote
  #22  
Old 20 Sep 2006, 23:10
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Real name: Mark Anthony
DAmn

Originally Posted by dknelson
Yea...I've pretty much given up on it. Haven't uninstalled but probably will.
Well this stinks why would you post a hack that doesnt work is this a german hack
click Uninstalled!!!
Reply With Quote
  #23  
Old 21 Sep 2006, 00:59
Kuimera's Avatar
Kuimera Kuimera is offline
 
Join Date: Aug 2005
Same... /me clicks uninstall....
Reply With Quote
  #24  
Old 21 Sep 2006, 01:13
hotwheels hotwheels is offline
 
Join Date: May 2005
Real name: Doug
you are awesome Stoebi, worked like a charm............woohoo...........yippie









I have attached to screen image's showing that it work's just the way he explained it in his instructions.
Attached Images
File Type: jpg pmattachment.jpg (158.7 KB, 117 views)
File Type: jpg pmattachment2.jpg (158.7 KB, 84 views)

Last edited by hotwheels; 21 Sep 2006 at 01:19.
Reply With Quote
  #25  
Old 21 Sep 2006, 02:25
webwench webwench is offline
 
Join Date: Dec 2005
Originally Posted by hotwheels
you are awesome Stoebi, worked like a charm............woohoo...........yippie









I have attached to screen image's showing that it work's just the way he explained it in his instructions.
Nice you got it working, but could you post a screenshot of what to click to add an attachment? I've done it several times, and can't make it appear.
Reply With Quote
  #26  
Old 21 Sep 2006, 04:05
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by oberheimhaven
Any support for this hack or are we on our own?
Originally Posted by oberheimhaven
Well this stinks why would you post a hack that doesnt work is this a german hack
click Uninstalled!!!
I think some people need to learn a little patience and be a little less rude.

Modification Authors do not spend 24 hours a day online, you might want to remember that Eurpoe is in a different timezone to the USA as well. Your early evening posts are almost midnight and beyond.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #27  
Old 21 Sep 2006, 04:16
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Hi,

i forgot to include the variable $attachmentoption in the template new_pm.

Sorry

Documentation in the first post (archive also) updated.


Regards, Stoebi


Edit:
Thank you Paul M

Last edited by Stoebi; 21 Sep 2006 at 04:18.
Reply With Quote
  #28  
Old 21 Sep 2006, 04:28
Kuimera's Avatar
Kuimera Kuimera is offline
 
Join Date: Aug 2005
lol Stoebi, np, for the past 3 hours I was calling me a dumb ass trying to figure out what I was doing wrong never in my life I edited the same hack over and over ! :P

Thanks for your hack, is working fine now.

/me clicks install again
Reply With Quote
  #29  
Old 21 Sep 2006, 04:40
Absolution Absolution is offline
 
Join Date: Sep 2006
Thanks, Stoebi, just noticed that you posted (was inbetween since the last edit and I was like 'did i do something wrong!?).

This ends the confusion!!

Thanks again
Reply With Quote
  #30  
Old 21 Sep 2006, 05:13
Gripemaster Gripemaster is offline
 
Join Date: Oct 2005
Originally Posted by Gripemaster
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?

Still not working.
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 12:53.

Layout Options | Width: Wide Color: