Version: 1.00, by bjhuang
Developer Last Online: Jun 2013
Category: Miscellaneous Hacks -
Version: 3.8.0
Rating:
Released: 01-15-2009
Last Update: 01-15-2009
Installs: 141
Uses Plugins
Re-useable Code
No support by the author.
Product: 1
Plugin: 2
Query: 0
tested only on the pure installation of vbulletin. install at your own risk to work with other attachment mods.
Feature
* put a logo (watermark) on your attachments.
* option to watermark only attachments after X days of creation. this helps your hotlinked images become free ads.
* option to watermark thumbnails but stop hotlinking to full size image (return a blank image instead)
* option NOT to watermark images for traffic from certain sites
Install
Step 1: import product-watermark.xml
Step 2: create and upload your own watermark logos. one for top and one for bottom.
Step 3: put the absolute path of watermark images into options. (/var/www/html/.../watermark.png)
Step 4 (optional) : if you don't want the attachments watermarked viewing on your own site or some other friend sites (like google image), just put the domains into "Skip Referer" option.
Not working
1. set the "Days Delay" option to 0
2. refresh your cache by press Ctrl-F5.
3. the watermark images should be in PNG format with transparent background.
4. check the "Safe Mode Temporary Directory" option. the directory should be writable.
5. only works for PNG, GIF, JPG attachments.
6. only works if the attachments are stored in the filesystem.
7. GD library should be installed.
Todo
* currently, we have to create a temp file while sending a watermarked attachment. It will be appreciate if anybody can help me to get rid of this.
The most famous travel forum in chinese world - www.bbkz.com
my own forum gets 5M+ attachment hits per month. the load increase is minor.
watermarking attachments on upload is not an option because you do not own the image and you do not have the right to put your own mark on it.
Quote:
Originally Posted by mindhunter77
I'm worried about the load this my place on a large forum, anyone notice? Why not just perm apply the watermark at upload, strangly enough, there does not seem to be a mod that does that.
Is there some extra code I can add somewhere so that it won't even CHECK to watermark when displaying threads?
My forum is picture-based (thousands of thumbnails, some posts have hundreds each post) and for the wide thumbnails, this mod is sticking a watermark on them! Aarrrrhh!!
Most of my thumbnails aren't ^^ that wide, I just created that one custom to show what's happening.
Turning this mod OFF while displaying thumbnails would be best as it would decrease # of queries when showing thumbnails and would really increase speed. I'd like to have this mod active ONLY when a user clicks on a thumbnail to display the full size image.
Another way would be to have mod active only when image width is greater than... [enter pixels]
A quick fix would *greatly* be appreciated. 'Will even pay!