vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=182884

PB Watermark Album images
by RLShare
18 Jun 2008 21:08

3 Attachment(s)
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

Fırtına 18 Jun 2008 21:14

Thanks :)

xxalexkimxx 18 Jun 2008 21:28

Yay thank u so much for this hack.
I will install it now

xxalexkimxx 18 Jun 2008 21:36

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

RLShare 18 Jun 2008 21:41

Quote:

Originally Posted by xxalexkimxx (Post 1552933)
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

I haven't implemented that yet, Thats why its listed under planned changes. I will be implementing it soon. I put that up there so people know the changes that I already plan to make and so they do not suggest changes that are in the works.


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.

xxalexkimxx 18 Jun 2008 21:43

oh ok let me do that now
thanks

xxalexkimxx 18 Jun 2008 21:50

i got this message came up when upload image
Quote:

This PNG image has the incorrect file extension.

Fırtına 18 Jun 2008 21:59

Quote:

Originally Posted by xxalexkimxx (Post 1552943)
i got this message came up when upload image

+1 And me...

*********


Is location in forum_root/includes/functions_album.php ?

http://img337.imageshack.us/img337/3...nctionssf6.png

7lanet 18 Jun 2008 23:00

Quote:

2. Edit the file forum_root/includes/functions_album.php and add this function. I added it right below the Vbulletin Copyright notice.
where exactly add

7lanet 18 Jun 2008 23:13

I Upload img type gif , JPEG

It show msg
Quote:

This PNG image has the incorrect file extension.

RLShare 18 Jun 2008 23:44

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:

Originally Posted by Fırtına (Post 1552945)
Is location in forum_root/includes/functions_album.php ?

http://img337.imageshack.us/img337/3...nctionssf6.png

^^Thats exactly it, let me know if the update still does not fix it.

7lanet 18 Jun 2008 23:59

Fatal error: Call to undefined function imagesavetofile() in /home/joker/public_html/vb/album.php(794) : eval()'d code on line 9

RLShare 19 Jun 2008 00:07

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.

bxbigt 19 Jun 2008 03:02

can we get this for all images uploaded to the site

Zeb Zoober 19 Jun 2008 03:38

Quote:

Originally Posted by bxbigt (Post 1553182)
can we get this for all images uploaded to the site

+1

Would love to see this work for attachment pictures too.


All times are GMT. The time now is 21:02.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.