Recount Member Posts

Started by SMFHacks.com Team, January 23, 2010, 09:26:57 PM

Previous topic - Next topic

SMFHacks.com Team

Link to Mod

Recount Member Posts



This mod will allow the admin to recount every members post counts back to their respective numbers. Due to a variety of mods as well as human who can manipulate members' post counts, this mod may serve many well for when they wish to reset their forums.


Thanks
Thank you for installing this mod, and don't forget to support the developer!
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

rithera


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Mace360

#3
My forum has had difficulties with this mod. It applied itself to only a handful of users, and left the vast majority with their original (altered) post count.

We had accepted post counts from a prior forum up until some time ago, and recently decided to get rid of them entirely. These "recoveries" were done over an extensive period of time, so we're confused as to how the process worked. The selection process for whose posts to remove seems haphazard at best.

Is there any way to ensure it applies universally?

edit: weee caps lock

vbgamer45

As long as it completes all the members it should do the post counts. It  does check if the posts where made in a forum that does not count posts.

Updated for SMF 2.0 RC3!
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Mace360

Quote from: vbgamer45 on March 08, 2010, 08:55:54 PM
As long as it completes all the members it should do the post counts. It  does check if the posts where made in a forum that does not count posts.

Updated for SMF 2.0 RC3!
It only did a handful, as I said. Any ideas as to why?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Mace360

Quote from: vbgamer45 on March 08, 2010, 10:26:58 PM
Did it stop and not reach 100%?
It goes to the "Not Done!" screen very briefly, then just ends. It's usually at 6% or so at the time of doing this.

vbgamer45

It just ends as in the screen is stuck? Or do you get a white page? What page does it end up on?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Bugo

Why in file installrc3.xml made this change?
<file name="$themedir/ManageMaintenance.template.php">
<operation>
<search position="after"><![CDATA[<div class="cat_bar">
<h3 class="catbg">', $txt['maintain_logs'], '</h3>
</div>]]></search>
<add><![CDATA[<div class="cat_bar">
<h3 class="catbg">', $txt['maintain_logs'], '</h3>


In my opinion, appropriate to be replaced by a variable $txt['maintain_recount_posts'], as in the file install.xml:
<file name="$themedir/ManageMaintenance.template.php">
<operation>
<search position="after"><![CDATA[<div class="cat_bar">
<h3 class="catbg">', $txt['maintain_logs'], '</h3>
</div>]]></search>
<add><![CDATA[<div class="cat_bar">
<h3 class="catbg">', $txt['maintain_recount_posts'], '</h3>


Sorry for bad English - I'm worried :)

In addition, Russian-language translation here:
this for languages-utf8.xml (encoded to UTF8 w\o BOM)
<file name="$languagedir/ManageMaintenance.russian-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[$txt['maintain_errors']]]></search>
<add><![CDATA[$txt['maintain_recount_posts'] = 'Пересчитать количество сообщений у всех пользователей';
$txt['maintain_recount_posts_info'] = 'Если общее количество сообщений какого-либо пользователя было изменено, запустите эту операцию. Будет восстановлено реальное количество сообщений.';]]></add>
</operation>
</file>


and this for languages.xml (encoded to ANSI):
<file name="$languagedir/ManageMaintenance.russian.php" error="skip">
<operation>
<search position="after"><![CDATA[$txt['maintain_errors']]]></search>
<add><![CDATA[$txt['maintain_recount_posts'] = 'Пересчитать количество сообщений у всех пользователей';
$txt['maintain_recount_posts_info'] = 'Если общее количество сообщений какого-либо пользователя было изменено, запустите эту операцию. Будет восстановлено реальное количество сообщений.';]]></add>
</operation>
</file>

Mace360

Quote from: vbgamer45 on March 12, 2010, 01:35:04 AM
It just ends as in the screen is stuck? Or do you get a white page? What page does it end up on?
It shows me the Not Done screen with the loading bar, then goes back to the page for maintenance.

Robin1989

same i just installed it and i have a few problems. 1 its labeled as a second empty out unimportant logs and 2 it does the first 3% then stops and goes back to the maintenance screen.

vbgamer45

Updated the mod with a fix that should help with that issue.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

~DS~

"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Robin1989

cool it fixed the title of it been wrong its now correctly labled but its still not going past 3%

~DS~

This doesn't work when moving database to another forum. It still have post counts from another database.

BTW...this doesn't show the green thing. :P
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

shadow82x

Stops at 1% for me too, on a big board. Please fix this.
Colin B
Former Spammer, Customize, & Support Team Member

CeFurkan

can not install at RC4

can you update the package

Lars-Christian

Quote from: CeFurkan on January 06, 2011, 10:25:22 PM
can not install at RC4

can you update the package

Just echoing this. Any chance of a working version for RC4?

Advertisement: