Watermark

Started by digger, August 27, 2009, 03:54:56 PM

Previous topic - Next topic

sparty

Thats just the thing , Mine is not there ?? See attached pics. Its def installed , anyone ? Please help if possible.

shadowcrews

Quote from: shadowcrews on September 24, 2009, 05:31:10 AM
i restore  my database but now the watermark still there and give me this error

Fatal error: Call to undefined function watermark() in /home/shadowcr/public_html/Sources/ManageSettings.php on line 2249

how can i ssolve this problem

i hope someone can help me on this

digger

Quote from: shadowcrews on September 24, 2009, 10:44:11 PM
Quote from: shadowcrews on September 24, 2009, 05:31:10 AM
i restore  my database but now the watermark still there and give me this error

Fatal error: Call to undefined function watermark() in /home/shadowcr/public_html/Sources/ManageSettings.php on line 2249

how can i ssolve this problem

i hope someone can help me on this

Reinstall mod

shadowcrews

i reinstalled and i have this error, when i uninstall the option is still there as well ? do u need any php file to view ? will be helpful if u can solve this for me

digger

Quote from: shadowcrews on September 24, 2009, 11:05:08 PM
i reinstalled and i have this error, when i uninstall the option is still there as well ? do u need any php file to view ? will be helpful if u can solve this for me

If you don't have Sources/Subs-Watermark.light.php, copy this file from mod package.

shadowcrews

i have checked, i have the following file once installed, after install the mod if i go to admin>modification i get this error

Fatal error: Cannot redeclare modifywatermarksettings() (previously declared in /home/shadowcr/public_html/Sources/ManageSettings.php:2208) in /home/shadowcr/public_html/Sources/ManageSettings.php on line 2316

if i uninstall i can go to admin>modification but the watermark option is still there

digger

Quote from: shadowcrews on September 24, 2009, 11:27:12 PM
i have checked, i have the following file once installed, after install the mod if i go to admin>modification i get this error

Fatal error: Cannot redeclare modifywatermarksettings() (previously declared in /home/shadowcr/public_html/Sources/ManageSettings.php:2208) in /home/shadowcr/public_html/Sources/ManageSettings.php on line 2316

if i uninstall i can go to admin>modification but the watermark option is still there

Because you install mod twice. You need to remove all mod code manually.

shadowcrews

please advise how can i do that ? can i attach the file here so u can have a look

please advise

Yahmez

as long as you paste the code into a code block  :P

shadowcrews

Quote from: Yahmez on September 24, 2009, 11:37:27 PM
as long as you paste the code into a code block  :P

what you mean ? in which file?

Yahmez

post up this file /home/shadowcr/public_html/Sources/ManageSettings.php
and any other files that this mod edited. Which you can find out the names of by going to where you download the mod, and click 'parse' for your version of smf... it tells you all of the manual edits that the mod does.

shadowcrews

this is the file attached and when i install it edit all this file

1.     Execute Modification     ./Sources/Display.php     Test successful
      1.    Replace    ./Sources/Display.php    Test successful
      2.    Replace    ./Sources/Display.php    Test successful
*    2.    Execute Modification    ./Sources/Admin.php    Test successful
      1.    Replace    ./Sources/Admin.php    Test successful
*    3.    Execute Modification    ./Sources/ManageSettings.php    Test successful
      1.    Replace    ./Sources/ManageSettings.php    Test successful
      2.    Add Before    ./Sources/ManageSettings.php    Test successful
*    4.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Modifications.english.php    Test successful
   5.    Execute Modification    ./Themes/default/languages/Modifications.russian.php    Skipping file
   6.    Execute Modification    ./Themes/default/languages/Modifications.russian-utf8.php    Skipping file
   7.    Execute Modification    ./Themes/default/languages/Modifications.spanish.php    Skipping file
   8.    Execute Modification    ./Themes/default/languages/Modifications.spanish-utf8.php    Skipping file
   9.    Execute Modification    ./Themes/default/languages/Modifications.french.php    Skipping file
   10.    Execute Modification    ./Themes/default/languages/Modifications.french-utf8.php    Skipping file
   11.    Execute Modification    ./Themes/default/languages/Modifications.german.php    Skipping file
   12.    Execute Modification    ./Themes/default/languages/Modifications.german-utf8.php    Skipping file
   13.    Delete File    ./Sources/Subs-Watermark.light.php    
   14.    Delete Tree    ./Watermark    

Yahmez

#72
The code is in there twice. Just to be clear do you want both instances removed or only one? In other words are you uninstalling this mod or trying to make it work?
Edit:
First attachment = no watermark code
Second attachment = one watermark code  ;)

shadowcrews

im trying to make it work, and it work perfect, you deserve a credit
thanks for being helpful

the problem solved now

samurai-lupin

Hello, this is a truely fantastic mod! I've been waiting for it for a long time. However I have one suggestion / problem:

It will watermark any uploaded picture on my forum inlcuding user avatars which have been uploaded. Also my attachment thumbnails will get watermarked.

However I think it would be better if either only watermarked the enlarged attachments or if it wa selectable which sort of attachements to be water marked.

Do you have any suggestions what I can do to only have it watermark my enlarged attachments?

Thank you!

digger

Quote from: samurai-lupin on October 16, 2009, 02:57:50 PM
It will watermark any uploaded picture on my forum inlcuding user avatars which have been uploaded. Also my attachment thumbnails will get watermarked.

Increase height and width of watermarked images in the mod settings area.

PalmBeachPreps

It doesn't watermark my SMG images, not even after clearing the cache.  In fact, I can't use the image tags anymore.

digger

Next version will watermark images in SMG.

Eclipse16V

Nice Mod

Here is an Update for the German Lang
$txt['watermark'] = 'Wasserzeichen';
$txt['watermarkEnabled'] = 'Wasserzeichen einschalten (für JPG, GIF, PNG)';
$txt['watermarkImage'] = 'Wasserzeichen Dateiname. Unterstützt werden die Formate GIF und PNG.<br />Upload dein Wasserzeichen nach /Watermark/Logo/.';
$txt['watermarkTransparency'] = 'Wasserzeichen Transparenz  (0-100). Nur für GIF Wasserzeichen.';
$txt['watermarkJpegQuality'] = 'Jpeg Qualität (0-100). Einstellung von 0 (schlechteste, kleine Files) bis 100 (beste Qualität, größere Files).';
$txt['watermarkPngCompression'] = 'Png Kompression (0-9)';
$txt['watermarkMaxHeight'] = 'Kennzeichne Bilder mit einer Höhe ab (pixels)';
$txt['watermarkMaxWidth'] = 'Kennzeichne Bilder mit einer Breite ab (pixels)';
$txt['watermarkBorder'] = 'Abstand des Wasserzeichens vom Rand (pixels)';
$txt['watermarkPosition'] = 'Wasserzeichen Position';
$txt['watermarkPositionTopLeft'] = 'Oben Links ';
$txt['watermarkPositionTopRight'] = 'Oben Rechts ';
$txt['watermarkPositionBottomLeft'] = 'Unten Links ';
$txt['watermarkPositionBottomRight'] = 'Unten Rechts ';
$txt['watermarkPositionCenter'] = 'Zentrieren';
$txt['watermarkLogoTitle'] = 'Wasserzeichen';
$txt['watermarkTestTitle'] = 'JPG Beispiel';
$txt['watermarkTestOriginal'] = 'Original größe: ';
$txt['watermarkTestWatermarked'] = 'Wasserzeichen Größe: ';
$txt['watermarkTestText'] = 'Erneuert sich die Demo nicht wenn du die Einstellungen veränderst, dann Refresh deinen Browser.';
I worked with:
SMF 2 in German

Shop:
SID Giessen

digger

Quote from: Eclipse16V on January 12, 2010, 09:08:51 AM
Nice Mod

Here is an Update for the German Lang

I will update this lang.

Advertisement: