Recount Member Posts

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

Previous topic - Next topic

Snape


Wanny

*sigh* I have the same problem as one of the people in the 1st page... the recount was applied only to some people, leaving a lot out.

When I press the button I see the screen with the progress bar, it stays at 48% for a second, then it goes back to the maintenance screen.
No messages, no confirmation, nada

Aleksi "Lex" Kilpinen

No idea why, but it does indeed look like this only goes as far as the first refresh in versions post RC3.
I tested with RC5 just now, and it did 6%, refreshed and jumped back to the maintanence section with no confirmation or anything.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Road Rash Jr.

vbgamer45, is this mod going to be updated for SMF 2.0 Final?
Never argue with an Idiot like myself, they just drag you down to their level then beat you with experience.

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

Jessica.

very useful mod. will install once I can get on my forum
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Road Rash Jr.

Never argue with an Idiot like myself, they just drag you down to their level then beat you with experience.

Aleksi "Lex" Kilpinen

Just as earlier when I tested this on my live forum, it seems to work for a while, and then just stop without any confirmation or anything... Did not work for me.  (I have a test member with manually set post count of over a thousand, and it stayed that way... )
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

vbgamer45

I checked it over again I can't find anything that looks wrong I use the same code in a couple mods.
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

Aleksi "Lex" Kilpinen

Don't know either - Don't have time to start looking in to it, but there are many people here saying the same, and I just confirmed it did it for me too...
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Road Rash Jr.

I installed it yesterday on SMF 2.0 final and it works fine for me. Mind you I don't have a lot of mods like others do that may have a conflict.
Never argue with an Idiot like myself, they just drag you down to their level then beat you with experience.

lukeren

I upgraded my 1.1.14 to a 2.0.
One member who once was an admin modified his postcount to something completely ridiculous, so I'd like to fix it.
I installed this mod, but his postcount doesn't change when I run it.

oOo--STAR--oOo

Doesn't work on my forum, SMF 2.0.1

I press to run task, gets to 8% 1st screen then returns to maintenance.
Checked members with inhuman post count, nothing changed.
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

Costner

Just to confirm also, ran, saind 24% paused, not done, then went straight back to the maintainence screen.

bfeist

Hi all,
I know this is an old thread, but I'm trying to recount member posts on a forum after deleting large parts of the subject matter.

I have many members who's profile shows a number of posts, who actually have no posts in the system  now. Here is an example: http://smf1.temac.ca/smf/index.php?action=profile;u=110

The stats say he has 1 post, but if you click "Show Posts", there are no results.

I've installed and run the mod several times. It doesn't seem to fix this. I have no other mods installed on a 2.0.5 installation.
Any suggestions?

Thanks,
Ben

bfeist

Quote from: bfeist on October 20, 2013, 10:52:48 PM
Hi all,
I know this is an old thread, but I'm trying to recount member posts on a forum after deleting large parts of the subject matter.

I have many members who's profile shows a number of posts, who actually have no posts in the system  now. Here is an example: http://smf1.temac.ca/smf/index.php?action=profile;u=110

The stats say he has 1 post, but if you click "Show Posts", there are no results.

I've installed and run the mod several times. It doesn't seem to fix this. I have no other mods installed on a 2.0.5 installation.
Any suggestions?

Thanks,
Ben

I managed to fix this myself. The mod as it stands, doesn't appear to work.
First I manually set the batch processing size limit to 500 instead of 100, this allowed the updates to run in a single refresh. This activated the mod (with multiple batches it doesn't appear to work at all).
Then I noticed that it was leaving untouched members who have existing post stats but have 0 posts at all in the forums (due to deleting multiple forums in my case). The entire way this mod works is to start with a list of users from the messages table. By definition, if a member has left no messages, their stats won't be reset to zero. To get around this I zeros all of the "posts" values in the smf_members table, then reran the modified mod to recount the stats for those who had posted.

sorensonfan41

I tried this mod out for a relatively large forum (1700+ members and over 300,000 posts) a few weeks ago and the mod stopped after a certain period of time and percentage and took me back to the maintenance page.  I checked out everything and the mod didn't fix any of the members' post counts correctly.  The forum I'm referring to is using SMF 2.0.6 and I used the latest version of the mod.

Any ideas on how to fix the problem?  Seems like it's stopping to not overload the server but instead of resuming where it left off, it terminates.

Sorunome

in order to get it work I had to replace
$context['continue_get_data'] = '?action=admin;area=maintain;sa=recountposts;start=' . $_REQUEST['start'] . ';' . $context['session_var'] . '=' . $context['session_id'];
with
$context['continue_get_data'] = '?action=admin;area=maintain;sa=routine;activity=recountposts;start=' . $_REQUEST['start'] . ';' . $context['session_var'] . '=' . $context['session_id'];
in Sources/ManageMaintenance.php

Still a awesome mod, though :)

SMFHacks.com Team

Quote from: Sorunome on June 05, 2014, 02:01:46 PM
in order to get it work I had to replace
$context['continue_get_data'] = '?action=admin;area=maintain;sa=recountposts;start=' . $_REQUEST['start'] . ';' . $context['session_var'] . '=' . $context['session_id'];
with
$context['continue_get_data'] = '?action=admin;area=maintain;sa=routine;activity=recountposts;start=' . $_REQUEST['start'] . ';' . $context['session_var'] . '=' . $context['session_id'];
in Sources/ManageMaintenance.php

Still a awesome mod, though :)

Fixed thanks for the big tip!
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

leftezi

Before i proceed to recount, i have a question:

J have some boards in my forum where posts don't count.
Will this mod take this in mind by the recounting?

Advertisement: