![]() |
Watermark images (on upload)
Here is an improved version of Watermark. Saves a lot of serverload on big sites like mine (since it's an adult site I won't paste the URL here. Send me an PM if you would like to know).
Currently only works if you have thumbnail creation enabled. *** All that plan to install this modifcation are advised to read the posts in this thread prior to installation (vB.org Staff) *** |
been waiting a few days but thx and great hack im gonna go test it now.
|
my forum doesnt have function/ folder or the file www.hl2insider.net latest vb
|
i belieave me meant to type includes folder instead of function folder
|
okay, done it all, i dont see my logo in my attachments
|
Code:
else if (!empty($thumbnail['filedata'])) |
someone reply :9
|
the watermark will only appear if only u upload a new image.. have u done that. all other uploaded images already on the site wont have a watermark
|
yes, i uploaded 4 new images, didnt work, visit my forum and try for yourself =0
|
How about for 3.0.0?
none of this is in my functions_file // write out thumbnail now $filename = fetch_attachment_path($posterid, $attachmentid, true); $fp = fopen($filename, 'wb'); fwrite($fp, $thumbnail['filedata']); fclose($fp); unset($thumbnail); |
currently it only works for 3.0.3 so u will need to upgrade ur board for this hack to work.
|
doesnt work at all tbh, unless you can set it up for me?
|
I sue vb 3.0.3 but still doesn't work..
|
Oh yeha, this hack only works if you have thumbnails enabled witch I hope you have :)
|
I am getting nothing, and I have done everything and have met all the requirements, I must be missing something, but I have no idea what?
|
okay enabled it, see no difference at ALL!
|
Quote:
is their a way around without using thumbnails? |
Doesn't work for me either. I'm on 3.0.3 and have thumbnails enabled.
|
is not working here either .....
|
pretty much sad, someone creates something but fails to give support eventhough it works for no one except the person that created it
|
yeh i could of sworn i've seen this hack already, but it was really slow or something ?
|
theirs another hack just the other attachment watermark hack will add watermark to all the attachments you have without uploading which causes the server to load the images slow.
https://vborg.vbsupport.ru/showthread.php?t=68112 that works fine just loading time of the images is horrible just too bad this new version dont work atall |
yeh, we should protest ... but hey it aint going to change anything so i'll shut up :D
|
can you make a version that work for ppl that don't have thumbnails enabled?
|
vB 3.0.2 here and it doesnt work
|
Quote:
|
Ah! I got it to work.
Fear me |
Quote:
|
I have no clue lol, it just started working o_Omaybe becuase i used the watermark (on the fly) hack
|
has anyone really gotten this thing to work? If so please help.
|
How is this a "major addition" anyway?
|
blah.. the hack author fails to respond? lol
dude, your hack sucks. Both of them. |
actually, im sorry I take that back. I have your on-the-fly hack working great, and fast ;)
|
Give it a try. Thx
|
PAINTBALL can you please tell us how did you get this hack to work.
I keep getting images cut-off OR extremelly slow depending on the compression level of imagejpg(). I'm new at PHP but it seems either something I need to do in the Graphics library or maybe the watermark.png needs to be of a different type. OR Maybe this code should not be here and be placed somewhere else, somehow else. Thanks. |
Well, it cuts off on some images for me. I think a quick solution would be to add an inch or so below the content in the png file. That away at most it would be flush with the bottom of the image, if not then it would be a little higher than the bottom but no big deal.
|
Quote:
Do they remove or otherwise flag hacks that do NOT work? So that we can get other people to help us try. I did a search on "watermarks" and all they links send you to this thread. This thread should be flagged as "don't waste your time" or "under construction" oh well... |
actually this code really works, i tested the code out by making the watermark hack act like a regular php script file (no vb involved) and then ran it with any jpg, or jpeg image i can find and it worked. but when it comes to intergrating with vb on why it doesnt work correclty i still cant figure that one out. but what im thinking their is one or two more codes missing in the coding for this hack to work in vb or the creator just isnt telling us something on how to get it to work correctly.
|
I got this message when I upload images now
Code:
Warning: Missing argument 2 for fetch_thumbnail_from_image() in /disk3/home2/web/beginner/fbody/includes/functions_image.php on line 87 |
Great, now when I upload anything it goes to a blank page. Sigh.
|
All times are GMT. The time now is 06:07 AM. |
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:
|