MyBB Community Forums

Full Version: statistics index not updated
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I noticed recently that when a user registers in the forum, he does not appear in the statistics at the bottom. In order to see who has registered, I have to go to the administration panel and regenerate the cache. I have tried going, again in the admin panel, to the server optimisation option and enabled error logging. When I go to the index page there is no error. How can I fix this?
which MyBB-version?
(2024-01-18, 06:16 PM)bv64 Wrote: [ -> ]which MyBB-version?

1.8.33.
What surprises me is that I have not had this problem before. However, I share my index_boardstats. You who are experienced can probably see if there is any error.

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$collapsedthead['boardstats']}">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.png" id="boardstats_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
{$whosonline}
{$birthdays}
{$forumstats}
<tr>
	<td class="trow1" style="text-align: left">
		<span class="smalltext">
			Legend :: <span style="color: #ffe6a8;"><strong>Administrators</strong></span>, <span style="color: #c0392b;"><strong>Moderators</strong></span>, <span style="color: #8268AF;"><strong>Historical Members</strong></span>, <span style="color: #5fb2ff;"><strong>Registered Users</strong></span>
		</span>
	</td>
</tr>
	
	<tr>
	<td class="tfoot" style="text-align: right">
		<span class="smalltext">
			{$logoutlink}
			{$statspage}
		</span>
	</td>
</tr>
</tbody>
</table>
<br />
changed to PHP8?

make Update for MyBB to 1.8.37
I will try to update. I'll tell you soon.
Anyway, yes I use php 8. I have not encountered these problems. I hope to solve them with the update
yes, this problem will be solved! and a lot more
Before doing the update, however, I would like to ask one thing. Since I have made some changes to some files (editor in post, misc.php etc), will they be completely lost if I do the update?
check if these files are in the package for 1.8.33 to 1.8.37

if they are, then your changes will be lost, but you surely made notices what you changed, so you can do them again
OK. I'm just afraid of losing the work done ehhe Big Grin
you can check the fies with WinMerge; so you can find your changes Wink

check your existing files with original files from 1.8.33
Pages: 1 2