Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #82  
Old 04-30-2006, 01:15 PM
SupremeWeapon SupremeWeapon is offline
 
Join Date: Jan 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

didnt work for me.

clicked install in hopes that this can be rectified. why it didnt work is beyond me.
Reply With Quote
  #83  
Old 04-30-2006, 01:17 PM
cannabis-world cannabis-world is offline
 
Join Date: Apr 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ntfu2
is the watermark where you pointed it to? ie in the correct directory?
yes


Quote:
or do you have any other mods installed on the board?
I have a couple of plugins, for now I think I'll just uninstall it and wait to see what vb4 has to offer
Reply With Quote
  #84  
Old 04-30-2006, 03:44 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine for me ... (bottom_left appears on the bottom right though)

Is there anyway to only add a watermark if the image is over a certain size?

If someone attaches a small image then the watermark may obscure it altogether.
Reply With Quote
  #85  
Old 05-01-2006, 04:02 AM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by defcon_420
"Clicks Install"

love the plugin but i really think Ntfu2 should go back and edit the first post and update the install information about where the attachments storage option is.. i had to read thru alot of this thread and it could have been much easier if it was in the first post.

I thought it already said that
Reply With Quote
  #86  
Old 05-01-2006, 09:31 PM
kurtbarker kurtbarker is offline
 
Join Date: Nov 2005
Location: Kogarah, NSW
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kurtbarker
hey mate, here's a link to the hack on vB.org:
https://vborg.vbsupport.ru/showthread.php?t=113583

i'll PM you a username and password so you can test it on my forum if you wish.
the link to the Files Upload Center on my forum is: http://www.commodorelife.com/forums/uploader.php

upload a file or 2, click the link again, and you can click the thumbnails below the browse button to view the uploaded files...

what i'm after, is the watermark to appear on the FULL uploaded pic, not the thumbnail...

let me know mate, thanks

Kurt
Hey mate, did you get a chance to look into this?
Reply With Quote
  #87  
Old 05-02-2006, 10:09 AM
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Location: USA-Egypt-UAE
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.Viggy
it all works now. thanks for the tremendous help dave.

fyi - for the rest of you, my issue was that i still had my attachments stored in the database instead of file system and that will NOT work. plus moving them to the file system will keep the db smaller and subsequently faster.
and how can we do that?
Reply With Quote
  #88  
Old 05-02-2006, 10:16 AM
UK Jimbo's Avatar
UK Jimbo UK Jimbo is offline
 
Join Date: Sep 2002
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by haytham
and how can we do that?
I'd have thought that the vBulletin docs would be a good starting point

Look under Attachments then Storage. Who'd have ever guessed?
Reply With Quote
  #89  
Old 05-02-2006, 10:41 AM
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Location: USA-Egypt-UAE
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it ... it's working ok now..By the way the idea to remove the attachements did a lot for the speed of my forum..but when now I want to do a backup of the forum, the attachements won't be included..right?
Clicked install..and thanks go out to the coder and the person who paid for it
Reply With Quote
  #90  
Old 05-02-2006, 10:53 AM
UK Jimbo's Avatar
UK Jimbo UK Jimbo is offline
 
Join Date: Sep 2002
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by haytham
when now I want to do a backup of the forum, the attachements won't be included..right?
that's right - you'd need to backup all of the files in your attachments directory by FTP, SCP, SFTP or rsync.
Reply With Quote
  #91  
Old 05-02-2006, 10:56 AM
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Location: USA-Egypt-UAE
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok but the path to the attachments will always be there if like I upgrade or change hosts right?
Reply With Quote
Reply

Thread Tools

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 08:30 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.08698 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
  • (7)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