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
  #32  
Old 04-14-2006, 05:19 AM
zurv zurv is offline
 
Join Date: Feb 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UK Jimbo
Hi Dave - when I wrote this code I thought it was just for your forum. I wasn't expecting you to release it publically.

Seems a bit odd if you can't support it too.
lol, so you wrote it for him, but he posted it as his hack? No wonder it says "ill try and support it"
Reply With Quote
  #33  
Old 04-14-2006, 05:41 AM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UK Jimbo
Hi Dave - when I wrote this code I thought it was just for your forum. I wasn't expecting you to release it publically.

Seems a bit odd if you can't support it too.

Busted ! LOL :bunny:
Reply With Quote
  #34  
Old 04-14-2006, 05:47 AM
zurv zurv is offline
 
Join Date: Feb 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol and hes asking for donations!
Reply With Quote
  #35  
Old 04-14-2006, 11:15 AM
Neo198x Neo198x is offline
 
Join Date: Apr 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not work (
it's my watermark image: http://www.loveyahu.org/forum/watermark.png
My code
PHP Code:
// the path to the PNG file that you want to overlay with
// must be on the local machine, not an http:// URL
$WATERMARK_PNG_FILE '/home2/loveyahu/public_html/forum/watermark.png';

// how you want to position the watermark enter either center or bottom_left
$WATERMARK_POSITION 'bottom_left';

// user you want to see watermarking on - this is just for testing
// set to 0 to work for all users
$VB_USER_ID 807;

// end variables - you shouldn't need to edit below here 
Reply With Quote
  #36  
Old 04-14-2006, 03:10 PM
Ahsin1 Ahsin1 is offline
 
Join Date: Mar 2006
Location: Toronto, Canada
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where do we have to edit lines
Reply With Quote
  #37  
Old 04-15-2006, 02:45 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pretty cool will reserve for an install
Reply With Quote
  #38  
Old 04-15-2006, 03:09 AM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea UkJim coded it, but i paid for the modification and was under the impression that since i paid for the code essentially i could release it, and whats wrong with asking for a donation to recoup some of the cost?



Quote:
Originally Posted by Neo198x
not work (
it's my watermark image: http://www.loveyahu.org/forum/watermark.png
My code
PHP Code:
// the path to the PNG file that you want to overlay with
// must be on the local machine, not an http:// URL
$WATERMARK_PNG_FILE '/home2/loveyahu/public_html/forum/watermark.png';

// how you want to position the watermark enter either center or bottom_left
$WATERMARK_POSITION 'bottom_left';

// user you want to see watermarking on - this is just for testing
// set to 0 to work for all users
$VB_USER_ID 807;

// end variables - you shouldn't need to edit below here 

Make sure thats your user id
Reply With Quote
  #39  
Old 04-15-2006, 03:15 AM
zurv zurv is offline
 
Join Date: Feb 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol nothing wrong with it.. I just think its funny. If you paid for it you can do anything you want

btw I am having the same problem as Neo198x. And I know thats my correct username.
Reply With Quote
  #40  
Old 04-15-2006, 08:19 AM
beezo beezo is offline
 
Join Date: Dec 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have 3.5.4 and it is not working for me. Anyone on this version have it working? If so, what type of PNG do you have (i.e. PNG 8, PNG 32, GIF, JPG) and did you have to do something else besides edit those 3 lines.
Reply With Quote
  #41  
Old 04-15-2006, 04:11 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Forgot to Add Make sure you have GD2+ in the vBulletin options.

I'll add a watermark file i know works later today when i get a chance for people to test.

If anyone wishes to have me take a look at it if it doesnt work, simply add a admin account with privlages over the plugin system for a couple of minutes.
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 11:41 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.08943 seconds
  • Memory Usage 2,315KB
  • 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_php
  • (3)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
  • (4)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