| Author |
Topic Search Topic Options
|
Supremo
Groupie
Joined: 08 August 2002
Location: Portugal
Status: Offline
Points: 59
|
Post Options
Thanks(0)
Quote Reply
Topic: Post deleting, lowers post count Posted: 15 December 2003 at 12:38pm |
Hi, i'm not sure if this should go to the mod forum or not, but here goes...
I have a lot of information on our discussion board (spread over several forums) and i'd like to delete it... no problem so far, problem is, by doing so, i'm gonna lower the post count of many ppl, which for some (many) is a problem 
Can there be a way of doing so, without affecting the post count ?
Thx in advance for any help
Edited by Supremo
|
Onix Webmaster
Onix (Online Gaming Community)
www.onix.ws
|
 |
thekiwi
Mod Builder Group
Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 December 2003 at 1:12pm |
Supremo wrote:
Hi, i'm not sure if this should go to the mod forum or not, but here goes...
I have a lot of information on our discussion board (spread over several forums) and i'd like to delete it... no problem so far, problem is, by doing so, i'm gonna lower the post count of many ppl, which for some (many) is a problem 
Can there be a way of doing so, without affecting the post count ?
Thx in advance for any help
|
The quickest way is to edit delete_post.asp and at line 197 change
'decrement the number of posts by 1 lngNumOfPosts = lngNumOfPosts - 1
to be
'decrement the number of posts by 1 lngNumOfPosts = lngNumOfPosts
Edited by thekiwi
|
|
|
 |
wistex
Mod Builder Group
Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 December 2003 at 8:02pm |
|
I thought Borg built in some way to delete posts without reducing people's post count. I remember it being talked about.
|
|
|
 |
Supremo
Groupie
Joined: 08 August 2002
Location: Portugal
Status: Offline
Points: 59
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 December 2003 at 8:38pm |
thekiwi wrote:
The quickest way is to edit delete_post.asp and at line 197 change
'decrement the number of posts by 1 lngNumOfPosts = lngNumOfPosts - 1
to be
'decrement the number of posts by 1 lngNumOfPosts = lngNumOfPosts
|
Yup this works, but the problem is it only works for deleting a post at a time... my forum has hundreds of posts...
Our users have posted 3002 Posts in 188 Topics
It's impossible, one at a time, perhaps the place to edit this when a thread is deleted, or a forum or something ?
|
Onix Webmaster
Onix (Online Gaming Community)
www.onix.ws
|
 |
thekiwi
Mod Builder Group
Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 December 2003 at 8:44pm |
Yup .... you can do this for deleting a topic as well
delete_topic.asp change line 170 to be lngNumOfPosts = lngNumOfPosts
From the looks of things delete_group and delete_forum dont change the PostCount
Edited by thekiwi
|
|
|
 |
wistex
Mod Builder Group
Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 December 2003 at 9:23pm |
|
That's what I thought. If you use the mass delete posts in the admin area, it doesn't reduce the post count. That is what Borg changed. In previous versions it did change the post count. Now it doesn't.
|
|
|
 |
Supremo
Groupie
Joined: 08 August 2002
Location: Portugal
Status: Offline
Points: 59
|
Post Options
Thanks(0)
Quote Reply
Posted: 17 December 2003 at 9:26am |
Well, the mass deletion doesn't change post count by default. And implementing thekiwi tips, post deletion and thread deletion also don't change post count, i take it as this is enough 
Problem solved, thx folks, let this thread be as is, for those who want this feature.
|
Onix Webmaster
Onix (Online Gaming Community)
www.onix.ws
|
 |