Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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
  #32  
Old 06-10-2012, 01:44 PM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ran it on my test site first. No problems. How was I to know that following his instructions on uninstalling would cause this?
Reply With Quote
  #33  
Old 06-10-2012, 03:11 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I ran it on my test site first. No problems.
Did you test that uninstalling Beta 1 (and afterwards installing Beta 2) on a test installation works without problems?

Anyway, manually fixing the DB is quite a bit complicated - you can look at the installation/uninstallation code (which has been updated to fix the bugs you came across) to get an idea what needs to be done.
Reply With Quote
  #34  
Old 06-12-2012, 07:50 AM
kevius kevius is offline
 
Join Date: Oct 2009
Location: France
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idear about the final version date ?
Reply With Quote
  #35  
Old 06-12-2012, 09:45 AM
Altari Altari is offline
 
Join Date: Sep 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working for me, errors during the installation :
Database error in vBulletin 4.2.0:

Code:
Invalid SQL:

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

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2
Error Number  : 1064
Moroever, after a lot of try, i can see
Code:
[Tue Jun 12 12:29:32 2012] [warn] [client XXX] mod_fcgid: stderr: PHP Warning:  Invalid argument supplied for foreach() in /var/www/packages/navmanenhancements/admin.php on line 43, referer: http://website/admincp/plugin.php?do=productadd
in my apache error log. Don't know what your other addon is doing here...


Thank you Andreas for this mod, would be great.
Reply With Quote
  #36  
Old 06-14-2012, 04:34 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kevius View Post
Any idear about the final version date ?
It's ready when it's ready, eg. when there are no more bugs being reported.

@Altari
Thanks for this bug report, it will be fixed in Beta 3.
Reply With Quote
  #37  
Old 06-16-2012, 02:11 PM
betterthanyours betterthanyours is offline
 
Join Date: May 2012
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another one

Code:
Database error in vBulletin 4.1.12:

Invalid SQL:

	INSERT INTO package
	(productid, class)
	VALUES
	('pmattachments', 'PMAttachments');

MySQL Error   : Duplicate entry 'PMAttachments' for key 'class'
Error Number  : 1062
Request Date  : Saturday, June 16th 2012 @ 11:10:43 AM
Error Date    : Saturday, June 16th 2012 @ 11:10:43 AM
Script        : http://www.unrealkillers.com/admincp/plugin.php?do=productimport
Referrer      : http://www.unrealkillers.com/admincp/plugin.php?do=productadd
IP Address    : 86.19.247.18
Username      : $carface
Classname     : vB_Database
MySQL Version : 5.5.24-cll
Reply With Quote
  #38  
Old 06-25-2012, 06:18 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am awaiting this mod! I've got it tagged. Thanks for this Andreas
Reply With Quote
  #39  
Old 06-25-2012, 10:50 AM
qpurser qpurser is offline
 
Join Date: Jul 2011
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andreas,
just wanted to give you some feedback regarding your once again excellent mod.

Running vb 4.2.0 on a test server
Upgraded from your Beta1 to Beta2. (for those reading this I did NOT uninstall Beta1 and then installed Beta2 but did a regular update)

I didn't get any error messages at all
Sending and receiving the attachments worked just fine

On a side note I am using also DBTech "vb optimize" which moves the attachments from the database to a folder as files.
Your plugin works fine with or without this add-on.
Reply With Quote
  #40  
Old 06-30-2012, 06:19 PM
horusbird horusbird is offline
 
Join Date: Oct 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

error in installation:

Code:
Database error in vBulletin 4.2.0:

Invalid SQL:

	INSERT INTO package
	(productid, class)
	VALUES
	('pmattachments', 'PMAttachments');

MySQL Error   : Duplicate entry 'PMAttachments' for key 'class'
Error Number  : 1062
Request Date  : Saturday, June 30th 2012 @ 09:18:19 PM
Error Date    : Saturday, June 30th 2012 @ 09:18:19 PM
Script        : http://www.vesparesources.com/adminc...=productimport
Referrer      : http://www.vesparesources.com/adminc...?do=productadd
IP Address    : 79.13.184.169
Username      : horusbird
Classname     : vB_Database
MySQL Version : 5.1.33-community
Reply With Quote
  #41  
Old 07-03-2012, 07:07 PM
betterthanyours betterthanyours is offline
 
Join Date: May 2012
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by betterthanyours View Post
Another one

Code:
Database error in vBulletin 4.1.12:

Invalid SQL:

	INSERT INTO package
	(productid, class)
	VALUES
	('pmattachments', 'PMAttachments');

MySQL Error   : Duplicate entry 'PMAttachments' for key 'class'
Error Number  : 1062
Request Date  : Saturday, June 16th 2012 @ 11:10:43 AM
Error Date    : Saturday, June 16th 2012 @ 11:10:43 AM
Script        : http://www.unrealkillers.com/admincp/plugin.php?do=productimport
Referrer      : http://www.unrealkillers.com/admincp/plugin.php?do=productadd
IP Address    : 86.19.247.18
Username      : $carface
Classname     : vB_Database
MySQL Version : 5.5.24-cll
Quote:
Originally Posted by horusbird View Post
error in installation:

Code:
Database error in vBulletin 4.2.0:

Invalid SQL:

	INSERT INTO package
	(productid, class)
	VALUES
	('pmattachments', 'PMAttachments');

MySQL Error   : Duplicate entry 'PMAttachments' for key 'class'
Error Number  : 1062
Request Date  : Saturday, June 30th 2012 @ 09:18:19 PM
Error Date    : Saturday, June 30th 2012 @ 09:18:19 PM
Script        : http://www.vesparesources.com/adminc...=productimport
Referrer      : http://www.vesparesources.com/adminc...?do=productadd
IP Address    : 79.13.184.169
Username      : horusbird
Classname     : vB_Database
MySQL Version : 5.1.33-community
Any news on this error?
Reply With Quote
Reply


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:43 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.05113 seconds
  • Memory Usage 2,353KB
  • 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
  • (6)bbcode_code
  • (4)bbcode_quote
  • (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
  • (4)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