Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Watermark in attachment Details »»
Watermark in attachment
Version: 1.00, by abbasbsp abbasbsp is offline
Developer Last Online: Sep 2016 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.x Rating:
Released: 01-26-2010 Last Update: 01-26-2010 Installs: 24
Uses Plugins Auto-Templates
 
No support by the author.

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!

Supporters / CoAuthors

    Show Your Support

    • This modification may not be copied, reproduced or published elsewhere without author's permission.

    Comments
      #12  
    Old 01-27-2010, 05:37 PM
    Zaiaku's Avatar
    Zaiaku Zaiaku is offline
     
    Join Date: Jul 2007
    Location: 3rd Level of Hell
    Posts: 502
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by HondaATC View Post
    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)
    Thanks will give it a try on my site.

    Update:
    it double the size of eh watermark image for me. Would be perfect if it wasn't for that
    Reply With Quote
      #13  
    Old 01-27-2010, 07:16 PM
    ndut ndut is offline
     
    Join Date: Sep 2007
    Location: Indonesia
    Posts: 335
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Installed. Thank you..

    the watermark in the lower right side..
    can you make it, @center of attachment picture ??

    or maybe, we can adjust the watermark's position?
    Reply With Quote
      #14  
    Old 01-27-2010, 07:18 PM
    Kolbi Kolbi is offline
     
    Join Date: Mar 2009
    Location: D - S?dbaden
    Posts: 899
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Nice to hear that it works with album pictures too
    Reply With Quote
      #15  
    Old 01-27-2010, 07:39 PM
    HondaATC HondaATC is offline
     
    Join Date: May 2004
    Posts: 96
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Zaiaku View Post
    Thanks will give it a try on my site.

    Update:
    it double the size of eh watermark image for me. Would be perfect if it wasn't for that
    Not sure if actually doubles itself, but it does not scale to the image your putting it on. Example, if the watermark is 35x120, and you put it on a 200x400 rectangle, its gonna be a big chunk of it.
    Reply With Quote
      #16  
    Old 01-27-2010, 09:56 PM
    Zaiaku's Avatar
    Zaiaku Zaiaku is offline
     
    Join Date: Jul 2007
    Location: 3rd Level of Hell
    Posts: 502
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    For me it would be alot better if it does not scale at all
    Reply With Quote
      #17  
    Old 01-27-2010, 09:59 PM
    Dr.osamA's Avatar
    Dr.osamA Dr.osamA is offline
     
    Join Date: Aug 2004
    Location: Syrie
    Posts: 979
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by ndut View Post
    Installed. Thank you..

    the watermark in the lower right side..
    can you make it, @center of attachment picture ??

    or maybe, we can adjust the watermark's position?
    to chenge position

    find in plug-in

    PHP Code:
    $WATERMARK_POSITION 'bottom_left'
    and Cheng bottom_left :up:

    thanxxx man

    installed
    but dosnt work in my forum ( watermark doesn't show)

    any idea ??
    Reply With Quote
      #18  
    Old 01-27-2010, 10:47 PM
    HappyFeet's Avatar
    HappyFeet HappyFeet is offline
     
    Join Date: Mar 2009
    Location: Tn. USA
    Posts: 66
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Followed instructions to a "T", installed but doesn't work for me. 4.0.1

    Deleted but will check back, I'd like to use this...
    Reply With Quote
      #19  
    Old 01-27-2010, 11:58 PM
    Bouncer222 Bouncer222 is offline
     
    Join Date: Oct 2009
    Posts: 705
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I would love to try this out... except one question...

    What if I use this mod: https://vborg.vbsupport.ru/showthread.php?t=230411
    as well? It resizes images to a maximum width and hight on forums, but I also use vbadvanced, so on the home page, the images are their actual size and that mod has no control over it.

    So would the watermark or images show messed up anywhere?
    Thanks...

    Please let me know before I install.
    Reply With Quote
      #20  
    Old 01-28-2010, 12:00 AM
    Bouncer222 Bouncer222 is offline
     
    Join Date: Oct 2009
    Posts: 705
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Another question just to confirm this...

    Does it put a watermark on ALL image files that are uploaded to my site?
    Reply With Quote
      #21  
    Old 01-28-2010, 12:38 AM
    LuckyNeo's Avatar
    LuckyNeo LuckyNeo is offline
     
    Join Date: Dec 2009
    Location: Kiev, Ukraine
    Posts: 42
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Very GOOD hack! But don't work on my forum
    Reply With Quote
    Reply


    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT. The time now is 10: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.13494 seconds
    • Memory Usage 2,307KB
    • Queries Executed 26 (?)
    More Information
    Template Usage:
    • (1)SHOWTHREAD
    • (1)ad_footer_end
    • (1)ad_footer_start
    • (1)ad_header_end
    • (1)ad_header_logo
    • (1)ad_navbar_below
    • (1)ad_showthread_beforeqr
    • (1)bbcode_php
    • (3)bbcode_quote
    • (1)footer
    • (1)forumjump
    • (1)forumrules
    • (1)gobutton
    • (1)header
    • (1)headinclude
    • (1)modsystem_post
    • (1)navbar
    • (4)navbar_link
    • (120)option
    • (1)pagenav
    • (1)pagenav_curpage
    • (3)pagenav_pagelink
    • (11)post_thanks_box
    • (11)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (11)post_thanks_postbit_info
    • (10)postbit
    • (11)postbit_onlinestatus
    • (11)postbit_wrapper
    • (1)spacer_close
    • (1)spacer_open
    • (1)tagbit_wrapper 

    Phrase Groups Available:
    • global
    • inlinemod
    • postbit
    • posting
    • reputationlevel
    • showthread
    Included Files:
    • ./showthread.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/functions_bigthree.php
    • ./includes/class_postbit.php
    • ./includes/class_bbcode.php
    • ./includes/functions_reputation.php
    • ./includes/functions_post_thanks.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
    • showthread_start
    • showthread_getinfo
    • forumjump
    • showthread_post_start
    • showthread_query_postids
    • showthread_query
    • bbcode_fetch_tags
    • bbcode_create
    • showthread_postbit_create
    • postbit_factory
    • postbit_display_start
    • post_thanks_function_post_thanks_off_start
    • post_thanks_function_post_thanks_off_end
    • post_thanks_function_fetch_thanks_start
    • post_thanks_function_fetch_thanks_end
    • post_thanks_function_thanked_already_start
    • post_thanks_function_thanked_already_end
    • fetch_musername
    • postbit_imicons
    • bbcode_parse_start
    • bbcode_parse_complete_precache
    • bbcode_parse_complete
    • postbit_display_complete
    • post_thanks_function_can_thank_this_post_start
    • pagenav_page
    • pagenav_complete
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete