vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Attached Image Watermarking PLUS Guest Viewing of Thumbnails (https://vborg.vbsupport.ru/showthread.php?t=141883)

ConqSoft 03-15-2007 05:48 PM

You shouldn't attach that because it contains too much vBulletin code.

But, double check everything because it's working fine for others. It could also be a conflict with some other mod you have installed.

Ntfu2 03-16-2007 05:51 PM

When this is enabled some thumbnail images become broken? When disbaled, they all work just fine. Any idea?

ConqSoft 03-16-2007 05:53 PM

No idea... Do you have any other attachment/thumbnail related hacks running that may conflict?

Sychev_S 03-16-2007 09:55 PM

Thank you, Works like a charm!

Pottsy 03-17-2007 11:57 AM

This mod is great - thank you for sharing!

One issue (and I think it's me being thick or just the way vB works) - I display images in line to registered users (no pesky thumbnails). If I want to show thumbs to unregistered users, I need to turn on thumbnails (and build them), but there seems to be no way to now let registered users to view in line.

So, can I show thumbs to unregistered users but still show full images inline to registered users?

ConqSoft 03-17-2007 12:38 PM

Not without some additional hacking/mods....

Pottsy 03-19-2007 10:13 AM

Thanks - was just checking I understood it correctly.

One more thing - when the watermark is displayed (I'm using a transparent png) the overall quality of the displayed jpg goes down quite significantly. Is there any way around this?

voter 03-19-2007 11:51 AM

Quote:

Originally Posted by benjaminkramer (Post 1204282)
yes I did
here is my attachment_watermark.php

I tested your attachment, works without problems.

Check if you really change your Attachment Storage Type into Filesystem

And the path to watermark image is correct in AdminCP -> vBulletin Options -> Attachment Watermarks

voter 03-19-2007 01:50 PM

How about pictures putted via [ IMG ][ /IMG ] tags? Is there any way to put a watermark on them,too?

ConqSoft 03-19-2007 01:55 PM

Quote:

Originally Posted by voter (Post 1207321)
How about pictures putted via [ IMG ][ /IMG ] tags? Is there any way to put a watermark on them,too?

No, this works for attached images only. If the images are on other servers you don't have any control over them, so you can't.

( Plus, they aren't on your server anyway, so you don't really have the right to watermark them. :D )

daddygrim 03-19-2007 03:00 PM

any luck??????

ConqSoft 03-19-2007 03:01 PM

Any luck with what?

voter 03-22-2007 10:38 AM

There is a conflict with Attachments in Private Messages
https://vborg.vbsupport.ru/showthrea...83#post1209483

voter 03-22-2007 10:42 AM

Quote:

Originally Posted by ConqSoft (Post 1207323)
No, this works for attached images only. If the images are on other servers you don't have any control over them, so you can't.

( Plus, they aren't on your server anyway, so you don't really have the right to watermark them. :D )

Sure for copyright one have no right to put his watermark on pictures from other servers, but I was thinking to put on images in [ img ] tags something like "Originaly on (URL)" and as URL to use the original path to image - so that people differ which pictures are from local forum and which not.

bacanze 03-22-2007 11:10 PM

Great idea, I will give it a go tomorrow, anyone got an example?

phill2003 03-24-2007 03:35 PM

good stuff, Installed thanks very much.

casidom 03-24-2007 10:55 PM

ConqSoft!

Why don't you attach your attachment_watermark.php file and share it with us? That would be great. I followed all your steps, but it seems like not working at all. My attachment thumb nails did not show up.

And some more question for you, what is "The full physical path to the image you wish to use for your watermark."? Where do I find it? Does it look like "/var/www/vhosts/...../images/watermark.png"?

Thank you.

ConqSoft 03-24-2007 11:08 PM

As I noted on the hack at the top, I can*t attach the file because it contains too much vBulletin code.

Yes, that would be the full physical path.

milsirhc 03-24-2007 11:08 PM

Yup! If you can kindly attached the attachment_watermark.php, that would be fantasticcccc!!

casidom 03-25-2007 12:35 AM

Dear ConqSoft!

First of all I'd like to thank you for your quickly answer my question. Second of all, I'd like you to complete your steps in your first post because when I read all messeges in this thread, you and people have changed a lot of stuff in it. Like in secod page you said re-do step 5 and 6, I did and it still doesn't work. So, can you please post your final steps so we can follow it and make it work.

Thank you for you help.

By the way, your websites are really impresive!

ConqSoft 03-25-2007 12:47 AM

Everything as posted works fine. There was a problem very early on, but it was corrected and many people (30+) have installed it since then without issues. Make sure your site meets the requirements listed (GD2 installed, attachments stored in the file system, full physical path specified to your watermark, etc) and it should work fine.

But, as this is an unsupported hack, that's about all the help I can offer.

Thanks

casidom 03-25-2007 01:09 AM

ConqSoft!

My site has all the requirements listed. I tried to follow all your steps again, but the thumb nails don't show up, my attachments don't show up. In page 3, I saw benjaminkramer has attached his attachment_water.php file, I download it and try. Now, my thumb nails are showed up, but watermark is still not showed up. Please help.

ConqSoft 03-25-2007 01:10 AM

It could also be a conflict with some other hack you have installed.

Sorry, I can't offer any additional help.

sensimilla 04-01-2007 10:01 AM

Its working for me on all forums but not in vbadvanced modules, any ideas why ?

Thanks in advance!

rhinoForums.net 04-04-2007 05:58 PM

Well, I was pretty excited about this mod but after running through the motions 3 times, my forum is still un-modded. I have added the new file (attachment_watermark.php), I have GD2 installed, I am using filesystem attachments (not database) and I have specified the full path to my transparent .png. Unfortunately my board acts the same as it did before. Nothing broke, but nothing changed either.

Thanks for the help and thanks a ton for posting this mod. I appreciate the help and hopefully will figure out what is causing my problems. If I do get it solved I'll let everyone know my problems/solutions.

Red Spider 04-04-2007 08:14 PM

THANK YOU SOOOOOOOOOOOOOOOOO MUCH!!

I will make a donation on this :D

Red Spider 04-04-2007 09:33 PM

Okay this doesnt work for me :(

My GD version is: GD Version bundled (2.0.28 compatible) & FreeType Version 2.1.9

but no image :(

EDIT:

image now works - but no watermark - i have the EXACT physical path set

Red Spider 04-05-2007 06:46 PM

Fixed :)

Thanks for sharing :D

itsblack 04-05-2007 08:40 PM

Actually I only need the "Guests view thumbnails" function, so I ripped it from the mod.
Anyway, thanks a lot for this useful mod. click "installed".

peterpigman 04-05-2007 08:58 PM

Nice! Works well TYVM. Took a while to figure out how to do it but it is well worth it. Kudos for releasing it.

z0diac 04-06-2007 11:41 AM

Great mother of god - I've been waiting for something like this since the day of my vB install.

QUESTION: Is there any way (or future plans) to have it add text BELOW the original image instead of a watermark directly over top of the image? I know my users would want my head on a pike if I covered up part of their photos with a watermark, no matter what the size of it....

taheri6 04-06-2007 05:21 PM

Hello,

I am going to sound like a retard, but how to I verify if the attachments are in the filesystem? I checked in the ACP->options->Message attachment options - and I dont see where I can choose.

I have the mod installed, and everything looks the same as it did before I installed the mod, no difference.

ConqSoft 04-06-2007 05:25 PM

AdminCP->Attachments->Attachment Storage Type

taheri6 04-06-2007 05:44 PM

Doh, thanks!

I changed to the file system and now it works! YAY! Thanks for the mod, and for helping the retarded :)

Galt56 04-09-2007 07:30 PM

Just wondering if anyone had seen errors like this:

Quote:

Warning: getimagesize(/kunden/hompages/REST OF PATH TO IMAGE LISTED HERE) [function.getimagesize]: failed to open stream: No such file or directory in /attachment_watermark.php on line 97

Warning: imagecreatefrompng(/kunden/hompages/REST OF PATH TO IMAGE LISTED HERE) [function.imagecreatefrompng]: failed to open stream: No such file or directory in /attachment_watermark.php on line 138

Warning: imagesx(): supplied argument is not a valid Image resource in /attachment_watermark.php on line 157

Warning: imagesy(): supplied argument is not a valid Image resource in /attachment_watermark.php on line 158

Warning: imagecopy(): supplied argument is not a valid Image resource in /attachment_watermark.php on line 160

Warning: Cannot modify header information - headers already sent by (output started at /homepages/REST OF PATH TO IMAGE LISTED HERE/includes/class_core.php:3036) in /attachment_watermark.php on line 240
The error messages continue with other lines when you click on a thumbnail and try to view the full-sized image. The thumbnails are fine.

I have tried to edit the attachment.php file twice and followed all the steps. A transparent png file is being used for the watermark as the full path to the image from the server root (as determined by php info) is being used.

I have verified GD version 2+ and images are stored in a file system.

Thanks.

adrianus 04-19-2007 09:52 AM

Made changes for gif and it works perfectly!

Thanks.

tekstylez 04-23-2007 05:19 PM

is there anyway to watermark bbcode images?

Ntfu2 04-26-2007 02:54 AM

finally got around to redoing the steps, and reuploading the product.

Everything works perfect again, thanks for the great mod!

bjhuang 04-26-2007 03:20 PM

how to watermark hotlinked images only?

Ntfu2 04-26-2007 03:21 PM

You can't watermark images that are not on your server.


All times are GMT. The time now is 01:03 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.03317 seconds
  • Memory Usage 1,812KB
  • 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_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
  • (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