Web based family history software

Question [SOLVED] Custom Watermark

  • vdrumsroland
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 7 months ago #1 by vdrumsroland
Custom Watermark was created by vdrumsroland
I tried searching but came up empty handed. Is there a way to have a custom watermark or a way to change the current watermark? Currently, it uses only the main website (not the entire site, www.website.com/folder ) and the title. I would like to update this to say either the full site name or another name, or update the title without updating the actual title. Something like, Copyrighted website.com.

Thanks in advance!

Please Log in or Create an account to join the conversation.

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
4 years 7 months ago #2 by bertkoor
Replied by bertkoor on topic Custom Watermark
The magic is done in mediafirewall.php in the root folder. You can change $word1_text on line 68 and $word2_text on line 81.
github.com/fisharebest/webtrees/blob/74a...firewall.php#L68-L81

What exactly to put there depends on your actual requirements, but something like this is a start:
Code:
$word1_text = 'Custom tree title'; ... $word2_text = 'copyright website.com';

stamboom.BertKoor.nl runs on webtrees v1.7.13

Please Log in or Create an account to join the conversation.

  • vdrumsroland
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 7 months ago #3 by vdrumsroland
Replied by vdrumsroland on topic Custom Watermark

bertkoor wrote: The magic is done in mediafirewall.php in the root folder. You can change $word1_text on line 68 and $word2_text on line 81.
github.com/fisharebest/webtrees/blob/74a...firewall.php#L68-L81

What exactly to put there depends on your actual requirements, but something like this is a start:

Code:
$word1_text = 'Custom tree title'; ... $word2_text = 'copyright website.com';


Thank you!
So I did what you said. The changes didn't take for some reason. Is there something I need to do other than clearing browser cache? Sorry to be so ignorant.

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #4 by fisharebest
Replied by fisharebest on topic Custom Watermark
The files with watermarks are stored on the server.

e.g. in /data/media/..../watermarks

Delete them, and they will be re-created with the new watermark.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • vdrumsroland
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #5 by vdrumsroland
Replied by vdrumsroland on topic [SOLVED] Custom Watermark
Problem solved.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago - 4 years 2 months ago #6 by nuxiong
Replied by nuxiong on topic Custom Watermark
Hello,bertkoor, how to customize watermark in 2.0
Last edit: 4 years 2 months ago by nuxiong.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #7 by fisharebest
Replied by fisharebest on topic Custom Watermark

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Moderators: makitso
Powered by Kunena Forum
}