vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Watermark Attachments (https://vborg.vbsupport.ru/showthread.php?t=201972)

bjhuang 01-15-2009 10:00 PM

Watermark Attachments
 
1 Attachment(s)
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.

https://vborg.vbsupport.ru/external/2009/01/62.jpg


The most famous travel forum in chinese world - www.bbkz.com

Sweeks 01-16-2009 09:17 AM

Not working for me. The watermark doesnt show.
________
Gay Teen

NGUYENDUCTRUONG 01-16-2009 09:40 AM

Please review ,Not working

logicuk 01-16-2009 09:46 AM

<font size="3">Does it perm watermark the files?</font>

bjhuang 01-16-2009 09:53 AM

Quote:

Originally Posted by NGUYENDUCTRUONG (Post 1714451)
Please review ,Not working

try to set the "Days Delay" option to 0

horusbird 01-16-2009 11:39 AM

I installed and vbulletin view attach Lytebox function don't work :confused:
I unistall and view attach Lytebox don't work!!!:mad::mad::mad::mad::mad:

horusbird 01-16-2009 11:46 AM

what are the tables changed?

bjhuang 01-16-2009 11:50 AM

Quote:

Originally Posted by horusbird (Post 1714554)
what are the tables changed?

no any db changes. it leaves nothing after you uninstall it.

horusbird 01-16-2009 11:55 AM

Ok, but the problem was born after uploading product-watermark.xml.
What may have happened?

Thank you

sorry for my english i am italian ;-)

bjhuang 01-16-2009 12:02 PM

Quote:

Originally Posted by horusbird (Post 1714563)
Ok, but the problem was born after uploading product-watermark.xml.
What may have happened?

Thank you

sorry for my english i am italian ;-)

i'm not sure. i never use Lytebox. this mod won't modify any file or db tables. maybe you should try to clear your browser cache or press Ctrl+F5. attachements are always cached.


All times are GMT. The time now is 07:18 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.01247 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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