![]() |
Watermark Images BB Code - [wm]
1 Attachment(s)
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
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. :) |
AMAZING hack! really thank you :)
|
Nice work
Thanks |
wow this is amazin bro, thanks let me try
|
after first use all things are ok
after refresh topic, this error occured: Code:
Warning: getimagesize(URL to image) [function.getimagesize]: failed to open stream: No such file or directory in [path]/includes/class_bbcode.php(158) : eval()'d code on line 4 but this is kill Bandwidth uninstalled |
nice mod man thnx
|
Warning: getimagesize() [function.getimagesize]: Unable to access xxxx-xxxx.net][/I] <a href="http://i39.tinypic.com/1zxry9s.gif" target="_blank">http://i39.tinypic.com/1zxry9s.gif</a> in [path]/includes/class_bbcode.php(172) : eval()'d code on line 4
Warning: getimagesize(xxxx-xxxx.net][/I] <a href="http://i39.tinypic.com/1zxry9s.gif" target="_blank">http://i39.tinypic.com/1zxry9s.gif</a>) [function.getimagesize]: failed to open stream: No such file or directory in [path]/includes/class_bbcode.php(172) : eval()'d code on line 4 Warning: getimagesize() [function.getimagesize]: Unable to access xxxx-xxxx.net][/I] <a href="http://i39.tinypic.com/1zxry9s.gif" target="_blank">http://i39.tinypic.com/1zxry9s.gif</a> in [path]/includes/class_bbcode.php(172) : eval()'d code on line 4 Warning: getimagesize(xxxx-xxxx.net][/I] <a href="http://i39.tinypic.com/1zxry9s.gif" target="_blank">http://i39.tinypic.com/1zxry9s.gif</a>) [function.getimagesize]: failed to open stream: No such file or directory in [path]/includes/class_bbcode.php(172) : eval()'d code on line 4 |
Quote:
Quote:
|
when i'm posting. i'm get this error above site
[wm=Hello]http://i39.tinypic.com/1zxry9s.gif[/wm] |
Quote:
|
nice hack thank you i will try it
|
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 ? |
Quote:
|
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 |
Quote:
|
Quote:
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 ??? :confused: |
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. |
Quote:
i will check with host so i will try again :) |
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:
|
Quote:
PHP Code:
https://vborg.vbsupport.ru/external/2009/06/111.jpg Let me know of any differences. |
unsure if already released but anyway to make an image be watermarked by defaul e.g no need to put [wm= etc]
|
Quote:
|
Didnt say within vB i said thats been released...
Just wondering if theres away to watermark images via img or attachment? without having to put the [wm=Watermark text]URL to image[/wm] there? |
Quote:
Well I made a mod like this before but it just didn't work very well. I think this is better. |
Quote:
|
Quote:
Once you have done that you can use the BB Code |
this product i'm tested on vbulletin 3.8.3 today is working fine for .jpg
http://i-comers.com/showpost.php?p=348899&postcount=15 and tested on file .png and .gif is not very good but this is very good idea. need more inovation for this product. I'm installed and nominate. Thank you very much sir i hope you to be continue develop this modification. Best Regards |
Quote:
Ive tested it on a number of .png and .gif images and didn't notice anything wrong. Could you give me more details on what images to tested it on so I can try to improve :) |
I See this message and some warnings
Quote:
|
I Will Install GD Now :)
|
1 Attachment(s)
GD Installed Now the messages is the same :(
this is picture from GD Settings and it didn't have any problem https://vborg.vbsupport.ru/external/2009/06/109.jpg waiting any fixes of this great hack |
Quote:
Quote:
|
all type img (gif - jpg .....atc)
Image format is not supported by PHP so it could not be watermarked why? |
Quote:
What image did you try to use? |
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 ?? |
so this means we can watermark images uploaded in remote also or will it watermark only the attached images on forum ?
|
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. |
Quote:
Quote:
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. |
Nice, thanks.
|
Quote:
|
All times are GMT. The time now is 06:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|