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

Reply
 
Thread Tools
Watermark Images BB Code - [wm] Details »»
Watermark Images BB Code - [wm]
Version: 1.00, by 1Unreal 1Unreal is offline
Developer Last Online: Aug 2020 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.2 Rating:
Released: 06-11-2009 Last Update: Never Installs: 33
Uses Plugins
Is in Beta Stage  
No support by the author.

What does it do?
What this mod does is allows your users to watermark images using a BB Code called [wm]. It creates the watermarks using the GD. It then saves these watermarked images to your server.

Installation Instructions
  1. Download the product and install it on your forum
  2. Create a directory called "wmcache" and set the permissions/CHMOD to 777 - THIS PART IS IMPORTANT
  3. Then you can start using it!

Syntax
Very simple syntax
[wm=Watermark text]URL to image[/wm]

What's to come
This product is still in the beta stages so I want to make sure it works well before adding new bits. However once all of the holes have been plugged I will add new features. Firstly I will add support for fonts and the ability to adjust the size and colour of the watermark background. I appreciate it's a bit ugly at the moment. This will all be customizable in the Admin CP. So make sure you click install to ensure you get the new features.

Download Now

File Type: xml product-wmbbcode.xml (1.9 KB, 347 views)

Screenshots

File Type: png 1244777790.png (224.1 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 06-15-2009, 11:14 AM
MARCO1's Avatar
MARCO1 MARCO1 is offline
 
Join Date: Jun 2008
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GD Installed Now the messages is the same
this is picture from GD Settings and it didn't have any problem



waiting any fixes of this great hack
Attached Files
File Type: (46.3 KB, 0 views)
Reply With Quote
  #33  
Old 06-16-2009, 12:48 AM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MARCO1 View Post
I See this message and some warnings
Quote:
Originally Posted by MARCO1 View Post
GD Installed Now the messages is the same
this is picture from GD Settings and it didn't have any problem



waiting any fixes of this great hack
It could be that teh image is not supported by PHP. jpg, gif and png are the only image formats you can use.
Reply With Quote
  #34  
Old 06-20-2009, 08:15 AM
7lanet's Avatar
7lanet 7lanet is offline
 
Join Date: Aug 2007
Location: YeMeN
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all type img (gif - jpg .....atc)

Image format is not supported by PHP so it could not be watermarked

why?
Reply With Quote
  #35  
Old 06-20-2009, 09:09 AM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 7lanet View Post
all type img (gif - jpg .....atc)

Image format is not supported by PHP so it could not be watermarked

why?
I only added support for those 3 formats because they are the only ones used on the web. Others such as BMP are not used.

What image did you try to use?
Reply With Quote
  #36  
Old 06-22-2009, 02:39 AM
gtr-3000 gtr-3000 is offline
 
Join Date: Jun 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Warning: getimagesize(test[/I]]http://localhost/vb/images/misc/vbulletin3_logo_white.gif) [function.getimagesize]: failed to open stream: Invalid argument in [path]\includes\class_bbcode.php(170) : eval()'d code on line 4

whats the problem ??
Reply With Quote
  #37  
Old 06-22-2009, 12:38 PM
realmr realmr is offline
 
Join Date: Aug 2008
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so this means we can watermark images uploaded in remote also or will it watermark only the attached images on forum ?
Reply With Quote
  #38  
Old 06-27-2009, 05:02 AM
Wenbie Wenbie is offline
 
Join Date: Feb 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod, thanks!!

But is there any way to change the font of the watermark?

Also, would there be any ways to add a button on the editor via custom bbcode? I tried but it won't let me cause when I enter the bbcode tag name as "wm", it says the code name already exists.
Reply With Quote
  #39  
Old 06-27-2009, 04:02 PM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by realmr View Post
so this means we can watermark images uploaded in remote also or will it watermark only the attached images on forum ?
Yes it supports external images

Quote:
Originally Posted by Wenbie View Post
Nice mod, thanks!!

But is there any way to change the font of the watermark?

Also, would there be any ways to add a button on the editor via custom bbcode? I tried but it won't let me cause when I enter the bbcode tag name as "wm", it says the code name already exists.
I'll add support for fonts soon.

I'm not sure about the button thing, that appears to be a vB issue that I'm not sure how to fix.

I'll look into it though.
Reply With Quote
  #40  
Old 06-27-2009, 04:08 PM
deadlySniper deadlySniper is offline
 
Join Date: Dec 2008
Location: New York
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, thanks.
Reply With Quote
  #41  
Old 06-28-2009, 04:01 AM
Wenbie Wenbie is offline
 
Join Date: Feb 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1Unreal View Post
I'll add support for fonts soon.

I'm not sure about the button thing, that appears to be a vB issue that I'm not sure how to fix.

I'll look into it though.
Thanks! I'll check the thread regularly for the fonts support ^^
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 09:16 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.06086 seconds
  • Memory Usage 2,327KB
  • 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
  • (6)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
  • (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
  • (3)postbit_attachment
  • (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_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