vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Watermark in attachment (https://vborg.vbsupport.ru/showthread.php?t=234271)

abbasbsp 01-26-2010 10:00 PM

Watermark in attachment
 
This plugin will watermark attached images on your forums. works on 4.0.X for sure, probably works on others as well.

Simply
1. upload image watermak.png in the forum root
2. Import Plugin AdminCP > Plugins & Products > Download / Upload Plugins > Import XML File

Then Edit Following lines, then Activate plugin.
AdminCP > Plugins & Products > Plugin Manager > edit "Image watermarker"

Edit this line to match your watermark file:
$WATERMARK_PNG_FILE = '/home/bbindo/public_html/watermark.png';

ATTACHMENTS MUST BE IN FILESYSTEM

Enjoy!

ywwz 01-27-2010 10:05 AM

I've been waiting for this for very very long. Thank you before install.

Kolbi 01-27-2010 10:16 AM

Can album pictures be included, too?

ywwz 01-27-2010 11:00 AM

it works, thank you.

b4ne 01-27-2010 12:09 PM

doesn't work for me I have the png file in the root folder of the forum eidted the plugin as well and have it activated

Zaiaku 01-27-2010 01:29 PM

Quote:

Originally Posted by Kolbi (Post 1967842)
Can album pictures be included, too?

I need it for albums aswell

Also this doesn't permanitly place a watermark correct?

josantos 01-27-2010 02:49 PM

Installed and working fine ;)

HondaATC 01-27-2010 05:13 PM

This is exactly the same as this mod: https://vborg.vbsupport.ru/showthread.php?t=112829

I had it installed on my site and it worked everywhere it needed to (Articles, Albums, Attachments) But I was getting some really funky stuff on the article uploads with bottom halves of the images being cut off, some not displaying period (red X's, that brought the images back when the plugin was disabled), and some other general funkyness. I ran it for about 3 weeks before I finally turned it off because there was too much un-explained behavior associated with it.

Zaiaku 01-27-2010 05:24 PM

Great works o albums too. But just to make sure, this doesn't put permant watermarks do it?

HondaATC 01-27-2010 05:30 PM

No. When I removed the one I linked (same thing line for line for code, I compared them) everything reverted. All it does is use GD to overlay an image you specify in a position you specify. Hint (bottom left positioning, actually positions the watermark in bottom right)


All times are GMT. The time now is 12:22 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.01097 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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