vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Social Group and Album Enhancements - PB Watermark Album images (https://vborg.vbsupport.ru/showthread.php?t=182884)

Mr.samy 06-22-2008 10:50 PM

After i install it .... and try to upload animated photo ... i see the plugins put the watermark on it but the photo become not animated and stop from work

balance12 06-23-2008 09:29 PM

I upgrade it, and work grate with massive uploads, but it shows me different Size of watermark.. you upload an albun it shows you great, the other shows it shorter.. then good.....

One good one smaller....

What could it be?

xxalexkimxx 06-23-2008 10:04 PM

Quote:

Originally Posted by 7lanet (Post 1553015)
I Upload img type gif , JPEG

It show msg

change the all image type to LOWER CASE

RLShare 06-23-2008 10:41 PM

Quote:

Originally Posted by Mr.samy (Post 1556381)
After i install it .... and try to upload animated photo ... i see the plugins put the watermark on it but the photo become not animated and stop from work

Im working with the GD imaging library for PHP and it does not support animated GIFS. I might look into adding support for animated GIFs myself in the future but that will not be until after I work on getting the other features I want done.


Quote:

Originally Posted by balance12 (Post 1557220)
I upgrade it, and work grate with massive uploads, but it shows me different Size of watermark.. you upload an albun it shows you great, the other shows it shorter.. then good.....

One good one smaller....

What could it be?

The only reason I could think of is that Your uploading images that are larger then the max size, VB will automatically resize images that are larger then the Max size and my code applies watermarks to the images that get uploaded before VB processes them. So Im guessing that my code is adding the watermark, then VB is shrinking the image after making it look like the watermark is of a different size.

7lanet 06-25-2008 06:03 AM

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

ErnieTheMilk 06-25-2008 07:24 AM

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 06-25-2008 02:25 PM

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 06-25-2008 02:34 PM

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 06-25-2008 11:03 PM

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 06-26-2008 05:49 AM

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 06-26-2008 10:50 PM

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

Megatr0n 06-30-2008 01:42 PM

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 07-02-2008 12:38 PM

works on last ver. of VB (3.7.2)

Megatr0n 07-02-2008 06:42 PM

Still looking for a response...

Leo Brazil 07-04-2008 11:00 AM

Installed after making my self a custom watermark.png

Does exactly was supposed too.

Keep the rocks rolling dude. :up:

Mr. Hoddz 07-04-2008 06:52 PM

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 07-04-2008 07:54 PM

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 https://vborg.vbsupport.ru/attachmen...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 07-05-2008 02:09 AM

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 07-05-2008 02:47 AM

Works like a charm.

Thanks. This is a great mod

zigojacko 07-05-2008 08:57 PM

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

zigojacko 07-05-2008 08:58 PM

I have followed all the steps accurately and a watermark is not being placed on my uploaded album images :(

7lanet 07-06-2008 06:14 PM

Is it possible to print the watermark in center of the pic

zigojacko 07-08-2008 10:50 AM

I have got this working now. Great mod. Many thanks. :)

Megatr0n 07-11-2008 07:10 PM

Is this mod going to be updated or not?

Jase2 07-11-2008 07:19 PM

Suggestion: Have an option for users when uploading to watermark the image. If not selected, no watermark image is used. :D

rolloffhill 07-13-2008 06:41 PM

Quote:

Originally Posted by vissa (Post 1553271)
Looking forward to this when it's completed. It would be nice if it could watermark existing album images.

-vissa

Yes this would be a useful addition...

RLShare 07-22-2008 01:25 AM

The hack is going to get a complete overhaul. As it stands its just a simple hack I threw together in an hour. After reading through alot of the suggestions I realize that it needs to be completely rewritten to achieve alot of the features that should exist is such a hack. As I am tied up with alot of work lately it might take me a week or two to release a new version with new features and administration options..

psylenced 07-22-2008 02:07 AM

Having it create it on the fly i think is the best option. It means it works on existing albums, plus whenever you change the watermark in the admin all pictures are automatically updated.

RLShare 07-22-2008 02:38 AM

^thats exactly what I'll be doing, hence it will be re-written completely

karlm 07-22-2008 03:00 AM

Quote:

Originally Posted by RLShare (Post 1581077)
^thats exactly what I'll be doing, hence it will be re-written completely

Excellent. With the quotes in mind, I eagerly look forward to a rewritten release. Great job.

psylenced 07-22-2008 03:05 AM

Fantastic :)

Megatr0n 07-23-2008 11:19 AM

RLShare, would it be possible for the watermark to be REMOVED from a picture when the user is selecting it to be a backround picture? Many of my users don't like the watermarking showing on their profiles.

Plus, I also think a user should be given the option whether he/she wants to have their pictures watermarked because some do their own. However, still with a seperate option to watermark all pictures in one go?

rolloffhill 07-31-2008 10:39 PM

I had to remove this plugin after upgrading to vb 3.7.2 pl1. It kept the images from loading to the server. Just an fyi..

flussmitteldj 08-01-2008 09:19 AM

I need help!

Fatal error: Call to undefined function can_view_private_albums() in /www/htdocs/w009f45a/includes/class_profileblock.php on line 875

i need a Sample please !!

BatMs.com 08-02-2008 07:17 PM

Hey RLShare nice mod... Installed exactly how you explained and works straight away... However I see you are re-making the mod... PLEASE oh please add the relative size watermark that has been suggested numerous times...

Suggestion For Re-Haul:
Allow of placing wm on images already created (done with the update counters...photopost have it....)

Is it possible to make the plugin somehow put the watermark on AFTER the image gets re-sized? As it is now it seems the WM gets placed befor the image gets re-sized...

Example of why (my watermark image is 150X30... on a 600X450 image that was originally taken off 5mp phone camera):
http://batms.com/forum-blog/picture....8&pictureid=44

RLShare 08-05-2008 10:32 PM

As I said before I am rewriting this mod, It will watermark the images dynamically. So it will do it at the time the images are shown instead of when they are uploadedd. It should solve alot of problems, so if your having troubles with this version please be patient as I work out some bugs I have in the next version.

As far as the new version, just a word on its progress, I am having a little bit of trouble with one aspect of it. I have it working for images that are stored locally. But if the images are set to be stored in the database instead of locally on the server I am having some trouble. When I try to take the data from the blob it is only streaming in half of the data for the image and I cannot figure out why. As soon as I get this figured out I will release.

Also with this new version it will take alot of edits to one of VB's files because VB is sending the image data for album images directly to the users browser without anywhere to intercept the data before hand.

PGAmerica 08-08-2008 05:19 PM

Works Perfectly. Thank you. However, it only works on pictures that are uploaded AFTER this is installed.

JohnnieOO 08-12-2008 06:30 PM

Any update on this, very interested.

Johnnie

Leo Brazil 08-14-2008 07:27 PM

I've been thinking in changing my album pictures storage from database (default on Vb) into the file system with direct access to thumbnails to save some queries at my board.

Question: Can I do that and still getting this working great ?

Nineaxis 08-18-2008 09:57 PM

Looking forward to the new version. Great mod!


All times are GMT. The time now is 10:19 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.01349 seconds
  • Memory Usage 1,821KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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