![]() |
PB Watermark Album images
There is a new version of this modification available Here that has been confirmed to work in version 3.7.x
------------------------------------------------------------------------------------ This mod is in beta, it was inspired by this thread yesterday. https://vborg.vbsupport.ru/showthread.php?t=178296 I'm hoping that posting this beta version in here will help me gather useful feedback on what kind of features might be useful in such a hack. What does it do: -Adds a watermark to the bottom right of all images uploaded to users albums. Planned changes: 1. Allow the url of the watermark image to be changed via admincp 2. Allow location of where the watermark image is placed to be changed via admincp Installation Instructions: 1. Create or Use the watermark.png I attached, and upload it to your forum root before anything. 2. Edit the file forum_root/includes/functions_album.php and add these functions. I added them right below the Vbulletin Copyright notice. PHP Code:
|
Thanks :)
|
Yay thank u so much for this hack.
I will install it now |
Where do i go to set:
1. Allow the url of the watermark image to be changed via admincp 2. Allow location of where the watermark image is placed to be changed via admincp |
Quote:
Right now you will have to create a 'watermark.png' and upload it to the forum root directory. And it will always show up on the bottom right. |
oh ok let me do that now
thanks |
i got this message came up when upload image
Quote:
|
Quote:
********* Is location in forum_root/includes/functions_album.php ? http://img337.imageshack.us/img337/3...nctionssf6.png |
Quote:
|
I Upload img type gif , JPEG
It show msg Quote:
|
Ive updated the original post to reflect the changes that should fix your problems, thank you for letting me know. You will need to add one more function to the file and re-upload the new plug-in I just attached.
Quote:
|
Fatal error: Call to undefined function imagesavetofile() in /home/joker/public_html/vb/album.php(794) : eval()'d code on line 9
|
Did you add the function 'imagesavetofile' I posted below the other function to the functions_album.php file?
I just noticed that its easy to look over, the section of my post that contains the code to be pasted to the other file now has 2 functions in it so you will need to delete what you pasted into the file before and copy whats up there now into its place. |
can we get this for all images uploaded to the site
|
Quote:
Would love to see this work for attachment pictures too. |
this nice, i belive everyone waiting for this :) thanks
|
holy cow... I've been waiting for this long time ago.
|
how to create my own watermark .png?
|
Quote:
http://gimp.org/downloads/ |
Tried. Doesnt Work.
Perhaps, rather than use this as a beta area for developing a mod, you should get everything working ok, get it tested, do some instructions. Looks promising. :) |
Looking forward to this when it's completed. It would be nice if it could watermark existing album images.
-vissa |
It's nice, but have a look at class_image.php and class_upload.php in the includes folder. You could probably integrate it better into the vbulletin system with modifying these classes.
|
Quote:
|
Quote:
|
Thanks RLShare
*clicks installed* |
+1 for all images uploaded please
Clicks 'installed' |
thanks dear ,
but can i add text on picture without photos ( .png ) such that doamin . |
If i want that the watermark.. be placed from side to side from the picture... like a large bar.... i have to midifed something++
|
Thanks :up:
|
Done everythinh....
Place watermark png on forumrrot Edite funciton_album Import Plugin Parse error: syntax error, unexpected T_STRING in /home/reinodra/public_html/includes/functions_album.php on line 17 |
Work Greattttttttt
|
It only adss me the watermark, in the first picture of the uploaded pohoton in an album.. imean.. in the album you can upload 3 simultaneous pictures.. and only the first one gets tthe watermak...
|
interesting will wait to see if it gets better before installing
|
Quote:
|
Works well. Haven't tried to upload multiple images yet.
Any way to increase the size of the watermark? |
Updated so that it now works when uploading multiple images....Delete the old plugin and import the new one.
Quote:
|
The problem with watermarks is that they normally are a fixed size. This means that a large pic will get a relatively tiny watermark and a small pic may get butchered by a watermark.
Please make the size of the watermark relative to the size of the picture. |
Thanks, it works perfect.
You should upload watermark.png to the forum root directory, edit that simple .php and it works fine & upload the plugin. RaMMz @ BlackTouch NETWORK.- |
Is this backwards compatible.
In essence, does it watermark all existing uploaded images, or only new ones? |
Quote:
|
All times are GMT. The time now is 07:28 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|