[ABD] Attachment watermark mod

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
syakir
Registered User
Posts: 7
Joined: Sun Sep 10, 2006 2:23 pm
Contact:

Re: [BETA] Attachment watermark mod

Post by syakir »

can put the watermarks if using the img bbcode also? most of the images hosting in my forum is not uploaded directly. all hosted in photobucket and imageshack..

thx.
robotreviews
Registered User
Posts: 6
Joined: Wed Aug 20, 2008 7:34 am

Re: [BETA] Attachment watermark mod

Post by robotreviews »

FYI to anyone interested in this mod.

It appears that when you install this mod, not only does it not use transparency, but it seems as though with this mod installed ALL image attachments LOSE their transparency when they are uploaded.

With the mod installed, any gif or png with a transparent background became a flat image with a black background.

I had to remove the mod to restore the correct functionality to the forum.
carefree
Registered User
Posts: 25
Joined: Sun Apr 29, 2007 7:08 am

Re: [BETA] Attachment watermark mod

Post by carefree »

teman wrote:how to edit the text size? :x

You can set the font size by adding a var:

Code: Select all

var $font_size = 16;
and a function:

Code: Select all

  function setFont($font, $size = 0) {
    if (!empty($font)) $this->font = $font;
    if ($size != 0) $this->font_size = $size;
  }
also place these in you config file:

Code: Select all

 $img->setFont($font, $font_size);

Code: Select all

$font_size = '8';
sera
Registered User
Posts: 6
Joined: Fri Dec 12, 2008 9:22 pm

Re: [BETA] Attachment watermark mod

Post by sera »

Code: Select all

$watermark['type'] = 'text';
// text or image
//////////////////////////////////////

$watermark['text'] = 'www.jtsenterprises.biz';
$font_size = '8';
// text to stick on image, only needed if text selected as type
//////////////////////////////////////

$watermark['text_color'] = '#000000';
// auto or hex with # , only needed if text selected as type
//////////////////////////////////////

$watermark['image'] = './styles/Pikstyle/imageset/welcome/welcome.png';
// url of .png image to add to file, only needed if image selected as type
//////////////////////////////////////

Png pik is not transparent :(
Can anyone help mi to add the font size to the config file... :( cox watermark text is too small
how to make the png pik transparent?

Help!!!
boehse77
Registered User
Posts: 2
Joined: Sun May 25, 2008 5:21 pm
Location: Germany

Re: [BETA] Attachment watermark mod

Post by boehse77 »

I get the following error message when i upload a picture on phpBB v3.0.4

[phpBB Debug] PHP Notice: in file /includes/message_parser.php on line 1366: getimagesize() [function.getimagesize]: Read error!

Would be nice if there will be an update/fix for this problem :)
Greetings,

boehse77
User avatar
Agassi
Registered User
Posts: 3
Joined: Wed Apr 15, 2009 8:54 pm
Location: Ukraine

Re: [BETA] Attachment watermark mod

Post by Agassi »

I think this is the most or one of the most wanted mods that has not been created yet. If somebody will write a working version, that will be approved by PHPBB team, that would be great and thousands of people will appreciate that =)
Last edited by darcie on Thu Apr 16, 2009 12:26 am, edited 1 time in total.
Reason: Text formatting (size and colour) removed. Please see Rule #1g. Thanks!
benking
Registered User
Posts: 36
Joined: Mon Jan 22, 2007 5:25 am

Re: [BETA] Attachment watermark mod

Post by benking »

Agassi wrote:I think this is the most or one of the most wanted mods that has not been created yet. If somebody will write a working version, that will be approved by PHPBB team, that would be great and thousands of people will appreciate that =)
x2 - would love to see this finished ... In GREAT need of this mod.
User avatar
Frejer Stolz
Registered User
Posts: 19
Joined: Wed Jan 07, 2009 11:22 pm

Re: [BETA] Attachment watermark mod

Post by Frejer Stolz »

I hav installed this mod some month ago.
I can't make the watermark transparency, but this is littles.

Photos that have been modified by this mod increased in 3 - 10 times!!
And saves in the wrong format - png, instead of the original - jpg.

Try to save the watermarked image to your hard drive and view it size from the volume properties tab


And now I have to manually edit thousands of photos! Save/delede/edit/upload, save/delede/edit/upload.
And so very many times.

:( :( :(
ramapeddinti
Registered User
Posts: 1
Joined: Mon May 18, 2009 6:39 am

Re: [BETA] Attachment watermark mod

Post by ramapeddinti »

HI all

i want to upload any file with the posts in phpbb3.
i found the attachment mod for phpbb2 but i could not found for phpbb3.
please can u help me in this?
mamos
Registered User
Posts: 1
Joined: Thu May 21, 2009 6:07 pm

Re: [BETA] Attachment watermark mod

Post by mamos »

Has anyone successfully adjusted the font size using CAREFREE's code??
meisterjoshi
Registered User
Posts: 3
Joined: Fri Feb 08, 2008 10:23 am

Re: [BETA] Attachment watermark mod

Post by meisterjoshi »

Hello

Where can I download this Mod?
User avatar
toxi
Registered User
Posts: 11
Joined: Sun Apr 13, 2008 10:44 am
Location: Ukraine
Name: Roman Pavlovsky
Contact:

Re: [BETA] Attachment watermark mod

Post by toxi »

The link to loading does not work
phpbb v3.0.11 worker and phpbb v3.1.x test
meisterjoshi
Registered User
Posts: 3
Joined: Fri Feb 08, 2008 10:23 am

Re: [BETA] Attachment watermark mod

Post by meisterjoshi »

where can i download this mod?

please help

thx
meeisterjoshi
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [BETA] Attachment watermark mod

Post by 4_seven »

i've fixed the 2 main-problems of the mod:

- black watermark pic
- file-size-increased output pictures

still working to implement the text-size thingie and some other things,

i will take over the mod. but, at first i release a 0.1.2 version.

more infos later..

greez
4seven
Last edited by 4_seven on Fri Jul 10, 2009 12:04 am, edited 1 time in total.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
Berk888
Registered User
Posts: 27
Joined: Sun Sep 28, 2008 8:35 pm
Location: Kiev, Ukraine
Contact:

Re: [BETA] Attachment watermark mod

Post by Berk888 »

meisterjoshi wrote:where can i download this mod?

please help

thx
meeisterjoshi
special for you ;)
http://rapidshare.com/files/251728039/a ... 1.zip.html
Image
Locked

Return to “[3.0.x] Abandoned MODs”