Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
PB Watermark Album images Details »
PB Watermark Album images
Mod Version: 0.1, by RLShare (Member) RLShare is offline
Developer Last Online: Aug 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.1 Rating: (9 votes - 4.11 average) Installs: 132
Released: 18 Jun 2008 Last Update: 22 Jun 2008 Downloads: 531
Not Supported Uses Plugins Code Changes Is in Beta Stage  

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.
http://www.vbulletin.org/forum/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.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Import the plug-in attached

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	watermark.png
Views:	533
Size:	2.8 KB
ID:	82519   Click image for larger version

Name:	watermarkp.png
Views:	2538
Size:	80.2 KB
ID:	82520  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Watermark images (on the fly) Robbban vBulletin 3.0 Full Releases 82 12 Apr 2006 19:53
Watermark images (on upload) Robbban vBulletin 3.0 Full Releases 66 30 Mar 2006 00:17

  #46  
Old 25 Jun 2008, 09:24
ErnieTheMilk ErnieTheMilk is offline
 
Join Date: Mar 2007
I keep getting some error messages on upload

Warning: imagecreatefrompng(watermark.png) [function.imagecreatefrompng]: failed to open stream: No such file or directory in [path]/album.php(795) : eval()'d code on line 1

Fatal error: Call to undefined function: imagecreatefromfile() in ....... on line 6

I've uploaded everything as suggested...... Its a great mod, hope it can get sorted as I'd love to use it!
__________________
Yep, I really am this stoopid
Reply With Quote
  #47  
Old 25 Jun 2008, 16:25
RLShare RLShare is offline
 
Join Date: Jun 2008
Originally Posted by ErnieTheMilk View Post
I keep getting some error messages on upload

Warning: imagecreatefrompng(watermark.png) [function.imagecreatefrompng]: failed to open stream: No such file or directory in [path]/album.php(795) : eval()'d code on line 1

Fatal error: Call to undefined function: imagecreatefromfile() in ....... on line 6

I've uploaded everything as suggested...... Its a great mod, hope it can get sorted as I'd love to use it!
You either messed up putting the functions in the functions_album.php file or you did not put the functions in that file.


Originally Posted by 7lanet View Post
in 3.7.2

Fatal error: Out of memory (allocated 22806528) (tried to allocate 8192 bytes) in /home/joker/public_html/vb/includes/functions_album.php on line 40
I have not upgraded to 3.7.2 yet, when I do I will look into this.
Reply With Quote
  #48  
Old 25 Jun 2008, 16:34
ErnieTheMilk ErnieTheMilk is offline
 
Join Date: Mar 2007
Originally Posted by RLShare View Post
You either messed up putting the functions in the functions_album.php file or you did not put the functions in that file.
Thats a great help, thanks. I know I'm stupid, but I do know how to copy & paste into a file that you actually name!

The only problem I had was where to put it as you said right after the vBulletin copyright notice. Well, I found one, right at the top of the file - I assume that's where you meant it to go
__________________
Yep, I really am this stoopid
Reply With Quote
  #49  
Old 26 Jun 2008, 01:03
RLShare RLShare is offline
 
Join Date: Jun 2008
Originally Posted by ErnieTheMilk View Post
Thats a great help, thanks. I know I'm stupid, but I do know how to copy & paste into a file that you actually name!

The only problem I had was where to put it as you said right after the vBulletin copyright notice. Well, I found one, right at the top of the file - I assume that's where you meant it to go
This is an image someone posted earlier in this thread.. It shows how the top of the file functions_album.php should look after you paste the functions in.



The top part is the copyright notice I mentioned pasting the code in after.
Reply With Quote
  #50  
Old 26 Jun 2008, 07:49
ErnieTheMilk ErnieTheMilk is offline
 
Join Date: Mar 2007
That's where I originally posted it... and it didn't work

However, I have to say after perserverance, and popping it in different places, I managed to get it to work! The code did go further down the page tho!

Now if you could just sort out the watermark scale issue on differing sized photos
__________________
Yep, I really am this stoopid
Reply With Quote
  #51  
Old 27 Jun 2008, 00:50
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Can you please tell me how we can enable this main profile pictures?
Reply With Quote
  #52  
Old 30 Jun 2008, 15:42
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Originally Posted by ErnieTheMilk View Post
That's where I originally posted it... and it didn't work

However, I have to say after perserverance, and popping it in different places, I managed to get it to work! The code did go further down the page tho!

Now if you could just sort out the watermark scale issue on differing sized photos
Yeah, I've been having that problem too.
Reply With Quote
  #53  
Old 02 Jul 2008, 14:38
goranbaxy goranbaxy is offline
 
Join Date: Jan 2008
works on last ver. of VB (3.7.2)
__________________
Portal - Dojaja | Forum | Igre | Horoskop
Reply With Quote
  #54  
Old 02 Jul 2008, 20:42
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Still looking for a response...
Reply With Quote
  #55  
Old 04 Jul 2008, 13:00
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Installed after making my self a custom watermark.png

Does exactly was supposed too.

Keep the rocks rolling dude.

Last edited by Leo Brazil; 04 Jul 2008 at 21:45. Reason: correcting file name
Reply With Quote
  #56  
Old 04 Jul 2008, 20:52
Mr. Hoddz Mr. Hoddz is offline
 
Join Date: Aug 2007
Real name: Ben
Can't see that it works dude. But if you could share the watermark.php file and give instructions on how to install it that would be good =]
Reply With Quote
  #57  
Old 04 Jul 2008, 21:54
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Mr. Hoddz

watermark is in fact a image, a png file and you can see a sample on the first post on screen shoots section.

To install this mod you will need to edit your functions_album.php that is on includes folder as described, up load this edited file to your ftp and after that install the plug in http://www.vbulletin.org/forum/attac...9&d=1214140995 that's in the first post.
Just a tip, this must me installed as a plug in not as a product.

I made my self a png file using photoshop, that in fact it's just my site name in a clear background. I used the same resulotion of the watermark sample here to see how it goes and it was good enough. This watermake.png must be up-loaded to your forum root.
That's just what I did, 5 minutes and work great.

Last thing. This will just work on your albums not in regular images or files you place in your forums. If you already has users with tons of pictures the watermark will be added just in photos up-load after you install this mod, there won't be any effect on old images.
Reply With Quote
  #58  
Old 05 Jul 2008, 04:09
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
i wonder if vBulletin is planing on implementing this ? i hate php edits come upgrade time , I would like all the images on my site to be water marked but only after they are downloaded
__________________
Is your forum registered? - https://www.forumregister.com
Reply With Quote
  #59  
Old 05 Jul 2008, 04:47
blogcrash blogcrash is offline
 
Join Date: Jun 2008
Works like a charm.

Thanks. This is a great mod
Reply With Quote
  #60  
Old 05 Jul 2008, 22:57
zigojacko zigojacko is offline
 
Join Date: Jul 2008
When will the below be implemented?

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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:14.

Layout Options | Width: Wide Color: