3.3.x Extensions Database 3.2 / 3.3Watermark

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Watermark

Post by dmzx »

Extension Name: Watermark
Author: dmzx

Special thanks to: martin

Extension Description:
Watermark automatically images by upload.




- Added forum exclude in ACP.
- Added warning if GD is active in ACP.
- Code update.


- Added support for webp images.
- Added code for check mimetype.


- Added orientation of watermark.


- Added position of watermark.
- Added transparency level for watermark.

Screenshots:
Image

Image

Image

Extension Download:
Download-link
Watermark v1.0.4
Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `watermark`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `watermark` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/watermark/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Watermark` under the Disabled Extensions list, and click its `Enable` link.

User avatar

The Good
Users
Users
Posts: 93
Joined: 05 Nov 2015, 22:48
    Windows 10 Firefox

Re: Watermark

Post by The Good »

Plz no chance to have this for 3.2 phpbb ???
I already requested this ext in phpbb.. I really need it !!
https://www.phpbb.com/community/viewtop ... &t=2549071
thanks

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Watermark

Post by martin »

The Good wrote: 05 Jun 2020, 18:46 plz no chance to have this for 3.2 phpbb ???
I already requested this ext in phpbb.. I really need it !!
https://www.phpbb.com/community/viewtop ... &t=2549071
thanks
Untested but try this.
Removed its 3.3 only
Image

User avatar

TrekRed
Users
Users
Posts: 93
Joined: 27 Oct 2019, 23:54
    Windows 10 Chrome

Re: Watermark

Post by TrekRed »

Works only in attachments or on external resources too?

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Watermark

Post by martin »

Attachments only.

User avatar

TrekRed
Users
Users
Posts: 93
Joined: 27 Oct 2019, 23:54
    Windows 10 Chrome

Re: Watermark

Post by TrekRed »

Is there anything similar to external resources?

User avatar

Peralta
Donator
Donator
Posts: 190
Joined: 13 Dec 2014, 17:04
    Windows 10 Firefox

Re: Watermark

Post by Peralta »

martin wrote: 05 Jun 2020, 18:50
The Good wrote: 05 Jun 2020, 18:46 plz no chance to have this for 3.2 phpbb ???
I already requested this ext in phpbb.. I really need it !!
https://www.phpbb.com/community/viewtop ... &t=2549071
thanks
Untested but try this.
watermark_v100.zip
:wtf:

La migración “\dmzx\watermark\migrations\install_watermark” no se ha realizado, falta la migración “\phpbb\db\migration\data\v330\v330”.

Code: Select all

	public static function depends_on()
	{
		return [
			'\phpbb\db\migration\data\v330\v330'
		];
	}
martin could you modify it to avoid the error?
I speak spanish. Sorry for my bad english.

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Android Chrome

Re: Watermark

Post by martin »

Thought I did that must have uploaded the wrong set yes I will redo them.

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Watermark

Post by martin »

Ok new files in other post above but you should note this is 3.3 only and i dont have 3.2 to test on.

User avatar

Peralta
Donator
Donator
Posts: 190
Joined: 13 Dec 2014, 17:04
    Windows 10 Firefox

Re: Watermark

Post by Peralta »

:sad: ...It doesn't work, when I try to access the configuration of the extension this error is triggered:

Code: Select all

phpBB encontró un error al construir el contenedor debido a una extensión instalada. Por esta razón, todas las extensiones se han desactivado temporalmente. Por favor, intente purgar el caché del foro. Todas las extensiones serán automáticamente habilitadas de nuevo una vez que se resuelva el error del contenedor. Si este error continúa, por favor visite phpBB.com para soporte.

Excepción: The definition for "_defaults" has no class. If you intend to inject this service dynamically at runtime, please mark it as synthetic=true. If this is an abstract definition solely used by child definitions, please add abstract=true, otherwise specify a class to get rid of this error.

#0 /srv/disk1/2868406/***/vendor/symfony/dependency-injection/Compiler/Compiler.php(102): Symfony\Component\DependencyInjection\Compiler\CheckDefinitionValidityPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#1 /srv/disk1/2868406/***/vendor/symfony/dependency-injection/ContainerBuilder.php(587): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#2 /srv/disk1/2868406/***/phpbb/di/container_builder.php(198): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#3 /srv/disk1/2868406/***/common.php(115): phpbb\di\container_builder->get_container()
#4 /srv/disk1/2868406/***/adm/index.php(23): require('/srv/disk1/2868...')
#5 {main}

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Watermark

Post by martin »

Nope 3.3 only then.

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Watermark

Post by dmzx »

For 3.2 some work needs to be done.

service.yml
ext.php
migration file.

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Watermark

Post by martin »

:wall: services i missed that one.

User avatar

The Good
Users
Users
Posts: 93
Joined: 05 Nov 2015, 22:48
    Windows 10 Firefox

Re: Watermark

Post by The Good »

dmzx wrote: 05 Jun 2020, 20:08 for 3.2 some work needs to be done.

service.yml
ext.php
migration file.

thanks guys !! we can wait :thumbup:

User avatar

The Good
Users
Users
Posts: 93
Joined: 05 Nov 2015, 22:48
    Windows 10 Firefox

Re: Watermark

Post by The Good »

I think to add also the name of the author will take too much work time !!

Post Reply Previous topicNext topic