Modifying Post Count [message #1311] |
Thu, 04 April 2002 23:27 |
BugLaden
Messages: 216 Registered: February 2002 Location: Westminster, MD
Karma: 0
|
Senior Member |
|
|
Is there a way to modify a user's post count? I brought my users over from another forum, and would like them to retain their post counts.
I tried to simply modify the table, but as soon as I upgraded, the post counts were put back to normal.
Thanks!
-=BugLaden
|
|
|
Re: Modifying Post Count [message #1312 is a reply to message #1311] |
Thu, 04 April 2002 23:41 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
BugLaden wrote on Thu, 04 April 2002 6:27 PM | Is there a way to modify a user's post count? I brought my users over from another forum, and would like them to retain their post counts.
I tried to simply modify the table, but as soon as I upgraded, the post counts were put back to normal.
Thanks!
|
The consistency checker will always restore the post counts to their actual #s when it is run. You have several alternatives at your finger tips for this problem.
1st you can write an importer to import old messages into FUDforum you're running this not only retain the user post counts but the old messages as well.
2nd you can create a VERY simple script that you can add to the end of consistency checker that will add post counts to users of your old forum. This can be done in about 5 lines of PHP code.
FUDforum Core Developer
|
|
|