Customizing SMF > Modifications and Packages

Watermark.light

<< < (35/37) > >>

Old Fossil:
Please pm a temp admin account if you would like me to have a peek and see what I can do.

Old Fossil:
On your

Sources/Display template
Find

--- Code: ---if (empty($modSettings['enableCompressedOutput']) || filesize($filename) > 4194304)
--- End code ---

Replace with


--- Code: ---if ((empty($modSettings['enableCompressedOutput']) && empty($modSettings['watermarkEnabled'])) || filesize($filename) > 4194304)
--- End code ---

On another subject may I suggest you go through your error log.

The error log counter mod is very useful for keeping you aware of any errors.

tonywells82:
OK let me check that now..

tonywells82:
Found it.. please confirm that I will change THIS; if (!empty($modSettings['enableCompressedOutput']) && @version_compare(PHP_VERSION, '4.2.0') >= 0 && @filesize($filename) <= 4194304

to THIS: if ((empty($modSettings['enableCompressedOutput']) && empty($modSettings['watermarkEnabled'])) || filesize($filename) > 4194304)

Old Fossil:

--- Quote from: Old Fossil on June 19, 2012, 08:51:55 PM ---On your

Sources/Display template
Find

--- Code: ---if (empty($modSettings['enableCompressedOutput']) || filesize($filename) > 4194304)
--- End code ---

Replace with


--- Code: ---if ((empty($modSettings['enableCompressedOutput']) && empty($modSettings['watermarkEnabled'])) || filesize($filename) > 4194304)
--- End code ---

On another subject may I suggest you go through your error log.

The error log counter mod is very useful for keeping you aware of any errors.

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version