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

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
  #12  
Old 06-13-2009, 04:37 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack thank you i will try it
Reply With Quote
  #13  
Old 06-13-2009, 04:43 PM
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Location: Israel
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod
However i must mention the chmod 777 sounds bit security risk to me.
Why there is any need to give "Everyone" a "write" and/or "execute" permissions ?
Reply With Quote
  #14  
Old 06-13-2009, 04:45 PM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by IdanB View Post
nice mod
However i must mention the chmod 777 sounds bit security risk to me.
Why there is any need to give "Everyone" a "write" and/or "execute" permissions ?
Lots of plugins require you to CHMOD something to 777. Just make sure its writable, thats the main thing.
Reply With Quote
  #15  
Old 06-13-2009, 04:51 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get this error

Warning: getimagesize(elmwaheb almotajadeda[/i]]<i><a href="http://www.samysoft.net/forumim/islamic1/1/616134056.jpg" target="_blank">http://www.samysoft.net/forumim/isla.../616134056.jpg</a></i>) [function.getimagesize]: failed to open stream: No such file or directory in [path]/includes/class_bbcode.php(172) : eval()'d code on line 19


sorry unstilled
Reply With Quote
  #16  
Old 06-13-2009, 05:05 PM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by saadessa View Post
i get this error

Warning: getimagesize(elmwaheb almotajadeda[/i]]<i><a href="http://www.samysoft.net/forumim/islamic1/1/616134056.jpg" target="_blank">http://www.samysoft.net/forumim/isla.../616134056.jpg</a></i>) [function.getimagesize]: failed to open stream: No such file or directory in [path]/includes/class_bbcode.php(172) : eval()'d code on line 19


sorry unstilled
Could you post what BB code you used please. I need to make sure you used the correct syntax.
Reply With Quote
  #17  
Old 06-13-2009, 05:18 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1Unreal View Post
Could you post what BB code you used please. I need to make sure you used the correct syntax.
installed again so tested

Create a directory called "wmcache" and set the permissions/CHMOD to 777

the same error appear

i post

[wm=test test test]http://www.samysoft.net/forumim/isla.../616134056.jpg[/wm]

thank you

this is nice hack i need it
please need to understand to correct ???
Reply With Quote
  #18  
Old 06-13-2009, 05:30 PM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im really not sure, I did a fresh install of the mod on my test board and pasted this code in

[wm=test]http://www.samysoft.net/forumim/islamic1/1/616134056.jpg[/wm]

And it worked perfectly. I think it might be something to do with your server. Try contacting your host and ask them if they have any limitations regarding the GD.
Reply With Quote
  #19  
Old 06-13-2009, 05:47 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1Unreal View Post
Im really not sure, I did a fresh install of the mod on my test board and pasted this code in

[wm=test]http://www.samysoft.net/forumim/islamic1/1/616134056.jpg[/wm]

And it worked perfectly. I think it might be something to do with your server. Try contacting your host and ask them if they have any limitations regarding the GD.
thank you 1Unreal for this great job
i will check with host
so i will try again
Reply With Quote
  #20  
Old 06-13-2009, 06:03 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i foud code check for GD on the site after check

the result is ( GD v2 installed )

i dont no if this code is true ( is GD installed on my server or no )

PHP Code:
<?PHP  
//check if gd library is installed  
function gdCheck() {  
    if (
function_exists('imagecreatetruecolor')) {  
        print 
"GD v2 installed";  
    }  
    elseif (
function_exists('imagecreate')) {  
        print 
"GD v1 installed";  
    }  
    else {  
        print 
"GD not installed";  
    }  
}  
 
gdCheck();  
?>
i wait the replay :erm:
Reply With Quote
  #21  
Old 06-13-2009, 07:17 PM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by saadessa View Post
i foud code check for GD on the site after check

the result is ( GD v2 installed )

i dont no if this code is true ( is GD installed on my server or no )


I wait the replay :erm:
Type in

PHP Code:
<?php
phpinfo
();
?>
into a PHP file and run it and check the GD settings. It should be something similar to this:



Let me know of any differences.
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 02:02 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.04665 seconds
  • Memory Usage 2,338KB
  • 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
  • (2)bbcode_php
  • (5)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
  • (2)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