Advertisement:

Author Topic: Watermark  (Read 69652 times)

Offline sparty

  • Semi-Newbie
  • *
  • Posts: 38
Re: Watermark.light
« Reply #60 on: September 24, 2009, 05:50:06 AM »
Thats just the thing , Mine is not there ?? See attached pics. Its def installed , anyone ? Please help if possible.

Offline shadowcrews

  • Semi-Newbie
  • *
  • Posts: 54
Re: Watermark.light
« Reply #61 on: September 24, 2009, 10:44:11 PM »
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

Offline digger

  • Sr. Member
  • ****
  • Posts: 761
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Watermark.light
« Reply #62 on: September 24, 2009, 10:59:38 PM »
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

Offline shadowcrews

  • Semi-Newbie
  • *
  • Posts: 54
Re: Watermark.light
« Reply #63 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

Offline digger

  • Sr. Member
  • ****
  • Posts: 761
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Watermark.light
« Reply #64 on: September 24, 2009, 11:23:30 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.

Offline shadowcrews

  • Semi-Newbie
  • *
  • Posts: 54
Re: Watermark.light
« Reply #65 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

Offline digger

  • Sr. Member
  • ****
  • Posts: 761
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Watermark.light
« Reply #66 on: September 24, 2009, 11:34:37 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.

Offline shadowcrews

  • Semi-Newbie
  • *
  • Posts: 54
Re: Watermark.light
« Reply #67 on: September 24, 2009, 11:35:45 PM »
please advise how can i do that ? can i attach the file here so u can have a look

please advise

Offline Yahmez

  • Sr. Member
  • ****
  • Posts: 798
  • -_-
Re: Watermark.light
« Reply #68 on: September 24, 2009, 11:37:27 PM »
as long as you paste the code into a
Code: [Select]
code block  :P

Offline shadowcrews

  • Semi-Newbie
  • *
  • Posts: 54
Re: Watermark.light
« Reply #69 on: September 24, 2009, 11:38:51 PM »
as long as you paste the code into a
Code: [Select]
code block  :P

what you mean ? in which file?

Offline Yahmez

  • Sr. Member
  • ****
  • Posts: 798
  • -_-
Re: Watermark.light
« Reply #70 on: September 24, 2009, 11:42:01 PM »
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.

Offline shadowcrews

  • Semi-Newbie
  • *
  • Posts: 54
Re: Watermark.light
« Reply #71 on: September 24, 2009, 11:46:07 PM »
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    

Offline Yahmez

  • Sr. Member
  • ****
  • Posts: 798
  • -_-
Re: Watermark.light
« Reply #72 on: September 24, 2009, 11:51:51 PM »
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  ;)
« Last Edit: September 25, 2009, 12:05:11 AM by Yahmez »

Offline shadowcrews

  • Semi-Newbie
  • *
  • Posts: 54
Re: Watermark.light
« Reply #73 on: September 25, 2009, 01:23:09 AM »
im trying to make it work, and it work perfect, you deserve a credit
thanks for being helpful

the problem solved now

Offline samurai-lupin

  • Full Member
  • ***
  • Posts: 522
Re: Watermark.light
« Reply #74 on: October 16, 2009, 02:57:50 PM »
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!

Offline digger

  • Sr. Member
  • ****
  • Posts: 761
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Watermark.light
« Reply #75 on: October 16, 2009, 03:27:27 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.

Offline PalmBeachPreps

  • Jr. Member
  • **
  • Posts: 169
  • Gender: Male
    • Palm Beach Preps
Re: Watermark.light
« Reply #76 on: October 23, 2009, 03:17:46 AM »
It doesn't watermark my SMG images, not even after clearing the cache.  In fact, I can't use the image tags anymore.

Offline digger

  • Sr. Member
  • ****
  • Posts: 761
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Watermark.light
« Reply #77 on: December 06, 2009, 09:57:24 PM »
Next version will watermark images in SMG.

Offline Eclipse16V

  • Sophist Member
  • *****
  • Posts: 1,070
  • Gender: Male
  • Tornado Map
    • Eclipse16V on Facebook
    • @Eclipse16V on Twitter
    • Tornado Map
Re: Watermark.light
« Reply #78 on: January 12, 2010, 09:08:51 AM »
Nice Mod

Here is an Update for the German Lang
Code: [Select]
$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

My Shop:
Das Lieschen

Offline digger

  • Sr. Member
  • ****
  • Posts: 761
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Watermark.light
« Reply #79 on: January 12, 2010, 09:23:08 AM »
Nice Mod

Here is an Update for the German Lang

I will update this lang.