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:	2566
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

  #31  
Old 21 Sep 2006, 05:19
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Originally Posted by Gripemaster
Still not working.
Hi,

you need to edit all your installed and used styles.
What style do you use? Is it for free? If yes, where can i dl your style for testing purpose. Which vBulletin version?

I've not tested this version with 3.5.4. No warranty, sorry.


Regards, Stoebi

Last edited by Stoebi; 21 Sep 2006 at 05:21.
Reply With Quote
  #32  
Old 21 Sep 2006, 07:02
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Real name: André
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?
Same here ! Does not work !
Reply With Quote
  #33  
Old 21 Sep 2006, 07:15
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Originally Posted by redlabour
Same here ! Does not work !
http://www.vbulletin.org/forum/showp...1&postcount=31



In german (deutsch):
Mit solchen Aussagen kann ich absolut nichts anfangen.
Auf vbhacks-germany gibt es einen entsprechenden Thread, dann könnten wir dort das Problem besser angehen. Mein Englisch ist leider schlecht bis grottenhaft. Vielleicht hilfts dann ja auch den anderen.


Regards, Stoebi
Reply With Quote
  #34  
Old 21 Sep 2006, 07:20
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Real name: André
German Short Description:

PM wird mit Anhang versandt. In der angekommenen PM ist dennoch kein Anhang. Ansonsten keine Fehlermeldung. Das Problem scheinen alle zu haben. Ich nutze den DefaultStyle von vBulletin.
Reply With Quote
  #35  
Old 21 Sep 2006, 08:27
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Originally Posted by redlabour
German Short Description:

PM wird mit Anhang versandt. In der angekommenen PM ist dennoch kein Anhang. Ansonsten keine Fehlermeldung. Das Problem scheinen alle zu haben. Ich nutze den DefaultStyle von vBulletin.
Sorry,

i can't reproduce this -> http://spec-f.de/pma/pma.html (Note! I'll delete the contents from this link in 3 days).


Regards, Stoebi
Reply With Quote
  #36  
Old 21 Sep 2006, 09:01
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Worked straight out of the box with no problems .. thanks Stoebi

Clicked install
Reply With Quote
  #37  
Old 21 Sep 2006, 09:29
bashy bashy is offline
 
Join Date: Nov 2005
I have now added the edit, I now see the manage attachments, it lets me add 1, yet when message sent there is no attachment

I have the Super PM installed yet i have disabled the pligun at present for that hack!!!

Originally Posted by Stoebi
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
__________________
Bashy

Bashys Place ~ Bashys Hosting
Reply With Quote
  #38  
Old 21 Sep 2006, 09:34
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Lovely! I was looking for this and now here it is. Thanks!
Reply With Quote
  #39  
Old 21 Sep 2006, 10:41
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Originally Posted by bashy
I have now added the edit, I now see the manage attachments, it lets me add 1, yet when message sent there is no attachment

I have the Super PM installed yet i have disabled the pligun at present for that hack!!!
It works fantastic with your style.

@all
Take a look at this demonstration -> http://spec-f.de/pma2/pma2.html <- please.
(Note! I'll delete the contents from this link in 3 days).


Regards, Stoebi
Reply With Quote
  #40  
Old 21 Sep 2006, 11:14
bashy bashy is offline
 
Join Date: Nov 2005
Yep seen it all, I dont know what can be stopping it from working at my end, I have disabled to Super PM hack.......Oh well, there must be sommat else conflicting.....I got too many hacks to try to figure this 1 out lol

Thanks anyway!!
__________________
Bashy

Bashys Place ~ Bashys Hosting
Reply With Quote
  #41  
Old 21 Sep 2006, 11:46
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Real name: André
Originally Posted by Stoebi
Sorry,

i can't reproduce this -> http://spec-f.de/pma/pma.html (Note! I'll delete the contents from this link in 3 days).


Regards, Stoebi
Did you try a fresh Install or only a Upgrade ? I have deinstalled the 3.5 Hack before installed yours.

I think you have coded a Permission Error. There was no Recaching at Usergroups if i entered them after Installing.
Reply With Quote
  #42  
Old 21 Sep 2006, 12:44
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
Clear instructions. Work very well on 3.60. Thank you.
Reply With Quote
  #43  
Old 21 Sep 2006, 12:45
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Originally Posted by bashy
Yep seen it all, I dont know what can be stopping it from working at my end, I have disabled to Super PM hack.......Oh well, there must be sommat else conflicting.....I got too many hacks to try to figure this 1 out lol

Thanks anyway!!
It works for me with SuperPM installed, too. BTW., do you have really 3.6.x of vBulletin installed, because SuperPM (at the moment, hehe) is not working with vBulletin 3.6.x?


Regards, Stoebi
Reply With Quote
  #44  
Old 21 Sep 2006, 13:01
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Real name: André
Tested complete Installation again at 3.6.1 - no Attachments at all. Standard Style. No Super-PM.

Visiting the Usergroups does not bring the Bitfield Screen up.
Reply With Quote
  #45  
Old 21 Sep 2006, 16:38
Hoffi's Avatar
Hoffi Hoffi is offline
 
Join Date: Nov 2001
Real name: Christian
Works like a charm. Thanks Stoebi.

red, just read the instructions and do the steps detailed.
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 19:12.

Layout Options | Width: Wide Color: