3.2.x Extensions Database 3.2 / 3.3Top Stats 3.2.x

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
Previous topicNext topic
[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

Top Stats 3.2.x

Post by dmzx »

Extension Name: Top Stats
Author: dmzx

Special thanks to: martin

Extension Description:
The Top Stats extension displays some cool stats on your forum index.

dmzx/phpBB-3.2-Top-Stats


- Changed code for Collapsible Categories 2.
- Twig update.


Code update

Screenshots:
Image

Image

Extension Download:
Download-link
Top Stats v1.0.2
Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `topstats`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `topstats` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/topstats/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Top Stats` 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

rogerio24
Users
Users
Status: Offline
User theme: Dark
Posts: 77
Joined: Jun 5th, '16, 18:18
    Linux Firefox

Re: Top Stats 3.2.x

Post by rogerio24 »

It has been installed without any problem but only work when the user is logged?
Is there a way to enable this for whole users? (no logged and logged)
Thanks

[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: Top Stats 3.2.x

Post by dmzx »

rogerio24 wrote: Jan 15th, '17, 06:29 it has been installed without any problem but only work when the user is logged?
Is there a way to enable this for whole users? (no logged and logged)
Thanks
Yes you have to remove the <!-- IF S_USER_LOGGED_IN --> and the last <!-- ENDIF --> in recent_active_body.html and top_stats_body.html

These lines:

https://github.com/dmzx/phpBB-3.2-Top-S ... dy.html#L1
https://github.com/dmzx/phpBB-3.2-Top-S ... .html#L289
https://github.com/dmzx/phpBB-3.2-Top-S ... dy.html#L1
https://github.com/dmzx/phpBB-3.2-Top-S ... .html#L105

And clear cache.


Hartenheer
Status: Offline
User theme: Dark
    Windows 10 Firefox

Re: Top Stats 3.2.x

Post by Hartenheer »

Hier ben ik heel erg blij mee :thumbup:

[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: Top Stats 3.2.x

Post by dmzx »

Hartenheer wrote: Jan 15th, '17, 10:43 Hier ben ik heel erg blij mee :thumbup:
:thumbup:

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

ZippeL
Users
Users
Status: Offline
User theme: Dark
Posts: 20
Joined: Aug 20th, '16, 04:37
    Windows 10 Firefox

Re: Top Stats 3.2.x

Post by ZippeL »

dmzx wrote: Jan 15th, '17, 11:08 :thumbup:
Are you check my petition (Top Stats)
+ I can see post from forums wich locked by password.. it's a very bad :/

[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: Top Stats 3.2.x

Post by dmzx »

ZippeL wrote: Jan 15th, '17, 11:13
dmzx wrote: Jan 15th, '17, 11:08 :thumbup:
Are you check my petition (Top Stats)
+ I can see post from forums wich locked by password.. it's a very bad :/
Yes will have a look into this.

[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: Top Stats 3.2.x

Post by dmzx »

ZippeL wrote: Jan 15th, '17, 11:13
dmzx wrote: Jan 15th, '17, 11:08 :thumbup:
Are you check my petition (Top Stats)
+ I can see post from forums wich locked by password.. it's a very bad :/
See PM.

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

rogerio24
Users
Users
Status: Offline
User theme: Dark
Posts: 77
Joined: Jun 5th, '16, 18:18
    Android Chrome

Re: Top Stats 3.2.x

Post by rogerio24 »

dmzx wrote: Jan 15th, '17, 07:30
rogerio24 wrote: Jan 15th, '17, 06:29 it has been installed without any problem but only work when the user is logged?
Is there a way to enable this for whole users? (no logged and logged)
Thanks
Yes you have to remove the <!-- IF S_USER_LOGGED_IN --> and the last <!-- ENDIF --> in recent_active_body.html and top_stats_body.html

These lines:

https://github.com/dmzx/phpBB-3.2-Top-S ... dy.html#L1
https://github.com/dmzx/phpBB-3.2-Top-S ... .html#L289
https://github.com/dmzx/phpBB-3.2-Top-S ... dy.html#L1
https://github.com/dmzx/phpBB-3.2-Top-S ... .html#L105

And clear cache.
Hi.
Thanks for your answer. In the next version could you add the option if we want to show this to whole users or not?
Thanks

[ Post made via Android ] Image

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

rogerio24
Users
Users
Status: Offline
User theme: Dark
Posts: 77
Joined: Jun 5th, '16, 18:18
    Linux Firefox

Re: Top Stats 3.2.x

Post by rogerio24 »

Thanks DMZX. It worked

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

raykai
Users
Users
Status: Offline
User theme: Dark
Posts: 12
Joined: Jun 28th, '16, 06:24
    Windows 10 Chrome

Re: Top Stats 3.2.x

Post by raykai »

Thx for the mod :)
Just letting you guys know that there is a error in v1.0.0 in the en language file

in the file topstats > language > en > info_acp_topstats.php

line 43:

Code: Select all

 'LOG_TS_SETTINGS'			=> '<strong>Top Stats configugrations changed</strong>',
the word configugrations should be configurations

[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: Top Stats 3.2.x

Post by dmzx »

raykai wrote: Jan 15th, '17, 23:37 Thx for the mod :)
Just letting you guys know that there is a error in v1.0.0 in the en language file

in the file topstats > language > en > info_acp_topstats.php

line 43:

Code: Select all

 'LOG_TS_SETTINGS'			=> '<strong>Top Stats configugrations changed</strong>',
the word configugrations should be configurations
Will be adjusted in next version.

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

ZippeL
Users
Users
Status: Offline
User theme: Dark
Posts: 20
Joined: Aug 20th, '16, 04:37
    Windows 10 Firefox

Re: Top Stats 3.2.x

Post by ZippeL »

Hi, can you help me with integration your mod with Topic Preview :question:
I use vse\topicpreview

P.S. and I've a problem with div height in different browsers. fixed

[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
    Windows 10 Chrome

Re: Top Stats 3.2.x

Post by martin »

Post your fix for others.
Image

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

cov182004
Users
Users
Status: Offline
User theme: Dark
Posts: 66
Joined: Aug 6th, '15, 18:19
    Windows 10 Chrome

Re: Top Stats 3.2.x

Post by cov182004 »

I have this problem when trying to enable the ext. I deleted all previous versions but still have a problem

Image

Previous topicNext topic