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

  #61  
Old 22 Sep 2006, 02:14
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
If you need help on it showing up there are alot of things you can do and need to try all of them to make them refresh.
Reply With Quote
  #62  
Old 22 Sep 2006, 02:16
Keyser Söze's Avatar
Keyser Söze Keyser Söze is offline
 
Join Date: Apr 2002
yes sir i sure did
Reply With Quote
  #63  
Old 22 Sep 2006, 03:30
Gripemaster Gripemaster is offline
 
Join Date: Oct 2005
Stoebi, thanks very much for the help. Much appreciated. Works like a charm now. *INSTALLED*
Reply With Quote
  #64  
Old 22 Sep 2006, 03:44
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Originally Posted by Keyser Söze
yes sir i sure did
Do you have a instant messenger?
Reply With Quote
  #65  
Old 22 Sep 2006, 03:47
Keyser Söze's Avatar
Keyser Söze Keyser Söze is offline
 
Join Date: Apr 2002
yes i use AIM, i have anyone not on my list blocked so ud need to send me ur user name so i can add it

got too many trolls and jackels that would jump on me ;p
Reply With Quote
  #66  
Old 22 Sep 2006, 03:52
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Originally Posted by Keyser Söze
yes i use AIM, i have anyone not on my list blocked so ud need to send me ur user name so i can add it

got too many trolls and jackels that would jump on me ;p
Errm Add me... Its in my user profile
Reply With Quote
  #67  
Old 22 Sep 2006, 04:34
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Problems?

Send me a pm with a full admin access (Style Manager, Product/Plugin Manager, Attachment Manager, Scheduled Manager) and your site name. If you problems to copy files to your server, create a FTP account, too. Create a new Admin/FTP account, so you can fast delete the accounts after my visit.

Finished words - please have patience. ;-)


Regards, Stoebi

Last edited by Stoebi; 22 Sep 2006 at 04:36.
Reply With Quote
  #68  
Old 22 Sep 2006, 09:12
Spenser Spenser is offline
 
Join Date: Mar 2006
Mal auf deutsch:
das Ding läuft nicht.
Ich kriege keine Buttons für die Hinzufügung des Attachments bei den PM.
Reply With Quote
  #69  
Old 22 Sep 2006, 09:18
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Please use English.
__________________
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
  #70  
Old 22 Sep 2006, 09:25
Spenser Spenser is offline
 
Join Date: Mar 2006
Anyway, the Hack doesn't work.
There is no box with attachment options when creating a new pm.
I use the style that comes with vb and double-checked the installation.
Reply With Quote
  #71  
Old 22 Sep 2006, 09:27
Spenser Spenser is offline
 
Join Date: Mar 2006
Originally Posted by Spenser
Anyway, the Hack doesn't work.
There is no box with attachment options when creating a new pm.
I use the style that comes with vb and double-checked the installation.
Strange.

After lots of reloads there is finally the box.

Now it works.
I changed nothing... :dead:

Last edited by Spenser; 22 Sep 2006 at 09:38.
Reply With Quote
  #72  
Old 22 Sep 2006, 18:00
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Real name: André
Welcome-PM causes Error at Activation of Useraccount

Small Bug :

German Error Discription

After a new Member is klicking on the Activationlink at E-Mail he get´s a Error Code with this Hack :

Fatal error: Call to a member function on a non-object in /poltbofu/www.politikstube.de/forum/includes/class_dm_user.php(2396) : eval()'d code on line 1
After Refreshing the Window he is allready activated so this is only a cosmetically Problem. Hoping for a Update.

This only happens if you send a automatically PM to new Users.

It looks like PlugIn : private attachments - update attachment info causes this Error.

Last edited by redlabour; 22 Sep 2006 at 18:06.
Reply With Quote
  #73  
Old 22 Sep 2006, 20:25
Keyser Söze's Avatar
Keyser Söze Keyser Söze is offline
 
Join Date: Apr 2002
Originally Posted by Shazz
Errm Add me... Its in my user profile
i have you added on AIM and yahoo, so whenever you got the time
Reply With Quote
  #74  
Old 23 Sep 2006, 01:25
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Installed! Thanks!
Reply With Quote
  #75  
Old 23 Sep 2006, 03:15
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Hello, good morning

Thank your Redlabour, i'll look into it.


Regards, Stoebi


Originally Posted by redlabour
Small Bug :

German Error Discription

After a new Member is klicking on the Activationlink at E-Mail he get´s a Error Code with this Hack :



After Refreshing the Window he is allready activated so this is only a cosmetically Problem. Hoping for a Update.

This only happens if you send a automatically PM to new Users.

It looks like PlugIn : private attachments - update attachment info causes this Error.
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 18:52.

Layout Options | Width: Wide Color: