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)
-   -   Social Group and Album Enhancements - Watermark Generator (https://vborg.vbsupport.ru/showthread.php?t=263804)

Disasterpiece 04-02-2012 02:50 PM

Quote:

Originally Posted by BryanLong (Post 2315882)
1) MySQL-Errors
Code:

Invalid SQL:

                        REPLACE INTO datastore
                                (title, data, unserialize)
                        VALUES
                                ('plwm_cache', 'a:1:{i:0;s:3:\"970\";}', 0);

MySQL-Fehler  : MySQL server has gone away
Fehler-Nr.    : 2006
Fehler-Zeit  : Monday, 02.04.2012 @ 01:48:56
Datum        : Monday, 02.04.2012 @ 01:51:40
Skript        : http://URL/attachment.php?attachmentid=970&stc=1
Referrer      : http://URL/newthread.php?do=newthread&f=15
IP-Adresse    : 2.213.131.65
Benutzername  : jf1
Klassenname  : vB_Database


"MySQL server has gone away" usually refers to: MySQL Server crashed/exeeded its limits. This is a hoster-specific problem and not related to vb/the mod.

Quote:

2) My Users are moaning about the Add-On as it will "destroy small pictures".
Means if you have big HQ-Pictures of about 2000 px (or up) you will need a much bigger watermark to make it "visibe" even on big pictures, but then smaller pictures (reaching their threshold) don`look goog anymore.

So will there be any possibility to somehow add scaling to the Add-On; so that the watermark-sizes is set depending on this size of the uploaded picture.
Watermark scaling doesn't make much sense imho, because on huge pictures, you have a huge annoying watermark which looks pixelated and low-quality. On small pictures you might run in trouble that it's too small to read it properly.

Because of the small images issue, I added the option to exclude images below a size of x pixels which should be enough to prevent the case that pictures get broken.

Sommersprosse 04-11-2012 01:05 PM

Quote:

Originally Posted by Disasterpiece (Post 2316023)
Watermark scaling doesn't make much sense imho, because on huge pictures, you have a huge annoying watermark which looks pixelated and low-quality. On small pictures you might run in trouble that it's too small to read it properly.

Because of the small images issue, I added the option to exclude images below a size of x pixels which should be enough to prevent the case that pictures get broken.

I have two ideas for this problem:
  • watermark 1 for graphics that are smaller than X pixels (or deactivated)
  • watermark 2 for graphics that are between x and x pixels pixels (maybe 1000px to 2000px)
  • watermark 3 for graphics from size x pixels (over 2000px)

Moreover it would be awesome to be able disable the watermark for select individuals forums.

Please let me know, what you think about it.

Greetings

Sommersprosse

BryanLong 04-11-2012 07:54 PM

Quote:

Originally Posted by Sommersprosse (Post 2319022)
I have two ideas for this problem:
  • watermark 1 for graphics that are smaller than X pixels (or deactivated)
  • watermark 2 for graphics that are between x and x pixels pixels (maybe 1000px to 2000px)
  • watermark 3 for graphics from size x pixels (over 2000px)

Moreover it would be awesome to be able disable the watermark for select individuals forums.

Please let me know, what you think about it.

Greetings
Sommersprosse

To add up to my colleague:

We will be willing to donate/pay something for getting any of the two possibilities mentioned:
  • Set specific Forums where the Watermark-Add-On will be disabled
  • Different Watermark-images depending on Picture-Sizes

Greetings,
Bryan

thanasis1 04-13-2012 09:04 PM

on 4.1.13 does not load the attachments at all

oddmud 05-01-2012 02:19 PM

Any updates on this for working with the latest version?

dog-tag 05-20-2012 12:45 PM

I'm going to try this out... If the developer wants to use my forum to beta test more, I'm up for it!

I love supporting new projects :)

TerryMason 05-30-2012 08:56 PM

For some reason this is only watermarking new attachments - old ones don't have it.

Other than that it seems to be working well.

Alibass 05-30-2012 09:02 PM

Works well for me, I just updated to 4.2.0 a few days ago.

lovevn 06-01-2012 04:12 PM

Hello
I have tried this mod on vbulletin 4.2.0. It works but I have problem with some images: just a half(top) of the image appear(other part is just a white screen). This happens with cms/ blog and album.

I have check the caches folder and the images were display fully in it.

Disasterpiece 06-03-2012 03:06 PM

Quote:

Originally Posted by lovevn (Post 2335490)
Hello
I have tried this mod on vbulletin 4.2.0. It works but I have problem with some images: just a half(top) of the image appear(other part is just a white screen). This happens with cms/ blog and album.

I have check the caches folder and the images were display fully in it.

I've heard of this issue before. This happens if the image size changes before sending the picture to the user.

Do you have any kind of compression running? maybe mod_gz or some other kind of webserver output compressing?


All times are GMT. The time now is 04:25 AM.

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.01247 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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