Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Attached Image Watermark Details »»
Attached Image Watermark
Version: 1.00, by Ntfu2 Ntfu2 is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-11-2006 Last Update: Never Installs: 146
 
No support by the author.

This plugin will watermark attached images on your forums. works on 3.5.3 for sure, probably works on others as well.

Simply upload new Plugin, Then Edit the Three Following lines, then Activate plugin.

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

Edit this line for bottom or centered
$WATERMARK_POSITION = 'bottom_left';

You can test with your userid only first, Edit this line
$VB_USER_ID = 0;

ATTACHMENTS MUST BE IN FILESYSTEM

does not support .gif since it will stop any animated gif from playing. watermarks, .jpg and .jpeg You can probably add code to watermark others.

If you use it click install, i'll try to give support, but only to those who install
Edit: UkJimbo made this modification for me, i paid for it, so therefore i am releasing it to the public

Enjoy!

Show Your Support

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

Comments
  #12  
Old 04-12-2006, 08:57 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. Any chance you'll be releasing an add-on to watermark all existing attachments too?
Reply With Quote
  #13  
Old 04-12-2006, 09:02 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind. Didn't notice it was an on-the-fly watermark.
Reply With Quote
  #14  
Old 04-12-2006, 09:09 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm. Interesting. Do you see anything strange with this JPG? It doesn't get watermarked on my site. Is it a Progressive JPEG perhaps? Hmm.

I've ran across a few others also. The others are really strange, since they're all the same size, and all came off the same camera phone. 3 of them watermark fine, the other 2 don't.
Reply With Quote
  #15  
Old 04-12-2006, 09:20 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to add an option for the minimum size image to process?

If someone attaches a small image (smaller than the thumbnail size, for example), it still tries to add the watermark. (See Attached)
Reply With Quote
  #16  
Old 04-12-2006, 09:24 PM
PabloAM PabloAM is offline
 
Join Date: Jan 2006
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NOT RUN IN MY WEB.
http://www.xboxers360.net/showthread...=4551#post4551

WHY???
Reply With Quote
  #17  
Old 04-12-2006, 09:52 PM
Deska's Avatar
Deska Deska is offline
 
Join Date: Aug 2002
Location: Asia
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack Ntfu2
[high]* Deska click install [/high]

Btw, I second request with ConqSoft's post above.
Reply With Quote
  #18  
Old 04-12-2006, 11:34 PM
apfparadise apfparadise is offline
 
Join Date: Jan 2005
Location: Northridge CA
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A couple of questions

1. Is it possible to make it so that a certain usergroup (premium members) dont have a watermark on their images attached?

2. I am also looking for the same exact thing for the Photopost VBGallery (formerly VBAdvanced Gallery), where it does it but NOT for a certain usergroup. THat one I had put out a paid request for and was not able to get it done.
Reply With Quote
  #19  
Old 04-13-2006, 02:08 AM
zurv zurv is offline
 
Join Date: Feb 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey

I have tried and tried and tried and cannot seem to get this to work. I upload the plugin, change the address, and NOTHING. no change on my images, no watermark, not even an error. Nothing.

I have tried reuploading multiple times, and I have tried making my watermark a 8 bit, 24, and 32 bit PNG.

What bit should it be?

The forum is www.finishingtalk.com, help me out. I will click install once I get it working.

Thanx in advance,
-Griffe
Reply With Quote
  #20  
Old 04-13-2006, 01:39 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet, I've been waiting for this!
Reply With Quote
  #21  
Old 04-13-2006, 02:14 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ConqSoft
Hmm. Interesting. Do you see anything strange with this JPG? It doesn't get watermarked on my site. Is it a Progressive JPEG perhaps? Hmm.

I've ran across a few others also. The others are really strange, since they're all the same size, and all came off the same camera phone. 3 of them watermark fine, the other 2 don't.

That is strange, and i'm not real sure of the problem

Quote:
any way to set a minium site
I'm sure there is, but my coding skills are extremly lacking to say the least, but i will try to figure something out.
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 09:26 PM.


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.04691 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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