<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
dmzx Online
Founder
Posts: 6466 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 03 Nov 2016, 20:56
Extension Name: Milestones
Author: dmzx
Special thanks to: martin
Extension Description:
Adds phpBB Milestones to your forum.
phpBB version: >=3.2.0-a1
- Code update.
- Code cleanup.
- Code update.
- Twig update.
Code update
Added ACP option to add more milestones
Code update
Screenshots:
Extension Download:
Installation:
Download the latest release.
Unzip the downloaded release, and change the name of the folder to `milestones `.
In the `ext ` directory of your phpBB board, create a new directory named `dmzx ` (if it does not already exist).
Copy the `milestones ` folder to `/ext/dmzx/ ` if done correctly, you'll have the main extension class at
(your forum root)/ext/dmzx/milestones/composer.json
Navigate in the ACP to `Customise -> Manage extensions`
Look for `Milestones ` under the Disabled Extensions list, and click its `Enable ` link.
zardos
Users
Posts: 175 Joined: 26 Feb 2016, 23:20
Post
by zardos » 04 Nov 2016, 23:16
Great ext, Thanks
dmzx Online
Founder
Posts: 6466 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 06 Nov 2016, 19:02
First post updated
zardos
Users
Posts: 175 Joined: 26 Feb 2016, 23:20
Post
by zardos » 06 Nov 2016, 20:13
iorG19
Translators
Posts: 60 Joined: 10 Dec 2014, 21:50
Post
by iorG19 » 20 Dec 2016, 21:12
How to view/expanded the block by default ??? It's there possible to show anywhere else than (footer) board index ? For example in to a custom page ?
martin
Admin
Posts: 5105 Joined: 06 Apr 2014, 16:12
Post
by martin » 20 Dec 2016, 21:16
The toggle will work any where if you wrap your code in the toggle code.
iorG19
Translators
Posts: 60 Joined: 10 Dec 2014, 21:50
Post
by iorG19 » 20 Dec 2016, 21:40
martin wrote: 20 Dec 2016, 21:16
The toggle will work any where if you wrap your code in the toggle code.
i don't know if the sorted order is here :
Find This may be a partial find and not the whole line Code: Select all
<script>
var repositories = [
<!-- BEGIN milestones -->
{"id": "{milestones.MILESTONES_TEXT}", "path": "{milestones.MILESTONES}"},
<!-- END milestones -->
];
var showText = '{LA_MILESTONES_VIEW}';
var hideText = '{LA_MILESTONES_HIDE}';
</script>
Replace with Replace the preceding lines with the following Code: Select all
<script>
var repositories = [
<!-- BEGIN milestones -->
{"id": "{milestones.MILESTONES_TEXT}", "path": "{milestones.MILESTONES}"},
<!-- END milestones -->
];
var hideText = '{LA_MILESTONES_HIDE}';
var showText = '{LA_MILESTONES_VIEW}';
</script>
or here:
toogle.js
Find This may be a partial find and not the whole line Code: Select all
jQuery(function(){$(document).ready(function(){$('.toggle').prev().append(' <a href="#" class="toggleLink">'+showText+'</a>');$('.toggle').prev().data('is_visible',true);$('.toggle').hide();$('a.toggleLink').click(function(){$(this).data('is_visible',!$(this).data('is_visible'));$(this).html((!$(this).data('is_visible'))?showText:hideText);$(this).parent().next('.toggle').toggle(500);return false;});});});
In line find This is a partial match of a line for in-line operations Code: Select all
.append(' <a href="#" class="toggleLink">'+showText+'</a>');$('.toggle').prev().data('is_visible',true)
In line replace with Code: Select all
.append(' <a href="#" class="toggleLink">'+showText+'</a>');$('.toggle').prev().data('is_visible',false)
dmzx Online
Founder
Posts: 6466 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 07 Jan 2017, 20:03
First post updated.
Scanialady
Users
Posts: 310 Joined: 06 Apr 2015, 18:04
Post
by Scanialady » 20 Jan 2017, 17:31
German language files [DE]
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
kaspir
Users
Posts: 112 Joined: 25 Aug 2016, 12:50
Post
by kaspir » 03 Feb 2017, 12:49
Can this ext be used without a github account? Basically used for private site milestones?
dmzx Online
Founder
Posts: 6466 Joined: 13 Jan 2014, 21:45
Post
by dmzx » 03 Feb 2017, 17:29
kaspir wrote: 03 Feb 2017, 12:49
Can this ext be used without a github account? Basically used for private site milestones?
It takes the data from github milestones.
To show them you dont need an account on github or do you mean something else?
kaspir
Users
Posts: 112 Joined: 25 Aug 2016, 12:50
Post
by kaspir » 04 Feb 2017, 09:46
dmzx wrote: 03 Feb 2017, 17:29
kaspir wrote: 03 Feb 2017, 12:49
Can this ext be used without a github account? Basically used for private site milestones?
It takes the data from github milestones.
To show them you dont need an account on github or do you mean something else?
Thanks D! You answered it.
Solidjeuh
Donator
Posts: 348 Joined: 13 Dec 2014, 02:40
Post
by Solidjeuh » 28 Oct 2017, 22:42
This extension works on my 3.2.1 test board.
But on my live board, it
wont show.. Enabled, cleared cache.. nothings works.
Milestone extension totally invisible
Tried on all styles..
Forum voor NL Extensie vertalingen ---> https://www.supportforum.be
----------------------------------------------------------------------------
Solidjeuh
Donator
Posts: 348 Joined: 13 Dec 2014, 02:40
Post
by Solidjeuh » 15 Feb 2018, 01:42
This extension is not working when this extension is enabled:
dmzx/newestmembers
Can you please take a look at that?