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)

voter 07-07-2008 01:59 PM

Not really working with 3.7.x

Lightbox that comes with vbulletin don't work reporting

Quote:

imagelink is not defined vbulletin_lightbox.js Line 11
But when one double clicks on attachment it appears in separate window with watermark defined in this hack.

Seems some recoding in attachment_watermark.php must be done.

ehsanix 07-10-2008 07:15 PM

great hack
installed & working gretley
thank u 4 sharing this freely

ehsanix 07-10-2008 07:16 PM

also nominated hack of the month byme
thanks ahead

aajobj 07-11-2008 11:20 AM

Quote:

Originally Posted by voter (Post 1569125)
Not really working with 3.7.x

Lightbox that comes with vbulletin don't work reporting

But when one double clicks on attachment it appears in separate window with watermark defined in this hack.

Seems some recoding in attachment_watermark.php must be done.

Just recreate attachment_watermark.php from attachment.php that comes with 3.7.x (follow the mod's instructions how to do it). This worked for me, and with Lightbox on.

ShackMaster 07-21-2008 01:23 AM

Does not work for me in 3.7 ... with our without Lightbox.

AnabolicResourc 07-21-2008 06:20 PM

Works great in 3.7.2 !

Thanks !

rushabh 08-02-2008 11:24 AM

Works like a charm. Thanks for sharing!

mustang_lex 08-06-2008 01:13 AM

Quote:

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

You are a lifesaver. After a few error messages, I uploaded your version and works PERFECT!!!!

frank44 08-27-2008 05:38 PM

Quote:

Originally Posted by aajobj (Post 1572717)
Just recreate attachment_watermark.php from attachment.php that comes with 3.7.x (follow the mod's instructions how to do it). This worked for me, and with Lightbox on.


So you are saying to just follow the same installation steps with this mod as you would if you had 3.6?

frank44 08-27-2008 06:47 PM

Are you guys having a problem with the pictures hanging when trying to load after clicking on the thumbnails?

minky1 09-03-2008 07:11 PM

This is a fantastic mod, has anyone managed to get it to work with vbadvanced CMPS ?
I would hope it is possible ?

minky1 09-09-2008 01:56 PM

Unfortunately this seems to break the 'Limit attachment downloads' mod (https://vborg.vbsupport.ru/showthread.php?t=152701)

:(

nando99 09-09-2008 06:37 PM

Still can't get it to work with the lightbox on 3.7.3. I've read the full topic a few times and I've just confused myself... lol

Kahuna900 09-09-2008 08:09 PM

Quote:

Originally Posted by nando99 (Post 1618419)
Still can't get it to work with the lightbox on 3.7.3. I've read the full topic a few times and I've just confused myself... lol

Who said they got it to work with lightbox? :confused:

The mod works as designed in 3.7.3 with lightbox turned off.

nando99 09-10-2008 07:24 PM

You're right... I must've mistaken this mod with another mod. My bad...

acyk 09-14-2008 04:15 AM

Dear sir

I got some error with some post ,but not every post with the attachement got this error code

Code:

Warning: getimagesize([path]/uploads/attachments/2/2657.attach) [function.getimagesize]: failed to open stream: Permission denied in [path]/attachment_watermark.php on line 139

Warning: fopen([path]/uploads/attachments/2/2657.attach) [function.fopen]: failed to open stream: Permission denied in [path]/attachment_watermark.php on line 218

Do you have any idea to solve this problem ?

acyk 09-14-2008 05:36 AM

I have solved this problem

just go to the /forums/uploads/

Code:

chmod -R 777 *
then everything works great now

chapsrulez 09-29-2008 12:23 AM

Installed and working on 3.7.0
but it only works with a PNG as a watermark image.

dragtech 10-04-2008 01:54 AM

After some trial and error I finally got it to work.

Exactly what i needed.

codershark 11-25-2008 10:50 AM

the watermark dont works with gif pictures :-/

geevest.com 11-29-2008 12:43 AM

please updated for vbulletin a new version 3.7 :D

samiro 12-01-2008 10:49 AM

yes.
please make one for 3.7 with LightBox

TomasDR 12-05-2008 03:09 PM

I know various people reporting different things. I want to add something.

For me it is working with 3.7.4PL1 and with Lightbox turned on.

The caveat (for me at least), it doesn't work if you use the DB to store attachments. You have to use the filesystem.

Divvy 12-20-2008 03:54 PM

Dont work with 3.7.4 Patch Level 1 with LightBox enable. :(

samiro 12-22-2008 07:48 PM

please solve this !!!!!! :):)
or just tell us - what we can try...

scottct1 12-29-2008 06:04 PM

Anyone have this working with vb 3.8 RC2?

sibcom 01-06-2009 08:42 PM

+1, vote for 3.7.4

AURFSCAN 01-19-2009 11:13 PM

Works perfectly on 3.7.2 Patch Level 1

AURFSCAN 01-19-2009 11:27 PM

Every image that is attached gets the watermark, not just new ones

CrashfAB 01-20-2009 02:19 AM

I would LOVE to see this for 3.8

I tried it on my test forum and it makes the image a big red x :(

Kahuna900 01-26-2009 07:30 PM

Still working for me in 3.8.0.

Afrika 02-24-2009 10:02 AM

Works in 3.8.1 but if guest rights are no attachment, they can view the pic
maybe this ist to modyfy:
original:
PHP Code:

($hook vBulletinHook::fetch_hook('attachment_display')) ? eval($hook) : false

replaced without hook
PHP Code:

if (!$vbulletin->GPC['thumb'] AND defined('WATERMARKED'))
{
    
imagejpeg($attachimage);
    
imagedestroy($attachimage);
    
imagedestroy($watermark);


or there
org
PHP Code:

($hook vBulletinHook::fetch_hook('attachment_complete')) ? eval($hook) : false

replace with
PHP Code:

exit; 


geevest.com 02-26-2009 07:22 AM

may i know about the url path?
if my site : www.abc.com/forum/

dragtech 03-22-2009 06:13 AM

Works with 3.8.1 but you have to turn off Lightbox. Would really like for it work with Lightbox, any chance of that happening?

MikesSite 04-16-2009 04:24 AM

followed directions exactly. It works every now and then on 3.8.2 but sometimes says error on page and when you click the attachment it only shows a big black empty transparent box.

z0diac 05-04-2009 01:08 AM

HOLY smokes... I really need a watermarker (just text) but the process for this mode is just WAAAY to long.

Does anyone know of a simple upload-subdirectory-import-xml type mod for placing simple text on say the bottom right of every uploaded image?

Forensic 05-28-2009 04:52 PM

Copy and paste a few lines and its done. How much easier do you want?
I just installed it in less than 15 minutes and that was while staying on top of my normal job.

Great Mod btw, I wanted something that would not only watermark new images but also existing (a couple gigs worth). This is exactly what I was looking for.

Thank you!!

z0diac 05-28-2009 05:14 PM

Actually I just installed this one, very quick (no editing required):
https://vborg.vbsupport.ru/showthread.php?t=201972

EDIT ^^ the above watermark add-on is EASY to install *BUT* - it stops your "Times Viewed" counter from working (when you hover over thumbnails).

I may just try the add-on in this thread now. Except I have a 'guests can view thumbnails' add-on already and am scared that this mod will clash with it and mess the settings up since this one has the same feature.

Zaki Shafqat 08-23-2009 05:04 PM

is this code work on 3.8.4? please confirm

Vibhor 03-04-2010 03:54 AM

Hello, Does this mod works on 3.8.3 version? Also, Could anyone try to add a check/un-check option on Manage Attachments window where the user can select whether to watermark the specific image(s) or not.


All times are GMT. The time now is 03:19 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.01555 seconds
  • Memory Usage 1,801KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (5)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