Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Watermark Generator Details »»
Watermark Generator
Version: 1.1, by Disasterpiece Disasterpiece is offline
Developer Last Online: Oct 2019 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 4.0.x Rating:
Released: 05-17-2011 Last Update: 06-08-2011 Installs: 154
DB Changes Uses Plugins
Additional Files Is in Beta Stage  
No support by the author.

Quick Info

This mod adds a watermark to album and attachment images.
The watermark is customizable via image files or specified text.
Processed images are cached and the original files remain untouched, so you can modify or remove the watermark anytime you want.


Features

- Intelligent Caching
- Uses standard vBulletin methods, therefore no file modifications necessary
- Settings-Preview with a sample image in Adminpanel
- Generative plugin behaviour, works with most other mods which use the same hooks or use attachment images elsewhere

Installation

Code:
Step 1)

Upload files inside upload directory according to their structure:

> forum root
	> admincp
		+ pl_watermark_admin.php
	> images
		> misc
			+ plwm_sample.jpg
	> includes
		> cron
			+ pl_watermark_cron.php
		> xml
			+ cpnav_plwatermark.xml
		+ pl_watermark_functions.php
		+ pl_watermark_imagemanipulation.php


Step 2)

Import "product-plwatermark.xml" as addon into your vBulletin AdminCP


Step 3)

Navigate in your vBulletin AdminCP to PL Watermark Generator -> Plugin Settings.
Define the settings how you see fit. The options should be self-explanatory, if you need help with certain things, ask in the modification thread.

Changelog
Code:
v1.1
- Fixed potential security flaw on certain webserver configurations
- Improved install/updatescript
- (hopefully) fixed the grey-bar bug which occured on certain webserver configurations

v1.0
- Initial Beta Release
Additional Info

The Mod is currently in BETA. This means, that we tested it on a test environment (vb 4.0.x to 4.1.3) but has not yet undergo excessive stress test.
Keep an eye out for updated versions until the final release!
If you encounter any bugs, missing or misplaced features, let us know!

F.A.Q

- I don't see changes in my live images!
> To see changes on the image files you have to clear your browser's cache!
In firefox it's enough to force a fresh reload via STRG+F5 and on other browsers STRG+F5 or SHIFT+F5 should work.
If you don't perform this step, your browser will show the old cached version and maybe the watermark won't show or changes won't apply.

- My png/gif watermark isn't transparent, instead I get a black background!
> PNG-8 is known for having transparency problems, GIF in some cases as well.
Fall back to PNG-24 with Alpha channel (all modern image tools should be able to save as PNG-24)
If you have trouble creating a working png-24 with alpha channel, you can send me a PM with a link to your watermark and I'll convert it to png-24 for you.

- I have trouble with special characters or non-latin charactersets!
> The addon is using standard php functionalities for the text. If for any reason you have trouble with special chars, I suggest using a transparent png-24 with the text from an external image tool instead.

Support / Branding

We provide quality vbulletin software modifications for zero costs. To help our mod to be well-known, a backlink is added to your forum footer by the plugin, where the plugin is used in any way.
You must not remove the copyright/backlink code!
However, if you like to support us, you are allowed to remove the footer note with a small donation (10$ minimum).
If you choose to do so, we'll contact you via the email provided by paypal with instructions on how to remove the footer note.
A link to paypal donation service can be found on the top right area of this post.

Feel free to contact an author of the mod if you have any questions or suggestions.

Download Now

File Type: zip vb4-product-plwatermark_1_0.zip (216.1 KB, 222 views)
File Type: zip vb4-product-plwatermark_1_1.zip (216.4 KB, 1221 views)

Screenshots

