Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Private Message Attachments Details »»
Private Message Attachments
Version: 1.0.0b2, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 4.2.0 Rating:
Released: 06-07-2012 Last Update: 06-09-2012 Installs: 70
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

This Add-on allows you to use attachments in private messages.

Changelog
1.0.0 Beta 2
  • Added missing table prefix
  • Removed hardcoded contenttypeid
  • Improved performance

Download Now

File Type: zip pmattachments_1-0-0_Beta_1.zip (10.5 KB, 175 views)
File Type: zip pmattachments_1-0-0_Beta_2.zip (10.8 KB, 545 views)

Show Your Support

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

Comments
  #12  
Old 06-08-2012, 03:03 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

When I try to open a pm I get this

PHP Code:
Warningunserialize() expects parameter 1 to be string, array given in [path]/packages/pmattachments/postbit/pm.php on line 39 
Warning: unserialize() expects parameter 1 to be string, array given in [path]/packages/pmattachments/postbit/pm.php on line 39
Reply With Quote
  #13  
Old 06-08-2012, 04:03 PM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As others have said, this should be part of the core product. Thanks for releasing
Reply With Quote
  #14  
Old 06-08-2012, 05:01 PM
KatieG's Avatar
KatieG KatieG is offline
 
Join Date: Apr 2008
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Warning: unserialize() expects parameter 1 to be string, array given in [path]/packages/pmattachments/postbit/pm.php on line 39
Reply With Quote
  #15  
Old 06-08-2012, 08:20 PM
Shadow Shadow is offline
 
Join Date: Jan 2011
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice mod.
Tagged for later use!
Reply With Quote
  #16  
Old 06-09-2012, 05:14 AM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bummer, I was hoping this would work with 4.1.12
Reply With Quote
  #17  
Old 06-09-2012, 05:51 AM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ummm, when I try and send PM with an attachment I get the following error message:

Database error in vBulletin 4.2.0:

Invalid SQL:

UPDATE vb3_pm
SET attach = (SELECT COUNT(*) FROM vb3_attachment WHERE contentid = pm.pmid AND attachment.contenttypeid = 24);

MySQL Error : Unknown column 'pm.pmid' in 'where clause'
Error Number : 1054
Request Date : Saturday, June 9th 2012 @ 01:48:56 AM
Error Date : Saturday, June 9th 2012 @ 01:48:56 AM
Script : http://rwf-forum.co.uk/vBulletin/pri...tpm&pmid=70117
Referrer : http://rwf-forum.co.uk/vBulletin/pri...tpm&pmid=70117
IP Address : xx.xx.xx.xx
Username :
Classname : vB_Database
MySQL Version : 5.1.63-cll
Reply With Quote
  #18  
Old 06-09-2012, 02:12 PM
ceho ceho is offline
 
Join Date: Mar 2008
Location: Germany
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to send inline attachments I get this error message:

Code:
Database error in vBulletin 4.2.0:

Invalid SQL:

            UPDATE vb_pm
            SET attach = (SELECT COUNT(*) FROM vb_attachment WHERE contentid = pm.pmid AND attachment.contenttypeid = 24);

MySQL Error   : Unknown column 'pm.pmid' in 'where clause'
Error Number  : 1054
Request Date  : Saturday, June 9th 2012 @ 05:05:26 PM
Error Date    : Saturday, June 9th 2012 @ 05:05:26 PM
Script        : http://www.cureconnections.com/testforum2/private.php?do=insertpm&pmid=
Referrer      : http://www.cureconnections.com/testforum2/private.php?do=newpm
IP Address    : XXX.XXX.XX.XXX
Username      : ceho
Classname     : vB_Database_MySQLi
MySQL Version : 5.0.77
Received pm's can be opened without issues, however there is no attachment preview and if you click on the attachment an error message appears saying an invalid file has been specified.

Just thought you should know .
Reply With Quote
  #19  
Old 06-09-2012, 02:19 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a friendly note:
As stated in the Add-on Information, this work is unsupported - all support requets will therefore be ignored.

Thank you very much for your unterstanding.
Reply With Quote
  #20  
Old 06-09-2012, 02:23 PM
ceho ceho is offline
 
Join Date: Mar 2008
Location: Germany
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's why I don't ask for help but let you know what happens. In case you might need it .
Reply With Quote
  #21  
Old 06-10-2012, 02:22 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting this when trying to upgrade to beta 2:

Fatal error: Using $this when not in object context in /home/thebull/public_html/forums/includes/adminfunctions_plugin.php(1174) : eval()'d code on line 3
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 04:34 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.08784 seconds
  • Memory Usage 2,339KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (15)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete