vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Smush.it Attachment & Avatar (https://vborg.vbsupport.ru/showthread.php?t=275542)

klaus 12-05-2012 06:11 PM

1 Attachment(s)
I like the idea of this plug in. I use it but have zero way to verify if it works and how much images get compressed. I use a similar plugin for wordpress and I get good feedback from it.

The WP plug in also lets you do a Bulk image compression against all images in the library.

scottct1 12-07-2012 02:38 PM

I installed this yesterday and when people go to upload files they get a message

Warning: mkdir() [function.mkdir]: Permission denied in [path]/newattachment.php(344) : eval()'d code on line 7

Warning rmdir ([path]/tmp/smush1369) [function.rmdir]: No such file or directory in [path]/newattachment.php(344_ : eval()'d code on line 74.

Which directory is it trying to write to and what permissions are needed for that directory? if I disable the plugin things upload fine.

Thanks!

delinetci 12-18-2012 12:39 PM

error removing

https://vborg.vbsupport.ru/external/2013/07/14.jpg

final kaoss 01-24-2013 05:58 PM

He posted the fix for uninstalling or did you apply that already?

scottct1 02-01-2013 02:40 PM

Quote:

Originally Posted by scottct1 (Post 2389100)
I installed this yesterday and when people go to upload files they get a message

Warning: mkdir() [function.mkdir]: Permission denied in [path]/newattachment.php(344) : eval()'d code on line 7

Warning rmdir ([path]/tmp/smush1369) [function.rmdir]: No such file or directory in [path]/newattachment.php(344_ : eval()'d code on line 74.

Which directory is it trying to write to and what permissions are needed for that directory? if I disable the plugin things upload fine.

Thanks!

Anyone have any ideas on this one? I would love to get this working.

Xexiu 05-13-2013 06:55 PM

Quote:

Originally Posted by scottct1 (Post 2401060)
Anyone have any ideas on this one? I would love to get this working.

I have the same problem!! I made a folder on "/var/www/tmp_smush" and gived 777 permissions but still the same problem:


Code:

Warning: mkdir(): Permission denied in [path]/newattachment.php(552) : eval()'d code on line 7

Warning: rmdir([path]/tmp_smush1724): No such file or directory in [path]/newattachment.php(552) : eval()'d code on line 72

Any fix/clues?

final kaoss 07-21-2013 06:49 PM

Well you see what that error message is trying to tell you? It's saying that it can't find the table "smushed". If that's the case, try adding a table named "smushed" and see if it helps.
Quote:

Originally Posted by bankcroft (Post 2434716)
I have the same problem, and I have the newest version.
Right now, I just want to uninstall the plugin.


final kaoss 07-22-2013 12:00 AM

Good call there, does adding the 'forumdb.vb_filedata' help with anything?

EXIDE 07-25-2013 02:06 AM

Sorry about the troubles this is giving you guys at the moment but I am working on a new version now that I have time, this will be better supported and contain less bugs.

V2 features:
  • AdminCP page listing all image attachments with the current smush status. (file size, compression ratio, bytes saved).
  • AdminCP page listing all avatars (Users and pre-uploaded) with the current smush status. (file size, compression ratio, bytes saved).
  • Cronjob running every 10 minutes updating 1 image attachment and 1 avatar at a time. (PHP timeout are generaly 30 seconds, each smush can take around 15-20 seconds).
  • Option to re-smush attachments.

I hope to have this updated by saturday latest.

Justinphx 07-25-2013 03:23 AM

Sounds great. I look forward to checking it out.


All times are GMT. The time now is 03:33 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.01198 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete