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
      #22  
    Old 01-28-2010, 02:43 AM
    Zaiaku's Avatar
    Zaiaku Zaiaku is offline
     
    Join Date: Jul 2007
    Location: 3rd Level of Hell
    Posts: 502
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    OK took a little tweaking but got it working alot better for me. May just try to run this crom scratch to make it a little better for me.
    Reply With Quote
      #23  
    Old 01-28-2010, 03:14 AM
    HondaATC HondaATC is offline
     
    Join Date: May 2004
    Posts: 96
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Zaiaku, would you mind sharing your changes? I'd love to get a better working version of this on my site.

    To answer the question about what it watermarks, it watermarks pretty much everything it needs to. Albums, attachments on the forum and in articles. It does not watermark avatars, or profile pictures.
    Reply With Quote
      #24  
    Old 01-28-2010, 03:40 AM
    abbasbsp's Avatar
    abbasbsp abbasbsp is offline
     
    Join Date: Jun 2008
    Location: Indonesian, yogyakarta
    Posts: 205
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Watermark Plugin will work if the storage type attachments in position FILE SYSTEM

    and

    if you want to position the watermark image in the center, then
    you go to AdminCP > Plaugin Manager > Click "Image watermarker"
    then find
    PHP Code:
    $WATERMARK_POSITION 'bottom_left'
    - replace "bottom_left" to "center"
    Reply With Quote
      #25  
    Old 01-28-2010, 09:35 AM
    iceman-x iceman-x is offline
     
    Join Date: Nov 2002
    Location: NOrWAY
    Posts: 46
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Thanks, just installed. it works fine.

    Thanks.
    Reply With Quote
      #26  
    Old 01-28-2010, 12:26 PM
    ndut ndut is offline
     
    Join Date: Sep 2007
    Location: Indonesia
    Posts: 335
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    @ichal, thank you...

    btw, can you give special permission for some usergroups.
    maybe, for usergroups moderator : there is no watermark to display?
    Reply With Quote
      #27  
    Old 01-28-2010, 11:09 PM
    Dr.osamA's Avatar
    Dr.osamA Dr.osamA is offline
     
    Join Date: Aug 2004
    Location: Syrie
    Posts: 979
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    remove it
    sorry

    the storage type attachments in position is DB

    i love it but waeting for upgrade .....
    Reply With Quote
      #28  
    Old 01-29-2010, 12:35 AM
    balkanboy balkanboy is offline
     
    Join Date: Dec 2008
    Posts: 142
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    love the idea tagging... going to wait alittle for an update. keep up the good work
    Reply With Quote
      #29  
    Old 01-30-2010, 03:23 PM
    BSMedia BSMedia is offline
     
    Join Date: Feb 2009
    Posts: 454
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    You realize you just can't take someone elses work and release it as your own right? It's called stealing...

    Reported.
    Reply With Quote
      #30  
    Old 01-30-2010, 04:00 PM
    ywwz ywwz is offline
     
    Join Date: Jul 2009
    Posts: 255
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    sorry, only admin can see this watermark
    Reply With Quote
      #31  
    Old 01-30-2010, 04:02 PM
    Alibass's Avatar
    Alibass Alibass is offline
     
    Join Date: Mar 2007
    Posts: 615
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Apparently this mod does not work on 4.0.1

    I have attachments in file system, water mark in forum root and edited plugin per instructions. Still does not work on my site.

    UNINSTALLED
    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 12:35 AM.


    Powered by vBulletin® Version 3.8.12 by vBS
    Copyright ©2000 - 2024, vBulletin Solutions Inc.
    X vBulletin 3.8.12 by vBS Debug Information
    • Page Generation 0.04783 seconds
    • Memory Usage 2,297KB
    • 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
    • (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