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>
Post Reply Previous topicNext topic
User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21: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.

User avatar

rogerio24
Users
Users
Posts: 77
Joined: 05 Jun 2016, 20: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

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Top Stats 3.2.x

Post by dmzx »

rogerio24 wrote: 15 Jan 2017, 07: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
    Windows 10 Firefox

Re: Top Stats 3.2.x

Post by Hartenheer »

Hier ben ik heel erg blij mee :thumbup:

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Top Stats 3.2.x

Post by dmzx »

Hartenheer wrote: 15 Jan 2017, 11:43 Hier ben ik heel erg blij mee :thumbup:
:thumbup:

User avatar

ZippeL
Users
Users
Posts: 20
Joined: 20 Aug 2016, 06:37
    Windows 10 Firefox

Re: Top Stats 3.2.x

Post by ZippeL »

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

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Top Stats 3.2.x

Post by dmzx »

ZippeL wrote: 15 Jan 2017, 12:13
dmzx wrote: 15 Jan 2017, 12: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.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Top Stats 3.2.x

Post by dmzx »

ZippeL wrote: 15 Jan 2017, 12:13
dmzx wrote: 15 Jan 2017, 12: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.

User avatar

rogerio24
Users
Users
Posts: 77
Joined: 05 Jun 2016, 20:18
    Android Chrome

Re: Top Stats 3.2.x

Post by rogerio24 »

dmzx wrote: 15 Jan 2017, 08:30
rogerio24 wrote: 15 Jan 2017, 07: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

User avatar

rogerio24
Users
Users
Posts: 77
Joined: 05 Jun 2016, 20:18
    Linux Firefox

Re: Top Stats 3.2.x

Post by rogerio24 »

Thanks DMZX. It worked

User avatar

raykai
Users
Users
Posts: 12
Joined: 28 Jun 2016, 08: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

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Top Stats 3.2.x

Post by dmzx »

raykai wrote: 16 Jan 2017, 00: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.

User avatar

ZippeL
Users
Users
Posts: 20
Joined: 20 Aug 2016, 06: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

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Windows 10 Chrome

Re: Top Stats 3.2.x

Post by martin »

Post your fix for others.
Image

User avatar

cov182004
Users
Users
Posts: 66
Joined: 06 Aug 2015, 20: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

Post Reply Previous topicNext topic