Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Attachments in private messages Details »»
Attachments in private messages
Version: 1.00, by Kentaurus Kentaurus is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Version: 3.5.0 Beta 3 Rating:
Released: 06-27-2005 Last Update: 07-16-2005 Installs: 45
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

Last tested in 3.5.0 beta 4
Beta hack

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.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.

==

I didn't think this could be done by plugins alone, but it was, although some sections were really tricky.

Please read the faq in the post below. Also please reply if you tested it and it worked for you much appreciated

v1.0.0
first release

v1.0.1
Fixed an elusive bug that deleted all your non-pm attachments.
Now in "valid file extensions" everything is correctly shown
Added vbulletin version check so you can't install the plugin in an unsupported version

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-28-2005, 02:48 PM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack...suggestion for next version, how about per usergroup settings as to who can and cannot add attachments.
Reply With Quote
  #13  
Old 06-28-2005, 09:48 PM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The scheduled task for pm attachment clean up, wiped out all of my attachments. It first ran at 12:01am and every message with an attachment has an "edit by" message and the attachments are missing and the edit time is 12:01am, same as when the task first ran.
Reply With Quote
  #14  
Old 06-28-2005, 11:09 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

.Tim, you seem to be having really strange problems, but I'll see if I can find a solution

Do you have a pop-up blocker or some configuration alike in your computer?
What vbulletin version are you running the hack in?
Do you have other hacks / plugins installed?

Also, have you tried testing the hack in a fresh, unmodified 3.5 beta 3 installation?
Reply With Quote
  #15  
Old 06-28-2005, 11:28 PM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kentaurus
.Tim, you seem to be having really strange problems, but I'll see if I can find a solution

Do you have a pop-up blocker or some configuration alike in your computer?
What vbulletin version are you running the hack in?
Do you have other hacks / plugins installed?

Also, have you tried testing the hack in a fresh, unmodified 3.5 beta 3 installation?
Thanks, any help is appreciated.

No, I don't have anything like that, plus the attachments were working just fine before. Yes, I have a few others installed but nothing involving attachments or pm's.

No, I haven't tried that, after I lost my attachments getting this hack working has kind of taken a back seat.
Reply With Quote
  #16  
Old 06-29-2005, 01:42 AM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by .Tim
Thanks, any help is appreciated.

No, I don't have anything like that, plus the attachments were working just fine before. Yes, I have a few others installed but nothing involving attachments or pm's.

No, I haven't tried that, after I lost my attachments getting this hack working has kind of taken a back seat.
It doesn't matter if the other hacks are pm or attachments related, could you list them to me? I'm trying to reproduce the scenario so I can fix the problem.
Reply With Quote
  #17  
Old 06-29-2005, 01:58 AM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kentaurus
It doesn't matter if the other hacks are pm or attachments related, could you list them to me? I'm trying to reproduce the scenario so I can fix the problem.
ucash
last seen online
new posts and reputation comments
arcade
custom wol
who visited today
Reply With Quote
  #18  
Old 07-03-2005, 05:49 AM
coffeefix coffeefix is offline
 
Join Date: Apr 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when recieving a pm inwhich a file has been attached, there is no option to view the attachment, as a matter of fact the attachment doesn't show up at all.
Reply With Quote
  #19  
Old 07-06-2005, 03:50 PM
coffeefix coffeefix is offline
 
Join Date: Apr 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any word on this?
Reply With Quote
  #20  
Old 07-13-2005, 02:41 AM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kentaurus
It doesn't matter if the other hacks are pm or attachments related, could you list them to me? I'm trying to reproduce the scenario so I can fix the problem.
I am getting the problem that it attaches the document fine. And when it arrives there is a little paperclip to say that there is an attachment. But when I open the message there is no attachment to click on.
Reply With Quote
  #21  
Old 07-15-2005, 01:17 AM
kwopper kwopper is offline
 
Join Date: Oct 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same issue as everyone else with viewing the attachment. It didnt matter whether it was stored in database or file folder.

Once that issue is solved this will be an excelent hack and very easy to install.
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 12:51 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04779 seconds
  • Memory Usage 2,295KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete