3.2 & 3.3 Extensions Database 3.2 / 3.3Milestones

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6485
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Milestones

Post by dmzx »

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:
Image

Image

Image

Extension Download:
Download-link
Milestones v1.0.4
Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `milestones`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. 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
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Milestones` under the Disabled Extensions list, and click its `Enable` link.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

zardos
Users
Users
Status: Offline
User theme: Dark
Posts: 175
Joined: Feb 26th, '16, 22:20
    Windows 10 Firefox

Re: Milestones

Post by zardos »

Great ext, Thanks :thumbup: :thumbup:
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6485
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Milestones

Post by dmzx »

First post updated

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

zardos
Users
Users
Status: Offline
User theme: Dark
Posts: 175
Joined: Feb 26th, '16, 22:20
    Windows 10 Firefox

Re: Milestones

Post by zardos »

:thumbup: :thumbup:

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

iorG19
Translators
Translators
Status: Offline
User theme: Dark
Posts: 60
Joined: Dec 10th, '14, 20:50
    Windows 10 Chrome

Re: Milestones

Post by iorG19 »

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 ?
Image Some [romanian] and [spanish] translations of extensions.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5123
Joined: Apr 6th, '14, 14:12
    Ubuntu Chrome

Re: Milestones

Post by martin »

The toggle will work any where if you wrap your code in the toggle code. :whistl:
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

iorG19
Translators
Translators
Status: Offline
User theme: Dark
Posts: 60
Joined: Dec 10th, '14, 20:50
    Windows 10 Chrome

Re: Milestones

Post by iorG19 »

martin wrote: Dec 20th, '16, 20:16 The toggle will work any where if you wrap your code in the toggle code. :whistl:
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)
:wall:

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6485
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Milestones

Post by dmzx »

First post updated.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Scanialady
Users
Users
Status: Offline
User theme: Dark
Posts: 310
Joined: Apr 6th, '15, 16:04
    Windows 10 Chrome

Re: Milestones

Post by Scanialady »

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.
-
If you want to get German translations for extensions: ask me.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

kaspir
Users
Users
Status: Offline
User theme: Dark
Posts: 112
Joined: Aug 25th, '16, 10:50
    Windows 7 Firefox

Re: Milestones

Post by kaspir »

Can this ext be used without a github account? Basically used for private site milestones?
Image
World of Phaos RPG online is making it's come back! Play free now!
Check out phpBB contributions & extension downloads. :P

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6485
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Milestones

Post by dmzx »

kaspir wrote: Feb 3rd, '17, 11: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?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

kaspir
Users
Users
Status: Offline
User theme: Dark
Posts: 112
Joined: Aug 25th, '16, 10:50
    Windows 7 Firefox

Re: Milestones

Post by kaspir »

dmzx wrote: Feb 3rd, '17, 16:29
kaspir wrote: Feb 3rd, '17, 11: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.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Solidjeuh
Users
Users
Status: Offline
User theme: Dark
Posts: 348
Joined: Dec 13th, '14, 01:40
    Windows 10 Firefox

Re: Milestones

Post by Solidjeuh »

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 :eyes2:
Tried on all styles..

:wall:
Forum voor NL Extensie vertalingen ---> https://www.supportforum.be
----------------------------------------------------------------------------

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

eunaumtenhoid
Users
Users
Status: Offline
User theme: Dark
Posts: 67
Joined: Oct 14th, '16, 03:10
    Windows 10 Chrome

Re: Milestones

Post by eunaumtenhoid »

* Brazilian Portuguese translation by eunaumtenhoid (c) 2018 [ver 1.0.2]
https://github.com/phpBBTraducoes/milestones

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Solidjeuh
Users
Users
Status: Offline
User theme: Dark
Posts: 348
Joined: Dec 13th, '14, 01:40
    Windows 10 Firefox

Re: Milestones

Post by Solidjeuh »

This extension is not working when this extension is enabled: dmzx/newestmembers
Can you please take a look at that?

:oops: