Scheduled Maintenance: 10-11-2025 Electricity company maintenance between 09:00 and 15:00.
<span class="qte-attr qte_31_32-qte">3.1.x & 3.2.x</span>
dmzx
Founder
Posts: 6469 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 10 Sep 2015, 22:48
Extension Name: Copyright in footer
Author: dmzx
Special Thanks to: martin
Extension Description:
This extension adds copyright in footer.
dmzx/Copyright-in-footer
- Changed code for startdate.
- Twig update.
Added years active.
Code update, validation version.
Screenshot:
Extension Download:
Installation:
Download the latest release.
Unzip the downloaded release, and change the name of the folder to `copyright `.
In the `ext ` directory of your phpBB board, create a new directory named `dmzx ` (if it does not already exist).
Copy the `copyright ` folder to `/ext/dmzx/ ` if done correctly, you'll have the main extension class at
(your forum root)/ext/dmzx/copyright/composer.json
Navigate in the ACP to `Customise -> Manage extensions`
Look for `Copyright in footer ` under the Disabled Extensions list, and click its `Enable ` link.
martin
Admin
Posts: 5106 Joined: 06 Apr 2014, 16:12
Post
by martin » 11 Sep 2015, 22:05
I changed the event to overall_footer_copyright_append.html
and used this inside it
Code: Select all
<br /><br />
<script type="text/javascript">
copyright=new Date();
update=copyright.getFullYear();
document.write("{L_COPYRIGHT} {L_COPYRIGHT_YEAR} - "+ update + " <strong>{SITENAME}</strong>{L_COPYRIGHT_RESERVED}");
// End -->
</script>
nelflucifer
Users
Posts: 70 Joined: 03 Jan 2016, 12:24
Post
by nelflucifer » 19 Jan 2016, 15:00
Hello everyone! As I promised, post the translation(s):
ru.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
taledus
Users
Posts: 83 Joined: 19 Jun 2016, 05:47
Post
by taledus » 24 Jun 2016, 18:29
martin wrote: 11 Sep 2015, 22:05
i changed the event to overall_footer_copyright_append.html
and used this inside it
Code: Select all
<br /><br />
<script type="text/javascript">
copyright=new Date();
update=copyright.getFullYear();
document.write("{L_COPYRIGHT} {L_COPYRIGHT_YEAR} - "+ update + " <strong>{SITENAME}</strong>{L_COPYRIGHT_RESERVED}");
// End -->
</script>
I pasted that inside
overall_footer_copyright_append.html and this is what I am getting:
COPYRIGHT COPYRIGHT_YEAR - 2016 Underground DesignzCOPYRIGHT_RESERVED
How do I get this like here?
Copyright © 2014 - 2016 Dmzx-web.net All rights reserved
martin
Admin
Posts: 5106 Joined: 06 Apr 2014, 16:12
Post
by martin » 24 Jun 2016, 18:56
taledus
Users
Posts: 83 Joined: 19 Jun 2016, 05:47
Post
by taledus » 24 Jun 2016, 19:31
Well yes, but no. I am looking into getting just the text part so I can see about throwing in another logo. I downloaded the mod anyways, and copied the html from Inspect Element, and modified it:
Code: Select all
<script type="text/javascript">
copyright=new Date();
update=copyright.getFullYear();
document.write("Copyright © 2016 - "+ update + " <strong>{SITENAME}</strong> All rights reserved.");
</script>
That works, now I just have to put it in one of the logos
(don't even know if I am going to keep them around THB.)
martin
Admin
Posts: 5106 Joined: 06 Apr 2014, 16:12
Post
by martin » 24 Jun 2016, 19:34
Dont go over the top with it as no one ever reads a copyright
qnexo
Translators
Posts: 17 Joined: 26 Feb 2017, 04:10
Post
by qnexo » 27 Feb 2017, 03:39
French language
copyright fr.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
dmzx
Founder
Posts: 6469 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 05 Mar 2017, 10:33
First post updated.
dwattel
Users
Posts: 4 Joined: 01 Mar 2017, 09:05
Post
by dwattel » 05 Mar 2017, 13:50
Error in zip file: Bad zip header
kaspir
Users
Posts: 112 Joined: 25 Aug 2016, 12:50
Post
by kaspir » 05 Mar 2017, 14:00
martin wrote: 24 Jun 2016, 19:34
Dont go over the top with it as no one ever reads a copyright
I might have to try! I just did a :facepalm: irl when I saw this, I been using my own js for a copyright and as I look for ideas to create easy extensions, I always discover all the easy ideas are taken years ago..
Nicely done on the ext.
dmzx
Founder
Posts: 6469 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 09 Jan 2019, 09:07
First post updated
TWEagle
Users
Posts: 74 Joined: 23 Nov 2014, 20:38
Post
by TWEagle » 25 Feb 2019, 20:51
Is it also possible to collapse the copyright "block"