vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - Watermark Images BB Code - [wm] (https://vborg.vbsupport.ru/showthread.php?t=215974)

1Unreal 06-11-2009 10:00 PM

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
  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. :)

Daniel_HBK 06-12-2009 03:09 AM

AMAZING hack! really thank you :)

brhoom 06-12-2009 04:14 AM

Nice work
Thanks

RL714 06-12-2009 04:50 AM

wow this is amazin bro, thanks let me try

GeoMapia 06-12-2009 10:52 AM

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
this is amazin , thanks

but this is kill Bandwidth

uninstalled

letsjoy 06-12-2009 10:55 AM

nice mod man thnx

bleros 06-12-2009 11:51 AM

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

1Unreal 06-12-2009 01:04 PM

Quote:

Originally Posted by GeoMapia (Post 1828209)
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
this is amazin , thanks

but this is kill Bandwidth

uninstalled

Im unable to recreate this. I posted a new topic and refreshed a number of times and didn't notice anything wrong.

Quote:

Originally Posted by bleros (Post 1828237)
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

How did you get this error?

bleros 06-13-2009 09:23 AM

when i'm posting. i'm get this error above site

[wm=Hello]http://i39.tinypic.com/1zxry9s.gif[/wm]

1Unreal 06-13-2009 03:58 PM

Quote:

Originally Posted by bleros (Post 1828859)
when i'm posting. i'm get this error above site

[wm=Hello]http://i39.tinypic.com/1zxry9s.gif[/wm]

I can't think why to be honest. All I can say is make sure you have GD correctly installed and have CHMODded wmcache to 777.


All times are GMT. The time now is 09:11 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.01157 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete