I found out why.. I used to use the mod you ported this from and still had some edits left over from thatRMcGirr83 wrote:That isn't how the language is set to work.wkuzma wrote:2 Users active over the last 24 hours and 0 guests active over the last 24 hours:
https://github.com/RMcGirr83/phpBB-3.1- ... hp#L37-L45
and
https://github.com/RMcGirr83/phpBB-3.1- ... er.html#L7
so how is it possible that you have something different than from the repo?
Fixed!RMcGirr83 wrote:![]()
https://github.com/RMcGirr83/phpBB-3.1- ... er.html#L3
People shouldn't play with things that they don't know about.
Code: Select all
<!-- IF not S_IS_BOT -->
<h3 id="twentyfourhour_stats">{L_TWENTYFOURHOUR_STATS}</h3>
<p>{HOUR_POSTS} • {HOUR_TOPICS} • {HOUR_USERS}<br>
{USERS_24HOUR_TOTAL} {GUEST_ONLINE_24} {L_LAST_24_HOURS}{L_COLON} <!-- IF not USERS_ACTIVE -->{L_NO_ONLINE_USERS}<!-- ELSE --><!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->{L_COMMA_SEPARATOR} <!-- ENDIF --><!-- END lastvisit --><!-- ENDIF -->
</p>
</div>
<!-- ENDIF -->
that is the correct thingiebennybernaer wrote:Fixed!RMcGirr83 wrote:![]()
https://github.com/RMcGirr83/phpBB-3.1- ... er.html#L3
People shouldn't play with things that they don't know about.
Code: Select all
<!-- IF not S_IS_BOT --> <div class="stat-block 24stats"> <h3 id="twentyfourhour_stats">{L_TWENTYFOURHOUR_STATS}</h3> <p>{HOUR_POSTS} • {HOUR_TOPICS} • {HOUR_USERS}<br> {USERS_24HOUR_TOTAL} {GUEST_ONLINE_24} {L_LAST_24_HOURS}{L_COLON} <!-- IF not USERS_ACTIVE -->{L_NO_ONLINE_USERS}<!-- ELSE --><!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->{L_COMMA_SEPARATOR} <!-- ENDIF --><!-- END lastvisit --><!-- ENDIF --> </p> </div> <!-- ENDIF -->
Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/ext/rmcgirr83/activity24hours/event/listener.php on line 87: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5231: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3895)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5231: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3895)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5231: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3895)
Are you using the latest from github?witvisser wrote:I found a little bug in this extension.
If zero registered users visit the forum the last 24 hours, you get this warning on top of the forum:Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/ext/rmcgirr83/activity24hours/event/listener.php on line 87: Invalid argument supplied for foreach()
No they aren't hiddenirdem wrote:Very nice extension, thank you. The hidden users are hidden? i think they are not hidden when logout.
RMcGirr83,travel wrote:One question:
Where to change group permissions?
I would like to enable this extensions only for administrators.
<!-- IF not S_IS_BOT -->
<!-- IF U_ACP -->
Yes!RMcGirr83 wrote:Open the index_body_stats_block_after.html file, find this line
<!-- IF not S_IS_BOT -->
and change it to this
<!-- IF U_ACP -->
Tested again with the new files and now the error has gonewitvisser wrote:Now, because it is changed about 28 minutes ago![]()
I will upload the new files, and test it again.
I let you know if the error has gone or not