vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Attached Image Watermark (https://vborg.vbsupport.ru/showthread.php?t=112829)

Dr.Viggy 04-17-2006 12:53 AM

so i can't get this thing to work on mine either. i have a folder called watermark with watermark.png in it. it's right off the root of my forums folder so i set the code for /forums/watermark/watermark.png as well as trying it with /watermark/watermark.png and i get nothin both ways. any ideas?

zurv 04-17-2006 02:00 AM

Everyone who does not have this hack working.... WHat version of VB are you using? I have a feeling that this hack does not work with 3.5.4

-Griffe

Dr.Viggy 04-17-2006 02:13 AM

Quote:

Originally Posted by zurv
Everyone who does not have this hack working.... WHat version of VB are you using? I have a feeling that this hack does not work with 3.5.4

-Griffe

i think you're right. i'm on 3.5.4

GrendelKhan{TSU 04-17-2006 12:33 PM

Quote:

Originally Posted by Ntfu2
Yea UkJim coded it, but i paid for the modification and was under the impression that since i paid for the code essentially i could release it, and whats wrong with asking for a donation to recoup some of the cost?

What's wrong with it is that you made it seem like you wrote the code. Owning RIGHTS to code (for release and "recouping" revenue) and writing the original code yourself are very different. In least, you should have a least credited him for it. Ideally, you asked him about him thoughts on you reselling it before doing so. Nothing can really stop you if you don't (er... didn't), but that seems like standard business ethics.

or maybe that's just me. :surprised:

Ntfu2 04-17-2006 01:50 PM

Quote:

Originally Posted by Dr.Viggy
so i can't get this thing to work on mine either. i have a folder called watermark with watermark.png in it. it's right off the root of my forums folder so i set the code for /forums/watermark/watermark.png as well as trying it with /watermark/watermark.png and i get nothin both ways. any ideas?


You'll need something like /home/drviggy/public_html/forums/watermark/watermark.png

Ntfu2 04-17-2006 01:58 PM

Quote:

Originally Posted by zurv
Everyone who does not have this hack working.... WHat version of VB are you using? I have a feeling that this hack does not work with 3.5.4

-Griffe


Here is a board running it with 3.5.4, just fine. Make sure you are creating the watermark.png file and placing it where it needs to be

http://www.FightRice.com

Here is a watermark test all should be able to view:
http://www.fightrice.com/forums/atta...6&d=1145285752

Thread:
http://www.fightrice.com/forums/show...000#post154000

Dr.Viggy 04-17-2006 02:28 PM

Quote:

Originally Posted by Ntfu2
You'll need something like /home/drviggy/public_html/forums/watermark/watermark.png

the first directory i can see off of root is forums so /forums/watermark/watermark.png is as high to the root as i can go. any suggestions?

Ntfu2 04-17-2006 04:29 PM

I'll PM you on your site :D

grains 04-17-2006 05:22 PM

Quote:

Originally Posted by Ntfu2
Here is a board running it with 3.5.4, just fine. Make sure you are creating the watermark.png file and placing it where it needs to be

http://www.FightRice.com

Here is a watermark test all should be able to view:
http://www.fightrice.com/forums/atta...6&d=1145285752

Thread:
http://www.fightrice.com/forums/show...000#post154000


WTH am i doin wrong...*sigh*

Dr.Viggy 04-17-2006 05:41 PM

yeah i even enabled phpinfo and went to "http://www.drviggy.com/forums/?do=phpinfo" to get the environment value of DOCUMENT_ROOT which gave me the exact path to where my file is and still no dice. i'm completely confused as to why this won't work now.

bashy 04-17-2006 05:57 PM

Dont work for me :(
This is the path i have $WATERMARK_PNG_FILE = '/home/bashy/public_html/watermark.png';

Any ideas?

Ntfu2 04-17-2006 06:03 PM

I dunno, its hard to tell what anyone is doing wrong? Are you activating the plugin? Are you uploading it to correct directory?

Like i said, i'd be more then happy to help anyone with their issues, if you just give me plugin access for a moment or two, to look at what you have

bashy 04-17-2006 06:11 PM

Will Pm you admin deets m8 let you take a gander....
Ps.(good luck in there, If i dont see you in 20 minutes i will send in some backup pmsl)

bashy 04-17-2006 06:34 PM

Jist tried your watermark m8 and still no go for launch :(

Dr.Viggy 04-17-2006 08:56 PM

it all works now. thanks for the tremendous help dave.

fyi - for the rest of you, my issue was that i still had my attachments stored in the database instead of file system and that will NOT work. plus moving them to the file system will keep the db smaller and subsequently faster.

bashy 04-17-2006 09:00 PM

Hi m8 mine already are stored in the FS so that rules that out for me :(

grains 04-17-2006 09:06 PM

Quote:

Originally Posted by Dr.Viggy
it all works now. thanks for the tremendous help dave.

fyi - for the rest of you, my issue was that i still had my attachments stored in the database instead of file system and that will NOT work. plus moving them to the file system will keep the db smaller and subsequently faster.


Hmm...where can we change that? *under which option name?*

kartik786 04-17-2006 09:07 PM

neway this can watermark .doc , and .pdf files as well ?

Ntfu2 04-17-2006 09:25 PM

.doc are generally text files, so a watermark would be useless

Ntfu2 04-17-2006 09:46 PM

Quote:

Originally Posted by grains
Hmm...where can we change that? *under which option name?*


Create a folder on your FTP, chmod to 777

Go into AdminCP -> Attachments -> Storage and should be in there.

grains 04-17-2006 09:52 PM

WELP...that fixed MY issue. CHEERS!

XFSImperial 04-18-2006 02:26 AM

Thanks for the mod, works fine

*installs*

dbembibre 04-18-2006 05:36 PM

Thanks man work ok in my site

beebi 04-20-2006 09:35 PM

beebi clicked install

leeman 04-23-2006 03:56 PM

Installed ... Works great ...

Now if a better coder them me could tell us how to get it to mark -bmp's too it would be great :D

plateau 04-25-2006 01:53 AM

one question:

how about the uploaded image is smaller than the watermark image size?

kurtbarker 04-25-2006 12:01 PM

Hey guyz, i'm using the 'Files Upload Center'

I allow all the image file-types. Is it possible to implement this with the files upload system. So that any images uploaded that way also gets the watermark?

mike12345 04-25-2006 01:05 PM

thanks!!

plateau 04-26-2006 01:45 AM

seems no support for this work anyanyanymore...............

Ntfu2 04-26-2006 01:48 AM

Quote:

Originally Posted by plateau
seems no support for this work anyanyanymore...............


No one has asked for support about this hack recently, and to my knowledge everyone that did now as it working.

If you can not get yours working, i'd be more then happy to help, or post any problems you are having here.

kurtbarker 04-26-2006 05:04 AM

Quote:

Originally Posted by kurtbarker
Hey guyz, i'm using the 'Files Upload Center'

I allow all the image file-types. Is it possible to implement this with the files upload system. So that any images uploaded that way also gets the watermark?

Ntfu2 > is that possible?

Ntfu2 04-26-2006 03:44 PM

can you give me a link to the file upload center?

plateau 04-27-2006 02:55 AM

Quote:

Originally Posted by Ntfu2
No one has asked for support about this hack recently, and to my knowledge everyone that did now as it working.

If you can not get yours working, i'd be more then happy to help, or post any problems you are having here.

hi mate thanks for ur reply, i just got one simple question: how about the uploaded image is smaller than the watermark image size?

cheers!

j1time 04-27-2006 04:45 AM

Nice Thanks.

kurtbarker 04-27-2006 05:13 AM

hey mate, here's a link to the hack on vB.org:
https://vborg.vbsupport.ru/showthread.php?t=113583

i'll PM you a username and password so you can test it on my forum if you wish.
the link to the Files Upload Center on my forum is: http://www.commodorelife.com/forums/uploader.php

upload a file or 2, click the link again, and you can click the thumbnails below the browse button to view the uploaded files...

what i'm after, is the watermark to appear on the FULL uploaded pic, not the thumbnail...

let me know mate, thanks

Kurt

cannabis-world 04-29-2006 02:29 PM

I tried it on 2 forums on different servers, one worked the other didn't

the one that didn't work showed the text file path to the attachment instead of the image, it's running php5, the server that did work is running php4

Ntfu2 04-29-2006 03:50 PM

i used it on php5 just fine.

make sure you edited the path correctly

cannabis-world 04-29-2006 04:22 PM

yes I did, also tried the http://site.com/watermark.png in the path and that just ignored the watermark altogether

Ntfu2 04-30-2006 12:09 AM

is the watermark where you pointed it to? ie in the correct directory?

or do you have any other mods installed on the board?

defcon_420 04-30-2006 03:53 AM

"Clicks Install"

love the plugin but i really think Ntfu2 should go back and edit the first post and update the install information about where the attachments storage option is.. i had to read thru alot of this thread and it could have been much easier if it was in the first post.


All times are GMT. The time now is 11:29 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
  • Page Generation 0.01513 seconds
  • Memory Usage 1,817KB
  • 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
  • (11)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