eFiction version: 3.4.2
Modifications: SMF bridge, UTF-8 support, tinyMCE 3
Problem:
"Archive Maintenance" > "Re-calculate Site Statistics" does not work properly.
Solution:
Replace code in adminmaintenance.php
<li><a href="'admin.php?action=maintenance&maint=panels'>"._STATS."</a>" <A HREF=""#"" class="pophelp">[?]<span>"._HELP_STATS."</span></A></li>
<li><a href="'admin.php?action=maintenance&maint=panels'>"._PANELORDER."</a>" <A HREF=""#"" class="pophelp">[?]<span>"._HELP_PANELORDER."</span></A></li>
with this:
<li><a href="'admin.php?action=maintenance&maint=stats'>"._STATS."</a>" <A HREF=""#"" class="pophelp">[?]<span>"._HELP_STATS."</span></A></li>
<li><a href="'admin.php?action=maintenance&maint=panels'>"._PANELORDER."</a>" <A HREF=""#"" class="pophelp">[?]<span>"._HELP_PANELORDER."</span></A></li>
(notice fixed link "admin.php?action=maintenance&maint=stats")
When I make the change, re-calculate site statistics doesn't work. It just says "Archive Maintenance". When I leave it as it is ("panels"), it works and says "Action is successful".
Yes, when link is set to "panels" eFiction says "Action is successful" but it perfroms wrong action and does not update statistics.
Ah I see. Yeah, for some reason had 4 series listed when I should have none.
Thanks for the correction. π Very astute
This fixed a problem I was also having. Thank you very much!
Confirmed. Will be fixed in next update.
Thanks for the heads-up on the typo. I also found that in this same file that the write output line was not include for the recalculating of stats:
Find:
dbquery("UPDATE ".TABLEPREFIX."fanfiction_news SET comments = '".$n['count']."' WHERE nid = '".$n['nid']."' LIMIT 1");
}
}
else if($maint == "panels") {
And insert:
dbquery("UPDATE ".TABLEPREFIX."fanfiction_news SET comments = '".$n['count']."' WHERE nid = '".$n['nid']."' LIMIT 1");
}
$output .= write_message(_ACTIONSUCCESSFUL);
}
else if($maint == "panels") {
This will cause "The action was successful." to print out when the action is completed.
Julieann
Running 3.4.3 bridged with SMF and Coppermine
Mods: Challenges, cpg-art (not working), Limit Summary Length, Bio to Prefs, Top 20 instead of 10
Wants: Move Betareader to Prefs, Twitter
Recalculating statistics looks to be fixed with 3.4.3. The only thing that it doesn't do when it runs is to print out the words "The action was successful.", which can be fixed with the code I posted in the above post. That part is really cosmetic anyway. At least the stats are coming out correct now. π
Julieann
Running 3.4.3 bridged with SMF and Coppermine
Mods: Challenges, cpg-art (not working), Limit Summary Length, Bio to Prefs, Top 20 instead of 10
Wants: Move Betareader to Prefs, Twitter
If I make the changes listed below, will that fix the problem with "Reviewers:" Stats.. I have to go into Archive Maintenance and recalculate my stats in order to see the correct numbers for "Reviewers:" Stats.. and after a 60 mins or so it goes back to some number that isn't correct?
eFiction version: 3.4.2
Modifications: SMF bridge, UTF-8 support, tinyMCE 3Problem:
"Archive Maintenance" > "Re-calculate Site Statistics" does not work properly.Solution:
Replace code in adminmaintenance.php<li><a href="'admin.php?action=maintenance&maint=panels'>"._STATS."</a>" <A HREF=""#"" class="pophelp">[?]<span>"._HELP_STATS."</span></A></li>
<li><a href="'admin.php?action=maintenance&maint=panels'>"._PANELORDER."</a>" <A HREF=""#"" class="pophelp">[?]<span>"._HELP_PANELORDER."</span></A></li>with this:
<li><a href="'admin.php?action=maintenance&maint=stats'>"._STATS."</a>" <A HREF=""#"" class="pophelp">[?]<span>"._HELP_STATS."</span></A></li>
<li><a href="'admin.php?action=maintenance&maint=panels'>"._PANELORDER."</a>" <A HREF=""#"" class="pophelp">[?]<span>"._HELP_PANELORDER."</span></A></li>(notice fixed link "admin.php?action=maintenance&maint=stats")
Can someone please check and see if this is still an issue with 3.5? Thank you!
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
No response... assumed solved.
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word