Welcome, Guest. Please Login or Register.
July 21, 2025, 09:09:26 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Post count when deleting threads « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Post count when deleting threads  (Read 470 times)
lordy123
Jr. Member
**
Posts: 65


I'm a llama!

Post count when deleting threads
« on: May 03, 2003, 12:47:30 PM »
Reply with quote

Why does the post count go down when deleting entire threads. This wasn't the case before!

Before, it only went down when you deleted individual posts..

Any ideas anyone? And how to fix it..?

Thanx.

ps I just noticed that this was fixed according to Sourceforge. However, I am using 1.5.2 and it still happens?  :-\ Is that correct?
« Last Edit: May 03, 2003, 01:58:51 PM by lordy123 » Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Post count when deleting threads
« Reply #1 on: May 03, 2003, 08:13:12 PM »
Reply with quote

It should only reduce post counts when removing individual posts.  Do you have any mods installed?
« Last Edit: May 03, 2003, 08:54:30 PM by David » Logged

lordy123
Jr. Member
**
Posts: 65


I'm a llama!

Re:Post count when deleting threads
« Reply #2 on: May 04, 2003, 01:53:46 PM »
Reply with quote

Hi David,
these are the changes that I've applied to by board:

- 1.5.1 final, clean install
- New IM mod to subs.php (display flashing envelope when new IM received)
- Change font colour of showYaBBinfo in admin.php from black to white
- Hide MySQL info in admin.php
- Report to mod, change to report to webmaster (subs.php and enlgish.lng)
- Don't remove old stickies, change to RemoveOldThreads.php (check for sticky thread)
- E-mail notification off by default (register.php)
- Change I am a Llama to I love LOTR UK! in english.lng
- Add more info to registration e-mail in register.php
- Disable sigs in IM view (instantmessage.php)
- Add more info to outgoing e-mails in Reminder.php and Register.php. Change Regards to Kind regards in english.lng
- Disable image tags in sigs on posts (as recommended by follow the white rabbit dude  ;D )
- Remove call to click log in index and ssi
- Apply bug fix 1
- Apply bug fix 2 = version 1.5.2

Would any of these sound like problems?  :-\
Thanx!
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Post count when deleting threads
« Reply #3 on: May 04, 2003, 02:57:36 PM »
Reply with quote

I think I posted on this before.  Somehow this got into 1.5.x..... it's easy to remove though.

RemoveThread.php
Remove:
   $request2 = mysql_query("SELECT ID_MEMBER FROM {$db_prefix}messages WHERE ID_TOPIC='$threadid';") or database_error(__FILE__, __LINE__);

And:
   while ($temp = mysql_fetch_row($request2))
      if ($temp[0] != '-1')
         $request = mysql_query("UPDATE {$db_prefix}members SET posts=posts-1 WHERE ID_MEMBER='$temp[0]';") or database_error(__FILE__, __LINE__);

-[Unknown]
Logged
lordy123
Jr. Member
**
Posts: 65


I'm a llama!

Re:Post count when deleting threads
« Reply #4 on: May 04, 2003, 06:15:23 PM »
Reply with quote

Fixed - thanx!  ;D ;D
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Post count when deleting threads « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.108 seconds with 21 queries.