vBulletin Mods

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

ErnieTheMilk 25 Jun 2008 08:24

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!

RLShare 25 Jun 2008 15:25

Quote:

Originally Posted by ErnieTheMilk (Post 1558356)
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.


Quote:

Originally Posted by 7lanet (Post 1558302)
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.

ErnieTheMilk 25 Jun 2008 15:34

Quote:

Originally Posted by RLShare (Post 1558643)
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 :confused: :rolleyes:

RLShare 26 Jun 2008 00:03

Quote:

Originally Posted by ErnieTheMilk (Post 1558654)
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 :confused: :rolleyes:

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.

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

The top part is the copyright notice I mentioned pasting the code in after.

ErnieTheMilk 26 Jun 2008 06:49

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 :D

Megatr0n 26 Jun 2008 23:50

Can you please tell me how we can enable this main profile pictures?

Megatr0n 30 Jun 2008 14:42

Quote:

Originally Posted by ErnieTheMilk (Post 1559202)
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 :D

Yeah, I've been having that problem too.

goranbaxy 02 Jul 2008 13:38

works on last ver. of VB (3.7.2)

Megatr0n 02 Jul 2008 19:42

Still looking for a response...

Leo Brazil 04 Jul 2008 12:00

Installed after making my self a custom watermark.png

Does exactly was supposed too.

Keep the rocks rolling dude. :up:

Mr. Hoddz 04 Jul 2008 19:52

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 =]

Leo Brazil 04 Jul 2008 20:54

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.

DieselMinded 05 Jul 2008 03:09

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

blogcrash 05 Jul 2008 03:47

Works like a charm.

Thanks. This is a great mod

zigojacko 05 Jul 2008 21:57

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


All times are GMT. The time now is 10:55.

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.