Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Smush.it Attachment & Avatar Details »
Smush.it Attachment & Avatar
Mod Version: 1.1, by EXIDE (Contributor) EXIDE is offline
Developer Last Online: Apr 2016 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (0 vote - 0 average) Installs: 6
Released: 16 Dec 2011 Last Update: 26 Apr 2012 Downloads: 40
Not Supported DB Changes Uses Plugins External Content Is in Beta Stage  

This sends your image attachments and avatars to smush.it for compression, if the image can be compressed it will download the newly compressed one and replace the attachment or avatar with it.

If you would like features added to it or you find any bugs or problems please let me know.

ACP->Settings->Options->Smush.it Attachment & Avatar Options

[Requirements]
You need to be using PHP 5.2.0 or greater.
You must be storing attachments and avatars in the filesystem.


4.1.x Version: http://www.vbulletin.org/forum/showthread.php?t=275542

http://www.smushit.com/ysmush.it/

[Updates]
30/12/11:
Added option to smush user uploaded avatars.
Smarter way of fetching avatars and attachments.

24/3/12:
Added TABLE_PREFIX to install and uninstall code.
Fixed typo in uninstall code.

Remember to select "Allow Overwrite" when importing the product.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	settings.png
Views:	104
Size:	44.8 KB
ID:	135385  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Smush.it Attachment & Avatar EXIDE vBulletin 4.x Add-ons 34 01 Apr 2014 13:43

Comments
  #2  
Old 17 Dec 2011, 10:38
Arcade Fire's Avatar
Arcade Fire Arcade Fire is offline
 
Join Date: May 2008
Works fine, vB3.8.5. Thanks!
Reply With Quote
  #3  
Old 17 Dec 2011, 12:26
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Real name: Vijay
Great idea. Thanks.
Reply With Quote
  #4  
Old 17 Dec 2011, 13:12
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Real name: Vijay
Edit : not working for me. Size remains the same.
Reply With Quote
  #5  
Old 17 Dec 2011, 17:30
EXIDE EXIDE is offline
 
Join Date: Feb 2009
Real name: Liam
Originally Posted by vijayninel View Post
Edit : not working for me. Size remains the same.
Please check your PM.
Reply With Quote
  #6  
Old 29 Feb 2012, 11:18
bestone96 bestone96 is offline
 
Join Date: Sep 2011
thanks a lot
Reply With Quote
  #7  
Old 26 Apr 2012, 19:21
karel1985 karel1985 is offline
 
Join Date: Mar 2007
Real name: Karel B.
unable to install this plugin:

Database error in vBulletin 4.1.12:

Invalid SQL:
ALTER TABLE vb`attachment` ADD `smushed` VARCHAR( 3 ) NOT NULL DEFAULT 'no';

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 '`attachment` ADD `smushed` VARCHAR( 3 ) NOT NULL DEFAULT 'no'' at line 1
Error Number : 1064
Request Date : Thursday, April 26th 2012 @ 08:18:40 PM
Error Date : Thursday, April 26th 2012 @ 08:18:41 PM
Script : http://www.pc-helpforum.be/admincp/p...=productimport
Referrer : http://www.pc-helpforum.be/admincp/p...?do=productadd
IP Address : 78.22.132.252
Username : karel
Classname : vB_Database_MySQLi
MySQL Version : 5.5.21
__________________
Dutch Pc Helpforum - www.pc-helpforum.be
Reply With Quote
  #8  
Old 26 Apr 2012, 19:40
EXIDE EXIDE is offline
 
Join Date: Feb 2009
Real name: Liam
Originally Posted by karel1985 View Post
unable to install this plugin:

Database error in vBulletin 4.1.12:

Invalid SQL:
ALTER TABLE vb`attachment` ADD `smushed` VARCHAR( 3 ) NOT NULL DEFAULT 'no';

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 '`attachment` ADD `smushed` VARCHAR( 3 ) NOT NULL DEFAULT 'no'' at line 1
Error Number : 1064
Request Date : Thursday, April 26th 2012 @ 08:18:40 PM
Error Date : Thursday, April 26th 2012 @ 08:18:41 PM
Script : http://www.pc-helpforum.be/admincp/p...=productimport
Referrer : http://www.pc-helpforum.be/admincp/p...?do=productadd
IP Address : 78.22.132.252
Username : karel
Classname : vB_Database_MySQLi
MySQL Version : 5.5.21
I uploaded a different XML, try that one.
Reply With Quote
  #9  
Old 26 Apr 2012, 22:00
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
Nice work, this is something I add to my blogs.. Good to see a 3.x version
__________________

Love and support one another #vote2020
I offer Managed IT Services in Kansas
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 12:26.

Layout Options | Width: Wide Color: