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)

vinkenier 01-14-2012 07:12 PM

Quote:

Originally Posted by BadgerDog (Post 2203091)
Update ... :)

Did so more research and there's definitely a pattern of only grey bars appearing for pics over a certain HxW ...

For example, it seemed to be working fine on recent uploads, then a member just added 3 pics that are 1279px ? 959px, they display fine, however, all three have a grey bar across the bottom.

I noticed that another member immediately afterwards uploaded some pic attachments that were less than 1024x768 and the watermarks show just fine on them ...

Hope that helps debug things ... :up:

Regards,
Doug

Edit: I've added another example that shows how large pics seem to a factor in triggering the grey bar. The pic attached is one a member just uploaded as an attachment and it's 2448px ? 2958px (scaled by vBulletin for internal storage to 532px ? 643px).

I'm having the same problem. Is there any solution yet?
Happens when you you upload bigger pics and when the watermark is not set to the bottom. When I set it to the bottom corner, it's working fine. But I want to get this working with the watermark in the center.
Using vb 4.1.9

angeljs 01-15-2012 10:55 AM

Working great on 4.1.10 so far :)

Kraxell 01-15-2012 11:18 AM

work with 4.1.9 too.

4nawadir.com 01-17-2012 12:34 PM

Good Job ! 5 Starts
Can i translate it to ARABIC?

Disasterpiece 01-18-2012 11:27 AM

Sure, why not

fromtheflames 01-18-2012 12:31 PM

Quote:

Originally Posted by vinkenier (Post 2287810)
I'm having the same problem. Is there any solution yet?
Happens when you you upload bigger pics and when the watermark is not set to the bottom. When I set it to the bottom corner, it's working fine. But I want to get this working with the watermark in the center.
Using vb 4.1.9

Same here

Do something please!

4nawadir.com 01-18-2012 04:37 PM

1 Attachment(s)
Translated !

http://www.traidnt.net/vb/traidnt2022257/

in attachments !

Reed_HCT 03-29-2012 07:04 AM

The scheduled task for cache pruning does not work for me.

Cache liftime is set to 86400 (1 day) and lru table size is set to 100.
The task is scheduled at 9 am.
I'm running vbulletin 4.1.11

When I look into the cache dir I find all the files created since the last manual cache prune, while I suppose only to see files created from 9 am of yesterday, and no more than 100 files.

Mopar1973Man 03-30-2012 10:11 PM

Really good mod! :up:

I got it installed on 4.1.11 and no problems so far... I really do like the different options, preview panel, etc. :D

BryanLong 04-01-2012 11:15 PM

Dear Disasterpiece,

installed your Add-On on my forums (4.1.11) and everything seemed to work as we have tested the Board; but now in Live-Stages just two questions

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


Note: Edited out the Board-URL as our Forums are "Not Safe for Work"
;)

Is there anything I can do preventing this Error? The Pictures seems to be uploaded correctly.

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.

Can imagine to pay for such feature; maybe you can drop me a line.

Greetings,
Bryan

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?

lovevn 06-04-2012 02:24 PM

Quote:

Originally Posted by Disasterpiece (Post 2336173)
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?

Hello
Thanks for your reply.
Does any kink of the compression influence on your mode?
I am not sure if I have any of those compression. Could you please tell me how to check if any of the running on my server ?

Disasterpiece 06-05-2012 01:34 AM

Quote:

Originally Posted by lovevn (Post 2336490)
Hello
Thanks for your reply.
Does any kink of the compression influence on your mode?
I am not sure if I have any of those compression. Could you please tell me how to check if any of the running on my server ?

First, send me a link to your forums or an album/thread where you see this happening.

hhumas 06-12-2012 05:45 PM

where can i get it for vb 4.1.5

inigo 06-14-2012 07:00 AM

Hello,

I have a question. I have been using this mod since the first day it was released, and is wonderful.

But recently i have changed my CMS thumbnail preview image size, from 175 to 350, and i clear all the caches, and generate the thumbnails (attachment images) again, and the same with this mod cache.

And now the issue is that the images are correctly watermarked, but the new 350px thumbnail aren't. Before i could see the watermark in the thumbnails too.

Can you give me any idea to solve this? I would like to have myy new bigger thumbnails watermarked too.

Vb 4.1.7.

in the mod settings I have minimum image size 150 (before with the thumbnails 175 it worked perfectly).

Thanks!

Disasterpiece 06-14-2012 11:32 AM

Quote:

Originally Posted by inigo (Post 2339464)
Hello,

I have a question. I have been using this mod since the first day it was released, and is wonderful.

But recently i have changed my CMS thumbnail preview image size, from 175 to 350, and i clear all the caches, and generate the thumbnails (attachment images) again, and the same with this mod cache.

And now the issue is that the images are correctly watermarked, but the new 350px thumbnail aren't. Before i could see the watermark in the thumbnails too.

Can you give me any idea to solve this? I would like to have myy new bigger thumbnails watermarked too.

Vb 4.1.7.

in the mod settings I have minimum image size 150 (before with the thumbnails 175 it worked perfectly).

Thanks!

hmm this is strange... When you change the size back to where it was before, does it work?

TerryMason 06-14-2012 11:58 AM

Disasterpiece,
Are we supposed to get instructions on watermark removal after making a donation? I've manually removed mine, but I wouldn't mind some official instructions to make sure that I've done it right.

I'm also still having problems with older photos not being watermarked. Is this expected behavior (only photos uploaded recently get watermarked).

Disasterpiece 06-14-2012 12:04 PM

Quote:

Originally Posted by TerryMason (Post 2339505)
Disasterpiece,
Are we supposed to get instructions on watermark removal after making a donation? I've manually removed mine, but I wouldn't mind some official instructions to make sure that I've done it right.

I'm also still having problems with older photos not being watermarked. Is this expected behavior (only photos uploaded recently get watermarked).

You can send me your server credentials per PM so I can take a look myself.
preferably ftp/administrative forum account.

lovevn 06-14-2012 12:19 PM

Quote:

Originally Posted by Disasterpiece (Post 2336622)
First, send me a link to your forums or an album/thread where you see this happening.

Thanks for your reply.
I disabled it for many days and today I tried turning it on. It works now.
I will ask you again, if there is some problem happens.

Edit:
It happens again. Pm sent

ywwz 06-19-2012 07:12 AM

text works, but image doesn't...

inigo 06-19-2012 07:33 AM

Quote:

Originally Posted by Disasterpiece (Post 2339502)
hmm this is strange... When you change the size back to where it was before, does it work?

Sorry, I have thousands of attachments, is it necesary to recalculate all again? I will PM you with my forum info, so you can see the problem,

If it's necessary to recalculate i will do,m but I would like not to recalculating/generating all again (a lot of time and page slowing down,...)

Thanks!

Athena1984 06-25-2012 04:24 AM

I'm using 4.2.0 and I am not seeing any watermark on the pictures even after refreshing and my images in the vault wiki aren't showing at all.

dwx 07-07-2012 10:35 AM

I'm using 4.2.0, and I managed to get this addon working. Two things that I did that weren't completely obvious:
  1. moved the images OUT of the DB into the file system.
  2. added the GD module to the web server.
It works now, BUT I've got performance issues. The first view of a photo usually shows the spinning icon indefinitely and you must click the icon to see the full sized image to get past the place it gets "stuck".



I'd much rather the extension made the watermarked images for the cache at the time they were uploaded and not when they are first viewed.


Otherwise, it works brilliantly.


If I was going to BEG for an additional feature, it would be an option for users to add their own individual watermarks as well.


Thanks for this Disaster!


-dwx

zooki 07-11-2012 07:42 PM

Hi , the watermark image would not show because I had another name for the admin directory. Once I renamed Admincp, it worked. Anyone know a workaround, because I like having a different name for the admincp.

karlm 07-11-2012 11:49 PM

Quote:

Originally Posted by zooki (Post 2347082)
Hi , the watermark image would not show because I had another name for the admin directory. Once I renamed Admincp, it worked. Anyone know a workaround, because I like having a different name for the admincp.

This should be a given for all vbulletin customers. I'm surprised the creator of the plugin hasn't used the variable instead of hard coding it :(

This means I'm probably not going to be able to use it either now...

imported_dfmafia 07-12-2012 08:03 PM

no issues with 4.2.0 PL2. all attachments are watermarked.

had images in database and it worked. recently moved to file system and they work as well.
changed servers, imported 3 vB sites into one (impex) and all old attachments got the watermark as well.

I just tested this with PHP 5.3 and it was breaking the watermark and attachments came out in halves. i switched back to 5.2 and all is good. attachments upload fine, displayed inline fine with watermark

snotek 09-03-2012 02:37 PM

I seem to get these randomly and I can only surmise that it happens everytime an image is uploaded to the site. (which would naturally be watermarked per your add-on)

Database error in vBulletin 4.2.0:

Invalid SQL:

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

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Sunday, September 2nd 2012 @ 09:56:08 AM
Error Date : Sunday, September 2nd 2012 @ 09:56:40 AM
Script : http://diydronesafety.com/attachment...ttachmentid=87
Referrer : http://diydronesafety.com/content/11...-redboard.html
IP Address : 92.157.176.188
Username : Unregistered
Classname : vB_Database_MySQLi
MySQL Version :


The issue that I have is that it's always generated by an "Unregistered" user, which on our site has no permissions to post, thus no permissions to upload images. The IP address listed is also always from some foreign country. (.fr in the example above)

My biggest fear here is that this script can be used to compromise the security of our server and that is no good.

Can you please explain why these errors occur and how they may be corrected?

Disasterpiece 09-03-2012 03:08 PM

Hi

Not related with the mod, appears when the mysql server is stretched beyond its performance limits.

http://dev.mysql.com/doc/refman/5.1/en/gone-away.html

Alibass 09-08-2012 01:33 PM

@Disasterpiece

I know you do not support this mod, but I have a question I hope you would answer.

I have installed DBTech Dragonbyte Gallery (link) and your mod doesn't seem to work with it like it does using Picture and Gallery (link). Is there something I'm over looking or the two mods incompatible with each other?

Thanks in advance.

-A

Mark_Zuckerberg 09-28-2012 08:27 PM

i need a mod which puts water mark on any pic like if in a post someone post a pic like this

Code:

[image]www.photopucket.com/album/photo/google doodle.png[/img]
so on that pic water mark of outr forum should be added is this possible?

Disasterpiece 09-29-2012 02:01 PM

Quote:

Originally Posted by Alibass (Post 2363669)
@Disasterpiece

I know you do not support this mod, but I have a question I hope you would answer.

I have installed DBTech Dragonbyte Gallery (link) and your mod doesn't seem to work with it like it does using Picture and Gallery (link). Is there something I'm over looking or the two mods incompatible with each other?

Thanks in advance.

-A

I don't support compability between other mods at this time.

Quote:

Originally Posted by Mark_Zuckerberg (Post 2369321)
i need a mod which puts water mark on any pic like if in a post someone post a pic like this

Code:

[image]www.photopucket.com/album/photo/google doodle.png[/img]
so on that pic water mark of outr forum should be added is this possible?

No, the mod does only apply watermarks on images which are hosted on the same server.


All times are GMT. The time now is 08:06 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.02742 seconds
  • Memory Usage 1,853KB
  • 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
  • (4)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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