[3.3][RC] Stats On Index - phpBB Extension

Extensions for phpBB 3.3.X
Maintained and supported by Stoker

Re: [EXT] Stats On Index

Post by flumsi »

Dies gehört mitlerweilen zum guten Ton in phpbb3, danke für die Aufmerksamkeit ;)

Stats On Index - phpBB Extension

Post by romaamor »

There is a conflict with the Newest members extension from dmzx/newestmembers.

Stats On Index - phpBB Extension

Post 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

Post 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

Post by romaamor »

Stoker wrote: 08 Jun 2025, 18:29 I havent testet it
It doesn't work.

Stats On Index - phpBB Extension

Post 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
You do not have the required permissions to view the files attached to this post.

Stats On Index - phpBB Extension

Post by romaamor »

Now it works without errors. Thank you.

Stats On Index - phpBB Extension

Post by SpIdErPiGgY »

I added some emoji and css.

2025-06-16 03 47 52.jpg
Mobile view
2025-06-16 03 48 13.jpg

1.0.4
stokerstatsindex.zip
You do not have the required permissions to view the files attached to this post.
Last edited by SpIdErPiGgY on 16 Jun 2025, 16:25, edited 5 times in total.

Stats On Index - phpBB Extension

Post by Stoker »

Its kind of messy on mobiles.
I have this custom code in responsive here.
Screenshot_20250610_122056_Chrome.jpg
You do not have the required permissions to view the files attached to this post.

Stats On Index - phpBB Extension

Post 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