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
  #22  
Old 07-17-2005, 05:57 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I uploaded a new version. For upgrading please:
In the "plugin manager" delete all plugins that have "private attachments - " as a prefix, there are 4 of them
re-upload privateattachments.xml from download/update plugins
re-upload privateattachments.php in your includes/cron folder

Thanks to .Tim for the help in debugging this, I'm terribly sorry about the bug in deleting attachments, it's finally fixed.

I am now trying to find why the attachments wouldn't be displayed, they show fine in my installation, I tried sending a pm with attachments from "user1" to "user2", mixing images and documents.... didn't have any issues, user2 can see the attachments in the pm just fine.

Does the fieldset that says "attached images" and "attached files" appears, or does nothing appears at all? Could you also try seeing the pm in the "sent items" folders and check if the attachments show there?
Reply With Quote
  #23  
Old 07-18-2005, 12:12 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
I uploaded a new version. For upgrading please:
In the "plugin manager" delete all plugins that have "private attachments - " as a prefix, there are 4 of them
re-upload privateattachments.xml from download/update plugins
re-upload privateattachments.php in your includes/cron folder

Thanks to .Tim for the help in debugging this, I'm terribly sorry about the bug in deleting attachments, it's finally fixed.

I am now trying to find why the attachments wouldn't be displayed, they show fine in my installation, I tried sending a pm with attachments from "user1" to "user2", mixing images and documents.... didn't have any issues, user2 can see the attachments in the pm just fine.

Does the fieldset that says "attached images" and "attached files" appears, or does nothing appears at all? Could you also try seeing the pm in the "sent items" folders and check if the attachments show there?
Just in case I am missing something what template displays the recieved message?

I get the little paper clip in the general inbox view, but I can't see the attachment when I open the PM. All I can think is that I have missed a template mod.
Reply With Quote
  #24  
Old 07-18-2005, 02:14 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
Thanks to .Tim for the help in debugging this, I'm terribly sorry about the bug in deleting attachments, it's finally fixed.
Now if you can just help me finish building this time machine so I can go back in time and hit myself over the head with a chair before I attempt to install this without backing up my database first.
Reply With Quote
  #25  
Old 07-18-2005, 03:47 AM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by .Tim
Now if you can just help me finish building this time machine so I can go back in time and hit myself over the head with a chair before I attempt to install this without backing up my database first.
Can't help you with that I'm afraid....
I did add a giant "Beta Hack" legend to the first post.... before it was just the tiny little checkbox to the right. Wish I could do something to help you recover your attachments.
Reply With Quote
  #26  
Old 07-18-2005, 12:17 PM
Johannes de Le?n Johannes de Le?n is offline
 
Join Date: Dec 2004
Location: Gallaecia, Las Espa?as
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It still doesn't show up when one is reading a message. See attachments.
Reply With Quote
  #27  
Old 07-18-2005, 09:35 PM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Johannes de Le?n
It still doesn't show up when one is reading a message. See attachments.
Yep. That is exactly what I am getting.
Reply With Quote
  #28  
Old 07-19-2005, 09:58 AM
burnist's Avatar
burnist burnist is offline
 
Join Date: Jul 2003
Location: Ireland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, its working for me

Only thing is its templates are un cached, not saying its your fault but we really need to work out some way of adding to those arrays.
Reply With Quote
  #29  
Old 07-19-2005, 05:42 PM
fabrizio fabrizio is offline
 
Join Date: Feb 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello here.

Do you know if this modification works well on vBulletn 3.0.7 (the latest one)?

Thank you for any information.

Fab.
Reply With Quote
  #30  
Old 07-19-2005, 06:06 PM
Johannes de Le?n Johannes de Le?n is offline
 
Join Date: Dec 2004
Location: Gallaecia, Las Espa?as
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fabrizio
Hello here.

Do you know if this modification works well on vBulletn 3.0.7 (the latest one)?

Thank you for any information.

Fab.
No, it will not work, it is a plugin, vB 3.0.7 doesn't support plugins.
Reply With Quote
  #31  
Old 07-22-2005, 12:06 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fabrizio
Hello here.

Do you know if this modification works well on vBulletn 3.0.7 (the latest one)?

Thank you for any information.

Fab.
Only in vbulletin 3.5 beta 4
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 03:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04748 seconds
  • Memory Usage 2,310KB
  • 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
  • (6)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
  • (4)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