The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Watermark Attachments Details »» | |||||||||||||||||||||||||||||
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 Download Now
Screenshots
Show Your Support
|
Comments |
#92
|
|||
|
|||
Requests:
- watermarks separate from image, so if changed old images show new watermark - exclusion for forum IDs - only add watermark if dimensions are greater than x and smaller than y - add watermark on images hotlinked in image tags |
#93
|
||||
|
||||
I love to see this mod re-done for the VB4 series...
I've enjoyed it while I was at 3.84... I've also help other Admins install this mod on there site too... Hopefully the author checks and sees... |
#94
|
|||
|
|||
show thums - enabled.
dowes not increase attachments views counder for me :-( |
#95
|
||||
|
||||
Ok...
I got this mod to work on vBulletin 4.0.6 it works just fine... 1. The watermark image can be either PNG 8 or a PNG 24. 2. The path to the image has to be a full path. Then the water mark is added at post time... |
#96
|
|||
|
|||
what's the dimensions of the watermark ? will it be resize automatically?
|
#97
|
||||
|
||||
Quote:
But just to update the thread... * No you don't have to modify the script at all works as is. * Just make sure you get a PNG image for a watermark and upload it to your server. * Make sure you use a full path to the watermark image in the control panel. * Yes it watermarks both gallery and the attachments both. (No control of it!) This mod does work on vB 4.0.6 and doesn't require any editing... |
#98
|
|||
|
|||
I tried this with 4.0.6 and am not having much success. Every time it adds a watermark, it also creates a shaded bar across the entire top/bottom. Here's an example. This image only has a completely transparent background and no text whatsoever. If you look at the top and bottom of this image, you can see how the color shades are darker The transparaent image is 400x50 pixels.
|
#99
|
||||
|
||||
Normal the way the script was written... Mine does the very same thing but I sure if someone has a bit of PHP experience could change the script to quit that...
|
#100
|
|||
|
|||
Confirmed working on 4.0.7
To get rid of that light gray background edit the plugin, Plugin Manager, Watermark Attachments - Display, attachment_display You have to change the 100 to 127 like below... Code:
if($wm_t&&imagesx($im_a)>imagesx($wm_t)) { imagefilledrectangle($im_a, 0 , 0 , imagesx($im_a) , imagesy($wm_t) , imagecolorallocatealpha($im_a, 0, 0, 0, 127) ); imagecopy($im_a, $wm_t, imagesx($im_a)-imagesx($wm_t), 0, 0, 0, imagesx($wm_t), imagesy($wm_t)); } if($wm_b&&imagesx($im_a)>imagesx($wm_b)) { imagefilledrectangle($im_a, 0 , imagesy($im_a)-imagesy($wm_b) , imagesx($im_a) , imagesy($im_a) , imagecolorallocatealpha($im_a, 0, 0, 0, 127) ); imagecopy($im_a, $wm_b, imagesx($im_a)-imagesx($wm_b), |
#101
|
||||
|
||||
Right on I'm going to add that mod to my setup... Thank you! :up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|