Page 2 of 3

Re: [EXT] Stats On Index

Posted: 01 Apr 2025, 15:25
by flumsi
Dies gehört mitlerweilen zum guten Ton in phpbb3, danke für die Aufmerksamkeit ;)

Stats On Index - phpBB Extension

Posted: 08 Jun 2025, 18:16
by romaamor
There is a conflict with the Newest members extension from dmzx/newestmembers.

Stats On Index - phpBB Extension

Posted: 08 Jun 2025, 18:18
by Stoker
Its because I set the NEWEST_USER to false and create a new.
You can move the html from the other extension into the Stats index template/event html file

Stats On Index - phpBB Extension

Posted: 08 Jun 2025, 18:29
by Stoker
Open ext\stoker\indexstats\styles\all\template\event\index_body_stat_blocks_after.html
Find: {% if SOI_NEWEST_USER %}{SOI_NEWEST_USER}<br />{% endif %}<br />
Replace with: {% if SOI_NEWEST_USER %}{SOI_NEWEST_USER}{% endif %}<!-- BEGIN newestmembers --><!-- IF newestmembers.S_ROW_COUNT > 0 -->{L_COMMA_SEPARATOR} <!-- ENDIF --> <strong>{newestmembers.NEWESTMEMBERS}</strong><!-- END newestmembers --><br /><br />

I havent testet it

Stats On Index - phpBB Extension

Posted: 09 Jun 2025, 05:20
by romaamor
Stoker wrote: 08 Jun 2025, 18:29 I havent testet it
It doesn't work.

Stats On Index - phpBB Extension

Posted: 09 Jun 2025, 07:24
by Stoker
The fix for newest members in Stats on Index

Open: ext\stoker\indexstats\styles\all\template\event\index_body_stat_blocks_after.html
Find: {% if SOI_NEWEST_USER %}{SOI_NEWEST_USER}<br />{% endif %}
Replace with:

Code: Select all

{L_NEWESTMEMBERS_TEXT}{L_COLON}<!-- BEGIN newestmembers --><!-- IF newestmembers.S_ROW_COUNT > 0 -->{L_COMMA_SEPARATOR} <!-- ENDIF --> <strong>{newestmembers.NEWESTMEMBERS}</strong><!-- END newestmembers --><br />
Open: /ext/dmzx/newestmembers/styles/prosilver/theme/newestmembers.css
Find and delete: display: none;

Save files, upload and purge cache

Result:
Screenshot(1).png

Stats On Index - phpBB Extension

Posted: 09 Jun 2025, 13:34
by romaamor
Now it works without errors. Thank you.

Stats On Index - phpBB Extension

Posted: 09 Jun 2025, 17:37
by SpIdErPiGgY
I added some emoji and css.

Stats On Index - phpBB Extension

Posted: 10 Jun 2025, 10:22
by Stoker
Its kind of messy on mobiles.
I have this custom code in responsive here.
Screenshot_20250610_122056_Chrome.jpg

Stats On Index - phpBB Extension

Posted: 10 Jun 2025, 16:36
by SpIdErPiGgY
Stoker wrote: 10 Jun 2025, 10:22 Its kind of messy on mobiles.
I have this custom code in responsive here.
Yes you are correct. I've updated the files
viewtopic.php?p=20167#p20167