File Type: jpg plwatermark_2.jpg (105.4 KB, 0 views)
File Type: jpg plwatermark_3.jpg (120.2 KB, 0 views)
File Type: jpg plwatermark_admin12.jpg (108.0 KB, 0 views)
File Type: jpg plwatermark_admin11.jpg (68.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
Ethelbert, furnival, Mopar1973Man, Ramzesik, Teascu Dorin

Comments
  #2  
Old 05-18-2011, 02:43 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you bro

tested ,but for some unknown reason does not work
- attacment not showing
- not support Arabic incoding
- when i use Watermark Cache Management that give me => cant find phrase

BRB
Reply With Quote
  #3  
Old 05-18-2011, 07:58 AM
TEMPESTADE TEMPESTADE is offline
 
Join Date: Dec 2010
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tested ,but for some unknown reason does not work
Reply With Quote
  #4  
Old 05-18-2011, 09:33 AM
inigo inigo is offline
 
Join Date: May 2010
Location: Spain
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Problem with the png image, it looks completely black the rectangule of the image in the watermarked images.

v 4.1.2.

I am trying to test with text, but I prefer image watermark. with text, is it possible to put a % of the size of image instead of the size of the text? (because perhaps it was 300 px image and 1024 px other, so it´s difficult to give only one text size.

Thanks, great mod,
Reply With Quote
  #5  
Old 05-18-2011, 12:50 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Dr.osamA:

Did you test the settings via preview first? Is the watermark rendered on the sample image?
Try the steps below so we can find out why your attachments aren't displayed.

@TEMPESTADE, inigo:

Is it possible that you don't have the GD lib installed?


To all others where the attachment doesn't show:
You can upload the testattachments.php file from this post into your forum root dir.
Then navigate to the file via browser and add the parameter i1 to it so it looks like this:

http://someforum.tld/forum/testattachments.php?i1=13

Replace 13 with any image id which is big enough so the watermark should be displayed!
Now if any errors occur, the script will output them, other than the attachment.php which disables error reporting completely. This way it's easier for me to pinpoint the problem.
Attached Files
File Type: php testattachments.php (5.8 KB, 62 views)
Reply With Quote
  #6  
Old 05-18-2011, 01:26 PM
inigo inigo is offline
 
Join Date: May 2010
Location: Spain
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The GD lib is correctly running (I use it in vbgallery too:

Code:
GD Support 	enabled
GD Version 	2.0 or higher
FreeType Support 	enabled
FreeType Linkage 	with freetype
FreeType Version 	2.3.7
T1Lib Support 	enabled
GIF Read Support 	enabled
GIF Create Support 	enabled
JPG Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled
The image appears in the correct place, with correct size, but is a black rectangule. Any other idea?

Thanks,
Reply With Quote
  #7  
Old 05-18-2011, 01:44 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inigo View Post
The GD lib is correctly running (I use it in vbgallery too:

Code:
GD Support 	enabled
GD Version 	2.0 or higher
FreeType Support 	enabled
FreeType Linkage 	with freetype
FreeType Version 	2.3.7
T1Lib Support 	enabled
GIF Read Support 	enabled
GIF Create Support 	enabled
JPG Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled
The image appears in the correct place, with correct size, but is a black rectangule. Any other idea?

Thanks,
Did you use a .png or a .gif for the watermark?
Did you set the alpha channel correctly?
If png: Is it a 8-bit png or a 24-bit png?

I attached a test image from which i know that the watermark generator can display. Can you test it out and tell me if it's applied correctly or has a black background too?
Attached Images
File Type: png wmtest.png (6.5 KB, 0 views)
Reply With Quote
  #8  
Old 05-18-2011, 01:48 PM
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome mod! Thanks..
Attachment 129212

working on everything but cms article pages. works on promoted articles but mot ones created just for the front page and not originating from the forum.
cms/content.php/
Reply With Quote
  #9  
Old 05-18-2011, 02:58 PM
inigo inigo is offline
 
Join Date: May 2010
Location: Spain
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been testing, and the problem appears to be the PNG8, because the same image saved as PNG-24 is working.

Your test image was ok, but with no trasparency.

So the problem is solved, PNG-24 working, but I have to do more tests, because there are some of the images without watermark,... and I think is because the browser's cache.

so I will tell you when I can test deeply,

Thanks,
Reply With Quote
  #10  
Old 05-18-2011, 04:40 PM
Stefan118 Stefan118 is offline
 
Join Date: Dec 2010
Location: Vaassen (Netherlands)
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great in vB 4.1.3!!!
Thanks!

Been looking for this for over 2 years now
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 12:44 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.04664 seconds
  • Memory Usage 2,349KB
  • 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
  • (4)bbcode_code
  • (1)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (5)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (8)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete