Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Post deleting, lowers post count
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Post deleting, lowers post count

 Post Reply Post Reply
Author
Supremo View Drop Down
Groupie
Groupie


Joined: 08 August 2002
Location: Portugal
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote Supremo Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 15 December 2003 at 1:12pm
Originally posted by Supremo 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
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Supremo View Drop Down
Groupie
Groupie


Joined: 08 August 2002
Location: Portugal
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote Supremo Quote  Post ReplyReply Direct Link To This Post Posted: 15 December 2003 at 8:38pm
Originally posted by thekiwi 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
Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Supremo View Drop Down
Groupie
Groupie


Joined: 08 August 2002
Location: Portugal
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote Supremo Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.