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>
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Oct 29th, '15, 22:19
Extension Name: Did You Know
Author: dmzx
Special thanks to: martin
Extension Description:
With this extension you can display texts in a small box at the top of the forum in a random order.
dmzx/Did-You-Know
Added permissions in listener
Add version check ACP
Added Hide link
Added UCP option
Screenshots:
Extension Download:
Installation:
Download the latest release.
Unzip the downloaded release, and change the name of the folder to `didyouknow `.
In the `ext ` directory of your phpBB board, create a new directory named `dmzx ` (if it does not already exist).
Copy the `didyouknow ` folder to `/ext/dmzx/ ` if done correctly, you'll have the main extension class at (your forum root)/ext/dmzx/didyouknow/composer.json
Navigate in the ACP to `Customise -> Manage extensions`
Look for `Did You Know ` 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
Nully
Users
Status:
Offline
User theme: Dark
Posts: 111 Joined: Sep 8th, '15, 10:29
Post
by Nully » Oct 30th, '15, 19:28
Do you know? I see...nothing!
I inserted 3 texts in my language...(on local host, not on my board online).
Last edited by Nully on Oct 30th, '15, 19:29, edited 1 time in total.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Nully
Users
Status:
Offline
User theme: Dark
Posts: 111 Joined: Sep 8th, '15, 10:29
Post
by Nully » Oct 31st, '15, 14:02
Yes, it works!
I thought it will be showned on index...It is, but only when click on a forum title.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Oct 31st, '15, 14:48
Nully wrote: Yes, it works!
I thought it will be showned on index...It is, but only when click on a forum title.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Null
Users
Status:
Offline
User theme: Dark
Posts: 125 Joined: Oct 9th, '15, 04:03
Post
by Null » Nov 1st, '15, 14:52
May it be disable by the user?
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Nully
Users
Status:
Offline
User theme: Dark
Posts: 111 Joined: Sep 8th, '15, 10:29
Post
by Nully » Nov 1st, '15, 17:44
No.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Null
Users
Status:
Offline
User theme: Dark
Posts: 125 Joined: Oct 9th, '15, 04:03
Post
by Null » Nov 1st, '15, 18:26
This extension is useful for begginers. After a while, should be desactivated by the user. Its useless and boring to receive same messages forever in the board, even you created 100 of them.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Nov 1st, '15, 18:42
Will take a look at UCP option.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Nov 3rd, '15, 20:30
First post updated
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Null
Users
Status:
Offline
User theme: Dark
Posts: 125 Joined: Oct 9th, '15, 04:03
Post
by Null » Nov 3rd, '15, 21:27
Great!
Maybe an option "dont show it again" in message banner too? Otherwise it will be hard to users find this option in ucp.
Last edited by Null on Nov 3rd, '15, 21:28, edited 1 time in total.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
martin
Admin
Status:
Offline
User theme: Dark
Posts: 5106 Joined: Apr 6th, '14, 14:12
Post
by martin » Nov 4th, '15, 12:14
Null wrote: Great!
Maybe an option "dont show it again" in message banner too? Otherwise it will be hard to users find this option in ucp.
Null version 1.0.2 has this demo
here your need to be logged in to see the hide.
44.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Null
Users
Status:
Offline
User theme: Dark
Posts: 125 Joined: Oct 9th, '15, 04:03
Post
by Null » Nov 4th, '15, 15:46
martin wrote: Null wrote: Great!
Maybe an option "dont show it again" in message banner too? Otherwise it will be hard to users find this option in ucp.
Null version 1.0.2 has this demo
here your need to be logged in to see the hide.
44.png
Cool! Thanks!
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Nov 4th, '15, 19:40
First post updated
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Nov 29th, '15, 12:04
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
Status:
Offline
User theme: Dark
Posts: 310 Joined: Apr 6th, '15, 16:04
Post
by Scanialady » Dec 30th, '15, 17:36
There is something missing in the acp language file
ACL_U_DID_YOU_KNOW (user roles)